Introduction - accelerating your encoding on multiple core mac and windows workstations

Accelerating Encoding on Multiple Core Workstations

In December, 2008, I reviewed a number of streaming video encoders, and one of the tested criteria was encoding speed. Fortunately, I had some pretty peppy hardware around, specifically two dual processor, quad-core systems, one a 2.8 GHz Hewlett Packard xw6600 with 3 GB of RAM running Windows XP, and the other a 3.2 GHz Apple Mac Pro with 8 MB of RAM running Leopard.

To get a complete picture of encoding performance, I decided to test both single and five file encodes for VC-1, H.264 and VP6. One surprising early result was how inefficiently most encoding tools utilized the eight cores available to them when used in their default configuration. For example, only one tool, Canopus ProCoder, encoded multiple files simultaneously. The rest encoded them serially.

With some codecs, like H.264, this wasn’t too bad, because a glance at Windows Task Manager or Apple Activity Monitor revealed decent processor utilization, say in the 30-50% range depending upon the program. For VP6 encoding, however, no tool other than ProCoder ever utilized more than one of the eight available processor cores, leading to glacial multiple file encoding times.

For example, on the HP workstation, it took ProCoder 11:56 (min:sec) to render five one-minute test files into VP6 format, while On2 Flix Pro took 48:10 and Sorenson Squeeze took 50:40. On the slightly faster Mac computer, it took Compressor 32:20 to complete the same task via Flix Exporter, while Squeeze took 43:30.

Naturally, I started wondering whether these tools could work more efficiently on a multiple core system. So, I started checking user forums and blogs and other articles and here’s what I found, neatly divided into Windows and Macintosh results.

First let me tell you the bad news. If you’re encoding with Adobe Media Encoder (CS3 or CS4, Mac or Windows) or Telestream Episode Pro (Mac or Windows), you’ll find no joy below – I couldn’t find any way to accelerate the performance of these apps. Second, for the most part, the techniques that I discuss below accelerate multiple file encoding, not single file encoding. The exception is the technique I used to improve performance with Apple Compressor, which accelerates multiple file encodes and some single file encodes.

About Jan Ozer

Avatar photo
I help companies train new technical hires in streaming media-related positions; I also help companies optimize their codec selections and encoding stacks and evaluate new encoders and codecs. I am a contributing editor to Streaming Media Magazine, writing about codecs and encoding tools. I have written multiple authoritative books on video encoding, including Video Encoding by the Numbers: Eliminate the Guesswork from your Streaming Video (https://amzn.to/3kV6R1j) and Learn to Produce Video with FFmpeg: In Thirty Minutes or Less (https://amzn.to/3ZJih7e). I have multiple courses relating to streaming media production, all available at https://bit.ly/slc_courses. I currently work as www.netint.com as a Senior Director in Marketing.

Check Also

NAB Session on AI in Video Streaming

Like most encoding professionals, I’ve followed AI-related streaming advancements for the last few years. I’m …

Technical Emmy won by NETINT.

Jan Ozer Becomes Unrestricted Free Agent

Watch out Saquon! Sorry for the spring training, pre-combine sports reference, but it seems appropriate.  …

Rating techniques that cut bandwidth costs.

Five Codec-Related Techniques to Cut Bandwidth Costs

The mandate for streaming producers hasn’t changed since we delivered RealVideo streams targeted at 28.8 …

Leave a Reply

Your email address will not be published. Required fields are marked *