FFmpeg – Default Number of Threads Used

ffmpeg

I see that there's a -threads <count> command line option in ffmpeg. What is the default value of this option?

Best Answer

it depends on codec used, ffmpeg version and your CPU core count. Sometimes it's simply one thread per core. Sometimes it's more complex like:

With libx264 it is cores x 1.5 for frame threads and cores x 1 for slice threads.

Related Question