News for hackers. Stuff that matters.
Re:FFmpeg is getting better with multithreaded transcoding p... by t43562 on Monday November 06, 2023 @06:34AM (#38161221)
His work is not primarily about multithreading but about cleaning up ffmpeg to be true to its own architecture so that normal human beings have a chance of being able to maintain it. Things like making data flow one way in a pipeline, separating public and private state and having clearly defined interfaces.

Things had got so bad that every change was super difficult to make.

Multithreading comes out as a natural benefit of the cleanup.

Re:FFmpeg is getting better with multithreaded transcoding p... by pjc50 on Monday November 06, 2023 @06:51AM (#38161344)
^ This: I just spent the ~20 minutes necessary to watch that part of the talk at a reasonable 1.5x speed, and that's the summary. Ffmpeg was suffering from 20 years of incremental change and lack of cleanup/refactoring, and that's what he's spent two years doing.

A couple of great lines including "my test for deprecating an option is if it's been broken for years and nobody is complaining, then definitely nobody is using it".

Re:FFmpeg is getting better with multithreaded transcoding p... by andrewstuart on Monday November 06, 2023 @07:04AM (#38161453)
I often look for obscure options to get specialists tasks done in all sorts of software.

Better to fix the option.

Just because I didn’t go to the very significant effort of complaining doesn’t mean I didn’t want and burn hours trying to use that option.

Re:FFmpeg is getting better with multithreaded transcoding p... by pjc50 on Monday November 06, 2023 @07:14AM (#38161534)
The verdict of the presentation was that many options are (bad) duplicates of the filter graph, and you should configure the software through the filter graph.

We saw in openssl what the consequences of never removing any code for decades were. It has a real cost.

Always a case-by-case decision, though.

Re:FFmpeg is getting better with multithreaded transcoding p... by Zagitta on Monday November 06, 2023 @07:15AM (#38161542)
You can't expect open source developers to be omniscient and know you want to use a specific feature if you don't communicate that to them. Would you rather have them add telemetry?
Re:FFmpeg is getting better with multithreaded transcoding p... by johnmaguire on Monday November 06, 2023 @01:20PM (#38166463)
Fixing the option takes time and expertise, as well as an idea of what users actually are trying to do.

If you don't give feedback to developers, how do you expect them to know you wanted to use the option?

Better to remove a broken feature than let users burn hours futilely trying to make it work.

Re:FFmpeg is getting better with multithreaded transcoding p... by smcnally on Tuesday November 07, 2023 @12:42AM (#38173665)
And “the most-popular encoder on at least two planets” as Mars Rover Perseverance runs it.

https://www.reddit.com/r/space/comments/lpz3l7/the_mars_2020...