News for hackers. Stuff that matters.
Re:Show HN: WTFfmpeg by Ameo on Wednesday July 23, 2025 @01:47AM (#44656049)
This has to be at least the fifth LLMpeg I've seen posted to hacker news in the past few months.

This whole repo is a single 300 LoC Python file over half of which is the system prompt and comments. It's not even a fine-tuned model or something, it's literally just a wrapper around llama-cpp with a very basic prompt tacked on.

I'm sure it's potentially useful and maybe even works, but I'm really sick of seeing these extremely low-effort projects posted and upvoted over and over.

Re:Show HN: WTFfmpeg by N_Lens on Wednesday July 23, 2025 @03:55AM (#44656767)
At this rate one could probably automate the low effort project -> HN post pipeline
Re:Show HN: WTFfmpeg by wolletd on Wednesday July 23, 2025 @05:33AM (#44657290)
Using yet another LLM to generate the project code!
Re:Show HN: WTFfmpeg by jagged-chisel on Wednesday July 23, 2025 @05:33AM (#44657292)
Hmm … {thinking face emoji}

{money-mouth face emoji}

Re:Show HN: WTFfmpeg by dylan604 on Wednesday July 23, 2025 @09:40AM (#44659144)
{Eye roll emoji}

How many Show HN have we seen of low effort genAI image tools that are less capable and less in every way than the umpteengillion previous versions of a genAI tool? People use the Show HN like it's their parent's refrigerator to hang their preschool art looking for validation or something. If anyone was looking to hire someone in AI, would you see one of these subpar projects from a Show HN and think that's someone you would be interested in working with?

Re:Show HN: WTFfmpeg by larodi on Wednesday July 23, 2025 @03:24AM (#44656599)
I bet it is very often that people upvote based on the title and perhaps comments, not the actual content or its utility. Besides, this karma business can really get one hooked as a sucker for the high grade…
Re:Show HN: WTFfmpeg by do_not_redeem on Wednesday July 23, 2025 @01:51AM (#44656063)
It was vibe coded too, the doc comments and pokemon try-catch are dead giveaways. It's a slop wrapper around a slop generator to farm github stars. Welcome to the future.
Re:Show HN: WTFfmpeg by xhrpost on Wednesday July 23, 2025 @05:17AM (#44657193)
> pokemon try-catch

I've seen LLM's do this in other languages as well but didn't realize there was a term for it. Wrapping entire function bodies in try/catch, at the very least please just wrap the caller so you don't have to indent the entire body for no reason. Not to mention a lot of commands inside can't even throw.

Re:Show HN: WTFfmpeg by Sesse__ on Wednesday July 23, 2025 @06:05AM (#44657472)
At some point, one would imagine just making a less confusing FFmpeg CLI would be a better use of everyone's time. (I've sort-of understood it now, but the learning curve is pretty steep.)
Re:Show HN: WTFfmpeg by Liquix on Wednesday July 23, 2025 @06:55AM (#44657745)
that's akin to making a "less confusing git" - the reason ffmpeg/git are so widely used is largely due to how powerful and fine-tunable they are. the learning curve is an unfortunate but necessary side effect
Re:Show HN: WTFfmpeg by whywhywhywhy on Wednesday July 23, 2025 @07:54AM (#44658187)
It's really not, things can be powerful and easy to use. I'd even say some parts of ffmpeg are well designed in this way like `ffmpeg -i ./video.mp4 ./video.wav` working is well designed.

Think the fact all the commands are shorthand doesn't help because no matter how many ffmpeg commands you copy and paste in your life unless you put the effort in you're not going to begin to remember what -an means in the sea of all the other two letter switches and the copywriting in the output and error messages is very hard to tell whats going wrong for someone who hasn't used it a long time.

Not saying it should all be super wordy just that it's difficult to pick up things though osmosis when the commands look like this -ss -t -rc:v, respect to anyone who actually learnt how this works so they could type it without sitting there with the documentation and hitting a wall for an hour.

Will say though the raw tech inside ffmpeg has always meant figuring out getting it to do the thing has always been worth it because it's insanely powerful.

Re:Show HN: WTFfmpeg by Sesse__ on Wednesday July 23, 2025 @01:22PM (#44661661)
> It's really not, things can be powerful and easy to use. I'd even say some parts of ffmpeg are well designed in this way like `ffmpeg -i ./video.mp4 ./video.wav` working is well designed.

I'd argue that even this command line isn't well-designed at all; it should be `ffmpeg video.mp4 -o video.wav`. How is it sane that anything without an -i in front is an _output_ filename?

Re:Show HN: WTFfmpeg by ycombiredd on Wednesday July 23, 2025 @02:17PM (#44662284)
It's not an output filename.. The -i is the input, the .wav is the output filename in that example.
Re:Show HN: WTFfmpeg by Sesse__ on Wednesday July 23, 2025 @02:44PM (#44662583)
Yes? That's not in conflict with anything I said.
Re:Show HN: WTFfmpeg by ycombiredd on Sunday July 27, 2025 @03:53AM (#44699598)
You're right! I misread your "without" as "with". I need better glasses, or reading comprehension.
Re:Show HN: WTFfmpeg by IshKebab on Wednesday July 23, 2025 @07:15AM (#44657867)
You could make both git and ffmpeg much less confusing without sacrificing their power and tunability.
Re:Show HN: WTFfmpeg by 42lux on Wednesday July 23, 2025 @07:47AM (#44658115)
You could also write a wrapper for non technical users without a rewrite or comprising core functionality.
Re:Show HN: WTFfmpeg by IshKebab on Wednesday July 23, 2025 @12:46PM (#44661249)
In my experience that never helps because the wrapper is never comprehensive or well documented enough that you can completely avoid dipping below it and as soon as that happens it's worse because you have to learn the original thing anyway plus some poorly documented wrapper.
Re:Show HN: WTFfmpeg by Sesse__ on Wednesday July 23, 2025 @02:45PM (#44662593)
Case in point, git is already much less confusing than it was at 1.0 and nobody complains it has gotten less powerful. (“Less confusing” does not mean “not confusing”, of course.)
Re:Show HN: WTFfmpeg by robertpohl on Wednesday July 23, 2025 @06:48AM (#44657707)
No one is stopping you from creating a Nobel Prize winning ffmpeg wrapper yourself to show how its done ;)
Re:Show HN: WTFfmpeg by 0points on Wednesday July 23, 2025 @06:55AM (#44657747)
> This whole repo is a single 300 LoC Python file over half of which is the system prompt and comments.

You accurately described many "AI apps" of this era.

Re:Show HN: WTFfmpeg by singpolyma3 on Wednesday July 23, 2025 @08:38AM (#44658532)
There are whole startups that are just a system prompt and a thousand lines of UI these days...
Re:Show HN: WTFfmpeg by nipponese on Wednesday July 23, 2025 @08:59AM (#44658732)
Look at it a validation of user demand.
Re:Show HN: WTFfmpeg by olyjohn on Wednesday July 23, 2025 @05:19PM (#44664150)
You can just use ChatGPT, etc already to generate the ffmpeg code. I just did this a few nights ago. There's no wrapper or any need to tune anything as far as I can tell.