[FFmpeg-user] Turn Off Multi-Threading
h.reindl at thelounge.net
Wed Jul 31 00:30:51 CEST 2013
Am 30.07.2013 23:47, schrieb James Board:
>> Everything else except select filter that you use (but you did not mentioned it)
>> can be multithreaded: decoders, encoders, and other filters (but not
>> select one).
> I'm not using any other filters. Anyway, does anyone know
> how to turn off multi-threading? I tried "-threads 1" and
> I see see CPU usage at almost 200 percent for ffmpeg
please post complete command line if you
want help instead "i did this and that"
the params for the encoding are *before* the output file
ffmpeg -i "test.m4v" -y -f 'mp4' -vcodec 'libx264' -vb '1024k' -maxrate '4048k' -bufsize '30M' -acodec 'aac'
-strict '-2' -ab '128k' -profile 'main' -threads 1 "out.mp4"
is clearly *one* CPU, in this case H264 main with internal AAC encoder
ffmpeg-2.0 here and "-threads" works since years (0.6 or so)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 263 bytes
Desc: OpenPGP digital signature
More information about the ffmpeg-user