FFmpeg Lands CLI Multi-Threading As Its "Most Complex Refactoring" In Decades

ono@lemmy.ca to Free and Open Source Software@beehaw.org – 102 points –
FFmpeg Lands CLI Multi-Threading As Its "Most Complex Refactoring" In Decades
phoronix.com
4

🤖 I'm a bot that provides automatic summaries for articles: ::: spoiler Click here to see the summary The long-in-development work for a fully-functional multi-threaded FFmpeg command line has been merged!

FFmpeg is widely-used throughout many industries for video transcoding and in today's many-core world this is a terrific improvement for this key open-source project.

The patches include adding the thread-aware transcode scheduling infrastructure, moving encoding to a separate thread, and various other low-level changes.

Change the main loop and every component (demuxers, decoders, filters, encoders, muxers) to use the previously added transcode scheduler.

There's a recent presentation on this work by developer Anton Khirnov.

It's terrific seeing this merged and will be interesting to see the performance impact in practice.


Saved 54% of original text. :::