Media encoding and editing
x264 HD benchmark
This benchmark tests performance with one of the most popular H.264 video encoders, the open-source x264. The results come in two parts, for the two passes the encoder makes through the video file. I've chosen to report them separately, since that's typically how the results are reported in the public database of results for this benchmark. These scores come from the newer, faster version 0.59.819 of the x264 executable.


If you want to encode video quickly, a cheap dual-core processor definitely isn't the way to go. You're vastly better off with a Core 2 Quad Q8400 or its rival, the Phenom II X4 940, which is a little quicker in both tests. Of course, with price as no object, the best option is the Core i7-975 Extremeor perhaps more than one CPU. If you want to see something really cool, have a look at the dual-socket Nehalem systems reaching into the 50 to 60 FPS range in the more broadly multithreaded second pass of this process.
Windows Media Encoder x64 Edition video encoding
Windows Media Encoder is one of the few popular video encoding tools that uses four threads to take advantage of quad-core systems, and it comes in a 64-bit version. Unfortunately, it doesn't appear to use more than four threads, even on an eight-core system. For this test, I asked Windows Media Encoder to transcode a 153MB 1080-line widescreen video into a 720-line WMV using its built-in DVD/Hardware profile. Because the default "High definition quality audio" codec threw some errors in Windows Vista, I instead used the "Multichannel audio" codec. Both audio codecs have a variable bitrate peak of 192Kbps.


Among the value dual-cores and the mid-range quad cores, the AMD processors prove to be a little faster here.
Windows Media Encoder video encoding

Roxio VideoWave Movie Creator

I'm not a big fan of WorldBench's video encoding tests, with aren't as multithreaded as real video encoding apps tend to be these days. I've included them for the sake of completeness.
LAME MT audio encoding
LAME MT is a multithreaded version of the LAME MP3 encoder. LAME MT was created as a demonstration of the benefits of multithreading specifically on a Hyper-Threaded CPU like the Pentium 4. Of course, multithreading works even better on multi-core processors. You can download a paper (in Word format) describing the programming effort.
Rather than run multiple parallel threads, LAME MT runs the MP3 encoder's psycho-acoustic analysis function on a separate thread from the rest of the encoder using simple linear pipelining. That is, the psycho-acoustic analysis happens one frame ahead of everything else, and its results are buffered for later use by the second thread. That means this test won't really use more than two CPU cores.
We have results for two different 64-bit versions of LAME MT from different compilers, one from Microsoft and one from Intel, doing two different types of encoding, variable bit rate and constant bit rate. We are encoding a massive 10-minute, 6-second 101MB WAV file here.


The performance differences between the CPUs here are pretty minor. This is, though, one more example where fewer cores and higher clock speeds win out.
| Friday night topic: The trouble with Best Buy | 143 |