User Tools

Site Tools


This is an old revision of the document!

Batch processing

This page tries to explain how batch processing works with Avidemux.

This tutorial shows how one can process multiple video files with same settings. This is useful for cases where you have to e.g. convert multiple video files to certain format.

Short introduction to different methods

Since AVIdemux supports both Command-line processing (command_line_usage) and JS scripting (Scripting) possibilities, there are multiple ways to batch process your files: 1. Command-line only processing with bash script/.bat file or similar. 2. JS scripting only processing 3. Combination of command-line and JS scripting

Command-line only batch processing

AVIdemux command-line support doesn't allow you to change all possible options. But it usually works OK for simple format conversions. Since it allows you to use additional command-line tools, you can for example automate YouTube uploads after AVIdemux has processed the files. Because different operating systems have different kind of filename limits etc. some command-line samples presented below won't work in all systems/shells.

Win32 example (.bat file) that will convert all .mp4 files in current folder to .avi (XviD+MP3). Original files aren't modified. New files are named like something.mp4.avi

set avidemux="C:\Program Files\Avidemux 2.5\avidemux2.exe"
set videocodec=Xvid
set audiocodec=MP3

(you should change “C:\Program Files\Avidemux 2.5\avidemux2.exe” in case your AVIdemux installation is located in different folder)

tutorial/batch_processing.1294505906.txt.gz · Last modified: 2012/11/11 08:51 (external edit)