top | item 36933757

(no title)

thentherewere2 | 2 years ago

As someone who uses ffmpeg daily (mostly basic functions), I now rely on chatGPT to approximate the command and fine tune from there. Haven't used too many of the advanced features of ffmpeg so glad someone seems to be covering those use cases as most tutorials dont cover them.

discuss

order

vorticalbox|2 years ago

I had a whole folder of videos I wanted to convert to 720p, asked chatGPT and it gave me this:

find . -maxdepth 1 -type f -name "" -exec sh -c 'pv "$1" | ffmpeg -i pipe:0 -filter:v scale=720:-2 -c:a copy "${1%.}.mp4" 2> /dev/null' _ {} \;

Not sure if it can be improved but it works well