A batch processing script for windows to converting files with ffmpeg
- Windows 7 or newer
- install ffmpeg -- see http://ffmpeg.org/
- Save this single file to anywhere in your windows machine.
- Edit global settings in the script:
- ffmpegbase is the path to the installed ffmpeg
- change any other settings if you want
ffbatch.cmd filename <options>
... or simply drop a directory to the script for default batch process.
Skips existing output files, unless -o switch specified. creates %filename%.bitrate.mp4 output files Returns only when finished
If you close the terminal window before the end of processing all files, the ongoing processes will continue and close when completed, but no more new process will start.
-o overwrite existing files (default skip) -p number of paralel processes (default 4) -b output bitrate in bit/s, you may use k or M postfixes, e.g. 32M (default) -f RE pattern to filter processed files