[FFmpeg-user] maximum of cpus or threads supported in on decoding

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Dec 17 22:43:27 EET 2019

Am Di., 17. Dez. 2019 um 21:23 Uhr schrieb heyufei2008 at outlook.com
<heyufei2008 at outlook.com>:

> Does ffmpeg's h264 decoder supports decoing with more than 64 cpus, say 72 cpus ?
> In windows, there are 2 processor groups, each with 36 cpus when there are 72 cpus.
> The code in ffmpeg
> MAX_THREADS is defined as 64  in frame_thread_encoder.c
> #define MAX_THREADS 64

Please test if raising this number has a positive effect on decoding time
(I doubt it), another question is if it helps with encoding.

Carl Eugen

More information about the ffmpeg-user mailing list