I recently used Gemini to help with some dashcam videos that weren't being saved properly. I was sure most of the data were there but the files wouldn't play in VLC or MPC, so I asked Gemini. It suggested various things to try, and after pasting in the error messages each time it suggested more and more radical things. Eventually it suggested a program called Untrunc, where you give it a working video file as a refer…
Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser
21–30 of 49 posts
Re: Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser
#22I'm sorry Dave, I'm afraid I cannot do that
Re: Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser
#23Re: Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser
#24Re: Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser
#25I'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.
Re: Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser
#26This is such a convenient tool for a casual user, and a great application of an LLM to a narrow task that probably couldn't be handled quite so easily everywhere. Also a great example of the emerging 'chat driven' UX trend, which I'm really liking.
Re: Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser
#27Re: Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser
#28I recently used Gemini to help with some dashcam videos that weren't being saved properly. I was sure most of the data were there but the files wouldn't play in VLC or MPC, so I asked Gemini. It suggested various things to try, and after pasting in the error messages each time it suggested more and more radical things. Eventually it suggested a program called Untrunc, where you give it a working video file as a refer…
Interesting - I took a look at how this works and why it needs a reference, and the answer is the usual one of the 'moov atom': a critical piece of metadata. Lots of programs output it at the end of the file, but that makes it vulnerable to truncation, and for streaming it's useful to move it to the beginning of the file. ffmpeg refers to this as "fast start".
Re: Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser
#29I tried to implement something very similar recently, and had the hardest time getting the LLM to produce anything remotely resembling actual ffmpeg commands.
Re: Show HN: FFmpeg in plain English – LLM-assisted FFmpeg in the browser
#30The 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