Badaboom: A Full Test of Elemental's GPU Accelerated H.264 Transcoder
- Posted in
- GPUs
What about Performance?
If you can find a source file that Badaboom will accept and transcode fine, the process is pretty quick.
The first test I ran was to convert Chapter 3 of Bad Boys on DVD to a 5Mbps VBR .mp4 file using the Xbox 360 profile. I upscaled the video to 1280 x 720.
The Core 2 Quad Q6600 completed the test in 245 seconds using the x264 codec, outputting a file that was similar in size and quality to what Badaboom managed (the file was a bit smaller 109MB vs. 116MB and the quality a bit better).
The entry level and midrange 8/9 series GPUs couldn’t actually do much better. The GeForce 9500 GT was actually slower, as were the 8500 GT and the 8600 GTS. The GeForce 8800 GT changed things though, at 103 seconds it encoded the test in less than half the time. NVIDIA’s fastest, the GeForce GTX 280 managed it in just over 60 seconds.
Next I tried outputting a lower resolution file for use on an iPhone, encoded at 1.5Mbps. Despite the default resolution being 480 x 320 the actual output resolution was 480 x 272:
The file outputted was obviously smaller at 35MB and the time to transcode went down significantly. Now our Q6600 took 36.5 seconds and the 8800 GT’s advantage was cut down, it ended up being only about 7 seconds faster (or about 28%). The GTX 280 still pulled ahead, processing the encode in just under 19 seconds.
What this chart shows is that the load on the GPU varies, much as it does in 3D games, depending on what we're doing. Just as higher resolutions tend to be more GPU bound than CPU bound, it would seem that smaller, simpler content at lower transcoding bitrates don't show as big of an advantage. The benefit of GPU accelerated transcoding is clear, but the performance gains will vary depending on the load.
For the final test I repeated the iPhone conversion but instead of only converting Chapter 3 of the DVD I selected the first ten chapters:
In the 5Mbps Xbox 360 test the GeForce GTX 280 ended up being around 3.5x faster than the Core 2 Quad Q9450, in the single-chapter iPhone test the advantage was reduced to 2.1x and here we find that the gap grows slightly to 2.2x but still not quite as high as the original test. It's looking like a range of 2 - 4x the speed of a reasonably fast quad-core CPU is what we can expect from Badaboom if you use NVIDIA's fastest GPU.
If you look at a more reasonably priced GPU, the 9800 GTX ends up being around 2 - 3x faster than the same quad-core CPU. The value of the entry level GPUs isn't that great unless you've got a dual-core CPU, otherwise quad-core chips will be able to encode faster and with better quality.
Next up I wanted to see how fast of a CPU we needed to keep the GeForce GTX 280 fed in its most CPU-bound test, the single-chapter iPhone conversion:
This graph should make NVIDIA pretty happy, you only really need a Core 2 Duo E4500 to keep the GTX 280 fed resulting in performance better than any quad-core Intel CPU can offer. The upside to GPU accelerated video transcode is huge, we just need a better app to deliver it.
Originally published at https://www.anandtech.com/show/2586 (Wayback Machine).