ffmpeg
is a command-line tool for transcoding (converting) media like video and audio files. It is extraordinarily powerful, but also not terribly easy or convenient to use. That's where the script comes in: Your goal is to set up a few defaults for yourself for when you need to use ffmpeg
so that you don't have to remember or type out the whole command line.
While not strictly necessary, we will also be adding argument parsing, loops for dealing with multiple files, and error handling.
Your script must accomplish the following things: