It’s nuts to think that in the near future LLM will be able to do that refactoring in seconds. All we need is enough context window.
FFmpeg lands CLI multi-threading as its "most complex refactoring" in decades
21–30 of 186 posts
Re: FFmpeg lands CLI multi-threading as its "most complex refactoring" in decades
#22Earlier quoted context omitted.
I guess it's irrelevant for Netflix then*. But it sounds great for the remaining 99.99%. * I would be very surprised if Netflix even uses vanilla ffmpeg
> But it sounds great for the remaining 99.99%. I believe the vast majority of ffmpeg usages are web services, or one off encodings.
Subjectively, me compressing my holiday video is much more important than Netflix re-compressing a million of them.
Re: FFmpeg lands CLI multi-threading as its "most complex refactoring" in decades
#23It’s nuts to think that in the near future LLM will be able to do that refactoring in seconds. All we need is enough context window.
The trick to this is continuous iteration and feedback. It's remarkable how far I've gotten with GPT using these simple primitives and I know I'm not the only one.
Re: FFmpeg lands CLI multi-threading as its "most complex refactoring" in decades
#24When I stream 4k from my laptop ffmpeg gets very intense about cpu usage to the point fans are constantly at high speed and it's distracting. I hope this helps in some way. I have a fairly decent specces mid-tier laptop.
Re: FFmpeg lands CLI multi-threading as its "most complex refactoring" in decades
#25Meanwhile, I've been enjoying threaded filter processing in VapourSynth for nearly a decade. Not that this isn't great. Its fantastic. But TBH its not really going to change my workflow of VapourSynth preprocessing + av1an encoding for "quality" video encodes.
How come it only has 4 measly entries in HN, and none got any traction. I've posted a new entry, just for the curiosity of others.
Re: FFmpeg lands CLI multi-threading as its "most complex refactoring" in decades
#26Earlier quoted context omitted.
FFMPEG does so much more than just video encoding. I use ffmpeg all day every day, and only a fraction of the time do I actually make a video.
Like what do you do?
ffmpeg -v quiet -f data -i file.txt -map 0:0 -c text -f data -Re: FFmpeg lands CLI multi-threading as its "most complex refactoring" in decades
#27Earlier quoted context omitted.
FFMPEG does so much more than just video encoding. I use ffmpeg all day every day, and only a fraction of the time do I actually make a video.
Like what do you do?
Re: FFmpeg lands CLI multi-threading as its "most complex refactoring" in decades
#28Earlier quoted context omitted.
Like what do you do?
One can use it instead of cat to display text files. Easy syntax to remember. ffmpeg -v quiet -f data -i file.txt -map 0:0 -c text -f data -
Re: FFmpeg lands CLI multi-threading as its "most complex refactoring" in decades
#29Earlier quoted context omitted.
Curious, what would that many ffmpeg processes be doing at Netflix? I assume new VOD content gets encoded once per format, and the amount of new content added per day is not gigantic. Agree with the general premise, of course, if I've got 10 different videos encoding at once then I don't need additional efficiency because the CPU's already maxed out.
I assume they re-compress for each resolution / format, quite possibly they also have different bitrate levels per resolution. Potentially even variants tweaked for certain classes of device (in cases this is not already covered by combination of format/resolution/bitrate). I would also assume they re-compress with new advances in video processing (things like HDR, improved compression). Also, their devs likely want…
(Plus a couple more "legacy" encodes with PIFF instead of CENC for ancient devices, probably.)
New tech advances, sure, they probably do re-encode everything sometimes - even knocking a few MB off the size of a movie saves a measurable amount of $$ at that scale. But are there frequent enough tech advances to do that more than a couple of times a year..? The amount of difficult testing (every TV model group from the past 10 years, or something) required for an encode change is horrible. I'm sure they have better automation than anyone else, but I'm guessing it's still somewhat of a nightmare.
Youtube, OTOH, I really can imagine having thousands of concurrent ffmpeg processes.
Re: FFmpeg lands CLI multi-threading as its "most complex refactoring" in decades
#30It’s nuts to think that in the near future LLM will be able to do that refactoring in seconds. All we need is enough context window.
Why on earth would you possibly think that?