News for hackers. Stuff that matters.
Re:FFmpeg by Example by Philpax on Tuesday January 14, 2025 @08:11PM (#42706157)
Hate to be that guy, but which LLM was doing the generation? GPT-4 Turbo / Claude 3.x have not really let me down in generating ffmpeg commands - especially for basic requests - with most of their failures resulting from domain-specific vagaries that an expert would need to weigh in on m
Re:FFmpeg by Example by th0ma5 on Tuesday January 14, 2025 @08:52PM (#42706419)
Hate to be that guy, but which model works without fail for any task that ffmpeg can do?
Re:FFmpeg by Example by iameli on Tuesday January 14, 2025 @09:04PM (#42706483)
"Writing working commands first try for every single ffmpeg feature that exists" is the highest bar I've ever heard of, I love it. I'm gonna start listing it as a requirement on job postings. Like an ffmpeg speedrun.
Re:FFmpeg by Example by MzxgckZtNqX5i on Wednesday January 15, 2025 @03:48AM (#42708777)
Obligatory xkcd: https://xkcd.com/1168/.
Re:FFmpeg by Example by hk__2 on Wednesday January 15, 2025 @04:11AM (#42708927)
To be fair `tar` is quite easy to use once you understand the grammar of the options.
Re:FFmpeg by Example by th0ma5 on Wednesday January 15, 2025 @01:59PM (#42715410)
Yes and every failure of a product turns into a support ticket.
Re:FFmpeg by Example by Philpax on Tuesday January 14, 2025 @09:09PM (#42706515)
I don't think there's a single human on or outside of this planet that can meet that requirement, but Claude has been pretty good to me. It's certainly a much better starting point than pouring over docs and SO posts.
Re:FFmpeg by Example by th0ma5 on Wednesday January 15, 2025 @02:00PM (#42715420)
In my experience you still get a lot of stuff that used to work or stuff that it just makes up.
Re:FFmpeg by Example by bloqs on Tuesday January 14, 2025 @09:17PM (#42706563)
This doesnt exist in reality so in one sense, you could challenge the relevance
Re:FFmpeg by Example by th0ma5 on Wednesday January 15, 2025 @02:01PM (#42715443)
I think in the non LLM world though you at least have the trail of documentation you can unwind once you're in a bind. I don't care for prompt-a-mole fighting.
Re:FFmpeg by Example by AuryGlenz on Wednesday January 15, 2025 @03:02AM (#42708504)
I know I struggled on getting a good command to “simply” make the videos from my Z8 smaller (in file size).

Usually the color was wrong and I don’t care enough to learn about colorspaces to figure out how to fix it and it’s utterly insane how difficult it is even with LLMs.

Just reencode it as is but a little more lossy. Is that so hard?

Re:FFmpeg by Example by latexr on Wednesday January 15, 2025 @05:44AM (#42709493)
Handbrake may be a better option for you. I find that for some tasks it’s not only simpler but straight up works better than FFmpeg.

https://handbrake.fr/docs/en/latest/cli/cli-options.html

Re:FFmpeg by Example by resonious on Tuesday January 14, 2025 @09:39PM (#42706688)
GPT-4
Re:FFmpeg by Example by Philpax on Tuesday January 14, 2025 @10:23PM (#42706955)
Fair enough. If you remember what you were testing with, I'd love to try it again to see if things are better now.
Re:FFmpeg by Example by Over2Chars on Tuesday January 14, 2025 @10:34PM (#42707018)
You have a fair point. Some LLMs are better at some tasks, and prompts can make a difference no doubt.

Perhaps at some point there will be a triage LLM to slurp up the problem and then decide which secondary LLM is most optimal for that query, and some tertiary LLMs that execute and evaluate it in a virtual machine, etc.

Maybe someday

Re:FFmpeg by Example by NavinF on Tuesday January 14, 2025 @11:02PM (#42707185)
Oh I talked to some guys who started a company that does that. This was at an AI meetup in SF last year. They were mainly focused on making $/token cheaper by directing easy/dumb queries to smaller dumber models, but it also increases output quality because some models are just better at certain things. I'm sure all the big companies already have implementations of this by now even if they don't use it everywhere
Re:FFmpeg by Example by Over2Chars on Tuesday January 14, 2025 @11:47PM (#42707425)
I was suggesting optimizing for answer quality, but optimizing for cost might be useful too I suppose for "business innovation" purposes.
Re:FFmpeg by Example by jazzyjackson on Friday January 17, 2025 @02:24PM (#42742233)
Yes they are called routers. One is https://withmartian.com/