Thank you for purchasing through links and ads on this site.
OWC / MacSales.com...
diglloyd Deal Finder...
Buy other stuff at Amazon.com...
Memory Deals, Thunderbolt Drives, Performance Upgrades, and More
GET THE BEST DEALS
Top deals pages updated daily for Sony, Nikon, Canon, Apple, many more!
Instant rebates, Black Friday deals, etc
OWC Thunderbolt 3 Dock
Must-have expansion for iMac/MacBook Pro/Mac mini
Thunderbolt 3 • USB 3 • USB-C • Gigabit Ethernet • Dual Thunderbolt 3 Ports
4K Support • Mini Display Port • Analog sound in/out • Optical sound out
Works on any Mac with Thunderbolt 3


Optimizing Handbrake for Faster Video Conversion

Last updated 2010-09-02 - Send Feedback
Related: optimization, software, video

Handbrake converts DVD video to formats that can be played on the computer, the iPod/iPad/etc or any conventional player.

While Handbrake makes far better usage of multiple cores than most programs, it doesn’t scale much beyond 9 cores (as of August 30, 2010). Perhaps a future release will address this limitation.

This approach makes sense on the 12-core Mac Pro, with its ample CPU core reserves. It will likely show little or no advantage on 4-core machines, or might even be slower (not investigated, an exercise for the reader).

Shown below are timed results encoding the same four movies totaling about 3 hours of video, using these settings. The faster results for each Mac Pro used two copies of the Handbrake application running at the same time. Surprisingly, even the 6-core machine benefits from this approach, though not as much.

For a big queue of jobs, the 26% time savings is very attractive (640 vs 874).

Results will vary somewhat with the settings and material chosen for conversion, but both the 12-core and 6-core Mac Pro show clear benefits; 28% for the 12-core and 12% for the 6-core.

With dual apps, the 12-core machine cuts the runtime by 40% as compared to the 6-core.

Two Handbrake applications simultaneous compared to one.
Using the Handbrake beta build as of August 30, 2010.

How to do it

Here’s how:

  1. Duplicate the Handbrake application;
  2. Launch both copies of Handbrake;
  3. Add video to be converted to the queue in each Handbrake program, balancing the material between them so that both queues have approximately the same work to be processed.
  4. Start both copies running.
Deals Updated Daily at B&H Photo
View BEST Deals Right Now

CPU core usage

Shown below are two copies of Handbrake running simultaneously on the 12-core.

This is what you want to see on a 12-core system. The less than helpful display of all 24 virtual cores suggests that there is untapped CPU power, but that’s not really true; there are twelve hardware cores, and they are being fully used; virtual cores (hyperthreading) are slightly better than useless.

CPU core usage with Handbrake, two applications simultaneously
2010 Mac Pro 12-core @ 3.33GHz

Settings

Settings used for encoding the video.

Setting used for testing Handbrake
Deals Updated Daily at B&H Photo
View BEST Deals Right Now
B&H Deal ZoneDeals by Brand/Category/Savings
Deals expire in 23 hours unless noted. Certain deals may last longer.
$797 SAVE $350 = 30.0% $59 FREE ITEMS Nikon D5600 DSLR with 18-55mm and 70-300mm Lenses in Cameras: DSLR
$1099 SAVE $300 = 21.0% $249 FREE ITEMS Sigma 70-200mm f/2.8 EX DG APO OS HSM in Lenses: DSLR
$3498 SAVE $1000 = 22.0% Sony a9 Mirrorless in Cameras: Mirrorless

diglloyd.com | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2008-2017 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__