[FFmpeg-user] -threads 1 seems not work

Paul B Mahol onemda at gmail.com
Mon Sep 12 11:55:41 EEST 2022


On 9/12/22, Cecil Westerhof via ffmpeg-user <ffmpeg-user at ffmpeg.org> wrote:
> For a certain conversion I use '-threads 1'. As I understand it ffmpeg
> should then only use one CPU. I see that the CPU usage is lower as
> without this parameter, but it goes up to 180%. So clearly it is using
> at least two CPU's.
> Or am I understanding this parameter wrongly?
>
> I am using ffmpeg version 4.3.4-0+deb11u1. (Debian always lags a
> little bit behind to be more stable.)
>

threads can be used for input decoding, output encoding and filtering.

You need to use threads = 1 for all 3 of them.

> --
> Cecil Westerhof
> Senior Software Engineer
> LinkedIn: http://www.linkedin.com/in/cecilwesterhof
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-user mailing list