NVIDIA’s cutting-edge CUDA tech is cool, and it’s been talking about throughout the internet. Also it’s attractive to us, we started cuda working from the start of the year. After a period of hard working, we finally successfully integrated it into MediaCoder, it’s very awsome. We can’t wait to annouce it and publish the test report.

The report mainly compares transcoding performance between CUDA-accelerated H.264 and X264. There are two parts, one is performance on HD encoding, the other is on low resolution encoding.

Test platform:   CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5200+

GPU: NVIDIA GeForce 9600 GT

Memory: DDR2 2G

Source video: transformer.mov preview clip (1920X800), details as fowllowing:

1. Test one: HD encoding(output: 1920X800)

CUDA H264 encoding result

video info get from MediaInfo:

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.0
Format settings, CABAC           : Yes
Format settings, ReFrames        : 2 frames
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 2mn 16s
Bit rate mode                    : Variable
Bit rate                         : 4 801 Kbps
Maximum bit rate                 : 14.7 Mbps
Width                            : 1 920 pixels
Height                           : 800 pixels

X264 result

video info get from MediaInfo:
Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.0
Format settings, CABAC           : Yes
Format settings, ReFrames        : 2 frames
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 2mn 16s
Bit rate mode                    : Variable
Bit rate                         : 4 808 Kbps
Nominal bit rate                 : 5 000 Kbps
Maximum bit rate                 : 14.8 Mbps
Width                            : 1 920 pixels
Height                           : 800 pixels

2. Test two: low resolution encoding(output: 480X272)

CUDA H.264 Result

x264 Result

Conclusion: Generally, CUDA H.264 Encoder is superior to x264 Encoder on my platform(midrange NV GPU and midrange dual-core CPU). Especially doing HD transcoding, CUDA H.264 Encoder is 3~4 times as faster as X264 encoder.