

You'll need a copy of ffmpeg somewhere in your system PATH, and of course, a working copy of Python 3.x. Open up a command-line prompt in that folder.Edit this line to gather up all the files you want (i.e.Edit this line to set the ffmpeg parameters you want.Copy ShrinkrArchive to the folder with all the videos.

The one downside to SCons is that for some reason it takes a while to start running, but once it figures out what it needs to do, it will execute all of the ffmpeg calls quickly. Of the two ways, I prefer the SCons method, because it leverages the SCons build system to check for changes to the input / output files. Transcoding video can be conceptually similar to compiling software, so, I gave this a shot.īoth ways will let you run the batch repeatedly and will not repeat work, already-transcoded files won't be done again unless the source files change. One uses pure Python, the other uses SCons build scripts. As far as I know, ffmpeg will copy over all metadata without modification. I came up with two different ways to batch transcode a folder full of video files using ffmpeg.
