3 ms·
I've had great luck with chatGPT assisted FFMPEG commands. There is very little that FFMPEG can't do as far as video manipulation, but getting a good CLI invoc
by Nihilartikel 3y ago
I've had great luck with chatGPT assisted FFMPEG commands.
There is very little that FFMPEG can't do as far as video manipulation, but getting a good CLI invocation is a lot of work, documentation surfing, and piecing things together from stackoverflow and Reddit. I don't really feel like committing such things to memory.
With ChatGPT, I can ask for it to make a parameterized bash script that takes a path for video input and output, and any other parameters of consequence and make a "converter from x format to Y using Z codec and nvidia hw accelerated encoding at W bit rate" and most of the time, the bash script that it gives me just works and I move it into my tool-bin.
It's nice! There are probably a lot of other tedious pieces of automation that it can handle well even in its early state.
- andrei_says_ 3y agoWhat is your process of verifying it?
- scyzoryk_xyz 3y agoI also have had much success with FFMPEG and other bash commands - I just ask it to explain what the command does step by step as I want to learn a bit as well. That being said - it is far from perfect.
- Infinity25 3y agoI think a good way to verify that the commands are actually doing something instead of the LLM just generating non-existent parameters is to provide a dry run mode. The actual correctness of the generated command - granted it's valid - performing as it should however, is a whole different issue.
- ThrowawayTestr 3y agoYou run it. If it gives an error or the output isn't what you want, you tell Chatgpt to try again.
- itairall 3y agoAlso using 4 and not 3.5. I imagine there is so much pointless discussion online with one person talking about 3.5 and the other person talking about 4.
- starik36 3y agoI've found ChatGPT very useful for tools that I use once in a very long while (like ffmpeg) and simply don't remember all the nuances of. For example, I needed to use K6 to run a load test. It supports a million things, and it would have taken me a long while to figure out the right combo. With ChatGPT I had it running in 5 minutes.