[FFmpeg-user] High CPU utilization in FFmpeg 5.0.1 compared to FFmpeg 4.3 for all media conversions

Reindl Harald h.reindl at thelounge.net
Tue Jul 12 10:13:22 EEST 2022

Am 12.07.22 um 08:21 schrieb Kousthu Gangarapu:
> After installing the latest FFmpeg 5.0.1 from 4.3, I am seeing increased
> Avg CPU Utilization and increased number of threads for the same workload
> compared to FFmpeg v4.3.
> *Specifically,*
> 1. Increased Avg CPU utilization upto 15% - compared to version 4.3 for the
> same workload.
> 2. Increase in the number of threads per ffmpeg process by 3x - compared to
> version 4.3 for the same type of media conversion workload
> *My query:*
> 1. Is this expected? If yes, any specific reason? If not, any
> configuration/tuning to be done?
> 2. Is there a way we can tune ffmpeg to reduce the CPU & thread counts back
> to v4.3 levels?

well, it simply makes sense to use CPU resources when available - 
normally you use "nice" for priorities and be happy that your CPU isn't 
lying unused around

-threads 0 (optimal)
-threads 1 (single-threaded)
-threads 2 (2 threads)

More information about the ffmpeg-user mailing list