[FFmpeg-user] How to optimize transcoding cpu usage

Reindl Harald h.reindl at thelounge.net
Fri May 31 16:10:45 CEST 2013



Am 31.05.2013 15:41, schrieb Rala Wa:
> I am also surprised by the cpu usage of this command line. With a 8 cores X3450, this 
> command line use 30% on all cores. When I add 3 outputs the cpu usage increase slightly 
> but ffmpeg is not able to do 25 fps transcoding and then I see buffering on the output 
> streams. I tried to nice ffmpeg but It is not better. I hoped to encode more streams 
> with this CPU.

what do you want?
more cpu usage or less?

"I tried to nice ffmpeg" and "I hoped to encode more streams
with this CPU" is the exactly opposite!

with "-threads 1" you would only use one core
with "-threads 8" you would have 8 parallel encodings

but however, not all an be encoded in parallel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20130531/09f58534/attachment.asc>


More information about the ffmpeg-user mailing list