Feature #23

Upgrading ffmepg to use multithreading

Added by anonymous - over 3 years ago. Updated over 2 years ago.

Status:Closed Start Date:
Priority:Normal Due date:
Assigned to:Adrian Stutz % Done:

0%

Category:video_output
Target version:undetermined

Description

There is a newer ffmepg version out there which supports multithreading for h.264 video. The latest VLC uses it.
Especially when playing 1080p movies only one core does not suffice. My machine is a 2.2GHz Core 2 Duo MBP with 4GB RAM running Leopard and when playing a high bitrate movies like the h.264 version of 秒速5センチメートル aka “5 Centimeters per second” the one processor core just does not cut it. With subs enabled it gets even worse and a/v delays of 4 seconds make it unwatchable.

Thanks for the great project!

History

Updated by Adrian Stutz over 3 years ago

  • Status changed from New to Closed
  • 1 set to worksforme

The mplayer binary that is bundled with MPlayerOSX is built from the most recent SVN at the day of release, including the most recent SVN of ffmpeg.

Testing some of the HD h.264 videos I have, rev7 seems to distributing the load evenly over my four cores.

As far as I know, ffmpeg doesn't have real multithreading for h.264 decoding but only slice-based multithreading, which requires slice-encoded h.264 files.

Also available in: Atom PDF