[FFmpeg-devel] [PATCH v3] ffmpeg CLI multithreading

Anton Khirnov anton at khirnov.net
Wed Dec 6 22:29:23 EET 2023


Also, the numbers I'm seeing on my 16-core Ryzen 9 5950X are quite
different:
* 5.0, your command:    speed=3.25e+03x
* 5.0, filter_complex:  speed=5.29e+03x
* 5.1, your command:    speed=3.2e+03x
* 5.1, filter_complex:  speed=5.2e+03x
* 6.0, your command:    speed=2.44e+03x
* 6.0, filter_complex:  speed=3.44e+03x
* 6.1, your command:    speed=1.31e+03x
* 6.1, filter_complex:  speed=4.06e+03x
* threading, your command:    speed=3e+03x
* threading, filter_complex:    speed=4.1e+03x

So while there is a drop from 5.0 to post-threading, it is not as
dramatic, and threading is actually faster than 6.1.

And finally you can get at least an order of magnitude faster by using a
larger frame size.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list