Live data from Hacker News

Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser

vidmix.app

31–40 of 49 posts

Re: Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser

#31

To yes, and this — I've started doing something similar on the command line with Claude Code that works incredibly well: claude -p "use ffmpeg to convert myvideo.mov into an h264 video suitable for youtube upload" --dangerously-skip-permissions Highly recommended! I use --dangerously-skip-permissions because I just want to set it and forget it and dont need to babysit the run.

Em-dash alert.

Re: Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser

#32
post #31

To yes, and this — I've started doing something similar on the command line with Claude Code that works incredibly well: claude -p "use ffmpeg to convert myvideo.mov into an h264 video suitable for youtube upload" --dangerously-skip-permissions Highly recommended! I use --dangerously-skip-permissions because I just want to set it and forget it and dont need to babysit the run.

Em-dash alert.

Not OP, but the whole "AI using em-dashes when people writing would use commas" is very annoying given that the em-dash is readily available on my phone (hold on - to get one) and on my computer (compose - -), and I only started using it because people pointed out that commas are incorrect in this instance :(

FTR I don't, and have never used AI to write or do any "creative work", because it's not creativity if it doesn't come from you.

Re: Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser

#33
post #32
post #31

Earlier quoted context omitted.

Em-dash alert.

Not OP, but the whole "AI using em-dashes when people writing would use commas" is very annoying given that the em-dash is readily available on my phone (hold on - to get one) and on my computer (compose - -), and I only started using it because people pointed out that commas are incorrect in this instance :( FTR I don't, and have never used AI to write or do any "creative work", because it's not creativity if it doe…

I also have regularly used hyphens, en dashes, and em dashes since college. Way preceding LLMs. Now I second guess my literary style.

Re: Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser

#34
post #32

Earlier quoted context omitted.

Not OP, but the whole "AI using em-dashes when people writing would use commas" is very annoying given that the em-dash is readily available on my phone (hold on - to get one) and on my computer (compose - -), and I only started using it because people pointed out that commas are incorrect in this instance :( FTR I don't, and have never used AI to write or do any "creative work", because it's not creativity if it doe…

I also have regularly used hyphens, en dashes, and em dashes since college. Way preceding LLMs. Now I second guess my literary style.

Yeah, same. To be clear I'm frustrated and annoyed that people are using LLMs to replace writing just... normal everyday things, that it is beneficial to think through and consider and form in your mind; it is likewise frustrating that immediately the first thing that anyone really did with AI was spam online submission forms for writers groups hard enough that they got taken offline.

Re: Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser

#35
post #8
post #3

Honestly what a great application of LLMs. FFmpeg is a very powerful tool, and as with most powerful tools is very complicated to run correctly. Do the files get uploaded though? Or does it just grab the location on disk?

This appears to use ffmpeg.wasm

Therefore you lose any hardware acceleration I guess? I'd prefer to run an actual native ffmpeg on my machine, but of course then there's the security issue of copy-pasting a command line of "unknown" origin...

Re: Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser

#36
post #32
post #31

Earlier quoted context omitted.

Em-dash alert.

Not OP, but the whole "AI using em-dashes when people writing would use commas" is very annoying given that the em-dash is readily available on my phone (hold on - to get one) and on my computer (compose - -), and I only started using it because people pointed out that commas are incorrect in this instance :( FTR I don't, and have never used AI to write or do any "creative work", because it's not creativity if it doe…

[deleted]

Re: Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser

#37

The Warp terminal[1] is excellent for this type of thing. In agent mode, you just describe what you want to have happen and it generates the proper command(s) (that you can approve before running). I use it a lot to convert videos and turn a folder of tiff files into pngs at 1/2 size, etc. It's great at generating FFMEG commands and chaining the right tools together. [1] https://www.warp.dev

I was going to mention Warp here as well. It is fantastic when it comes to almost anything in the terminal. It has caused me to use the terminal a lot more on all of my computers because I don't have to spend a bunch of time poking around on Google to find the command to run.

I have used it for ffmpeg and then a lot of other slightly more complex commands. A recent one from the other day was gathering up all of the .epub documents in a directory tree, renaming them to the name of the directory they were in, and then placing them all in one single directory. That would have been a whole project for me, and Warp gave me the command with just that description. Any LLM interface would have done the same, but Warp just let me hit "Enter" and run it, no need to copy and paste.

Re: Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser

#38
post #10

Great work on this - I made a terminal command similar to this (llmpeg), and was actively trying to get exactly this working - a webasm compiled version of ffmpeg that could encode in the browser. I for the life of me couldn't get the provided examples on https://github.com/ffmpegwasm/ffmpeg.wasm to run. Just for my own development curiosity, was there anything specific you had to do to get ffmpegwasm to work?

The creator of that repo has a blog with some posts on building a wasm version of FFmpeg, I mostly followed those: https://jeromewus.medium.com/ I also used some of their scripts for building the 3rd-party libraries.

It took a bit of trial and error to see which versions of the different libraries and build tools work together.

Re: Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser

#39

To yes, and this — I've started doing something similar on the command line with Claude Code that works incredibly well: claude -p "use ffmpeg to convert myvideo.mov into an h264 video suitable for youtube upload" --dangerously-skip-permissions Highly recommended! I use --dangerously-skip-permissions because I just want to set it and forget it and dont need to babysit the run.

`llm cmd` by simonw is even better for one-off commands. It spits out the invocation and you can repurpose as suits your needs. Thanks Simon!
Post reply on HN