I've been trying to convert entire folders of files using ffmpeg for a long time now. I've searched the web, found various answers, but none that helped me. Currently I'm using multiple instances of ffmpeg to convert more than one file at a time. But it's very time consuming and annoying to type in everything all the time, even with copy/paste.
To simplify my current code it would look something like this. I specify the input file and the output format (+ various settings):
ffmpeg -i "EXAMPLE.avi" newEXAMPLE.mp4
But what I would like is a single instance of ffmpeg to convert all files in a specific folder to a new format and for the files to keep their original name.
example1.avi > example1.mp4
example2.avi > example2.mp4
example3.avi > example3.mp4
and so on...
PS. I'm a bit new to these kind of things, so I'd much appreciate an explanation with your answer, so I can understand and learn. Thank you!