[FFmpeg-user] FFmpeg CPU usage
jpboard2 at yahoo.com
Tue Aug 13 18:36:27 CEST 2013
>> I have a huge number of videos to transcode. The quality of the
>> videos vary from low to medium. DVD quality is probably the highest
>> quality. I have ffmpeg and libx264 compiled with pthreads and I use
>> -threads 0 in my call to ffmpeg but I'm still not seeing 100% usage
>> on all the cores. I need to maximize cpu usage since I'm not trying
>> to transcode videos for a month straight.
Also, if you have far more videos than CPU cores, you will be far
better off, assuming you have enough disk bandwidth, by running
a single encode of a single video on each core, and encoding multiple
videos concurrently. I've done this and the limiting factor for me
is disk I/O.
More information about the ffmpeg-user