[FFmpeg-user] Threads for H264 Encode.

Reindl Harald h.reindl at thelounge.net
Wed Apr 25 14:33:13 EEST 2018

Am 25.04.2018 um 13:20 schrieb Vittalprasad:
> I tried FFMPEG x264 to encode YUV contents, here encoding shared across all
> available threads, but i would like specify only one thread for that
> encoding job. please let me know the correct command.
> i tried below command which has no effect on thread control.
> time ./ffmpeg  -f rawvideo -pix_fmt yuv420p -s:v 1920x1080 -r 30 -i
> test.yuv -c:v h264 -profile:v baseline -r 30  test.mp4 -threads 1
take care where you put your params

More information about the ffmpeg-user mailing list