Live data from Hacker News

Show HN: LLMpeg

github.com

11–20 of 83 posts

Re: Show HN: LLMpeg

#11

Parsing simple English and converting it to ffmpeg commands can be done without an LLM, running locally, using megabytes of RAM. Check out this AI: $ apt install cdecl [ ... ] After this operation, 62.5 kB of additional disk space will be used. [ ... ] $ cdecl Type `help' or `?' for help cdecl> declare foo as function (pointer to char) returning pointer to array 4 of pointer to function (double) returning double doub…

"declare foo as function (pointer to char) returning pointer to array 4 of pointer to function (double) returning double" i would not call English

Re: Show HN: LLMpeg

#12
It's good that you have a "read" statement to force confirmation by the user of the command, but all it takes is one errant accidental enter to end up running arbitrary code returned from the LLM.

I'd constrain the tool to only run "ffmpeg" and extract the options/parameters from the LLM instead.

Re: Show HN: LLMpeg

#13
FFMpeg is one of those tools that is really quite hard to use. The sheer surface area of the possible commands and options is incredible and then there is so much arcane knowledge around the right settings. Its defaults aren't very good and lead to poor quality output in a lot of cases and you can get some really weird errors when you combine certain settings. Its an amazingly capable tool but its equipped with every foot gun going.

Re: Show HN: LLMpeg

#14

Parsing simple English and converting it to ffmpeg commands can be done without an LLM, running locally, using megabytes of RAM. Check out this AI: $ apt install cdecl [ ... ] After this operation, 62.5 kB of additional disk space will be used. [ ... ] $ cdecl Type `help' or `?' for help cdecl> declare foo as function (pointer to char) returning pointer to array 4 of pointer to function (double) returning double doub…

> Granted, this one has a very rigid syntax that doesn't allow for variation, but it could be made more flexible.

That’s kind of the killer feature of an LLM. You don’t even need to have your fingers on the right place on the keyboard and it will parse gibberish correctly as long as it’s shifted consistently.

Re: Show HN: LLMpeg

#15
post #14

Parsing simple English and converting it to ffmpeg commands can be done without an LLM, running locally, using megabytes of RAM. Check out this AI: $ apt install cdecl [ ... ] After this operation, 62.5 kB of additional disk space will be used. [ ... ] $ cdecl Type `help' or `?' for help cdecl> declare foo as function (pointer to char) returning pointer to array 4 of pointer to function (double) returning double doub…

> Granted, this one has a very rigid syntax that doesn't allow for variation, but it could be made more flexible. That’s kind of the killer feature of an LLM. You don’t even need to have your fingers on the right place on the keyboard and it will parse gibberish correctly as long as it’s shifted consistently.

I tell Claude to do things like I have brainrot and it still understands me like "ok, gib fn innew codblock"

Re: Show HN: LLMpeg

#16
post #6

FFmpeg is a tool that I now use purely with LLM help (and it is the only such tool for me). I do however want to read the explanation of what the AI-suggested command does and understand it instead of just YOLO running it like in this project. I have had the experience where GPT/LLAMA suggested parameters that would have produced unintended consequences and if I haven't read their explanation I would never know (resu…

I always wonder what's the difference between LLMing shell commands and

  curl https://example.com | sh

Re: Show HN: LLMpeg

#17

Parsing simple English and converting it to ffmpeg commands can be done without an LLM, running locally, using megabytes of RAM. Check out this AI: $ apt install cdecl [ ... ] After this operation, 62.5 kB of additional disk space will be used. [ ... ] $ cdecl Type `help' or `?' for help cdecl> declare foo as function (pointer to char) returning pointer to array 4 of pointer to function (double) returning double doub…

reminiscent of https://news.ycombinator.com/item?id=9224

Re: Show HN: LLMpeg

#18

It's good that you have a "read" statement to force confirmation by the user of the command, but all it takes is one errant accidental enter to end up running arbitrary code returned from the LLM. I'd constrain the tool to only run "ffmpeg" and extract the options/parameters from the LLM instead.

[flagged]

Re: Show HN: LLMpeg

#19
post #9

i think this type of interaction is the future in lots of areas. i can imagine we replace API's completely with a single endpoint where you hit it up with a description of what you want back. like, hit up 'news.ycombinator.com/api' with "give me all the highest rated submissions over the past week about LLMs". a server side LLM translates that to SQL, executes the query, returns the results. this approach is broadly…

Except you don't need an LLM to do any of this, and it's already computationally cheaper. If you don't know the results you want, you should figure that out first, instead of asking a Markov chain to do it.

Re: Show HN: LLMpeg

#20

Parsing simple English and converting it to ffmpeg commands can be done without an LLM, running locally, using megabytes of RAM. Check out this AI: $ apt install cdecl [ ... ] After this operation, 62.5 kB of additional disk space will be used. [ ... ] $ cdecl Type `help' or `?' for help cdecl> declare foo as function (pointer to char) returning pointer to array 4 of pointer to function (double) returning double doub…

"declare foo as function (pointer to char) returning pointer to array 4 of pointer to function (double) returning double" i would not call English

Terms of art aren't not English just because they're inscrutable to non-experts.
Post reply on HN