Avidemux is a video editing application that includes the ability to convert video files to a different format. The standard Windows version of Avidemux only allows you to convert one file at a time. To convert multiple files in one go you will need to use the command line tool, which normally means interacting with the software through text commands rather than Windows. Fortunately you can create a file that will carry out the necessary commands directly from Windows.
- Skill level:
Gather together the files you want to convert in a folder in Windows Explorer and make a note of its location. Note that you can only batch convert files of the same starting format in one go. Open a text editor or word processor application to write out a list of text commands that you will use in the conversion.
Write the text commands for locating your copy of Avidemux. An example is:
set avidemux="C:\Program Files\Avidemux 2.5\avidemux2.exe" set videocodec=Xvid set audiocodec=MP3 for %%f in (*.mp4) do %avidemux% --video-codec %videocodec% --audio-codec %audiocodec% --force-alt-h264 --load "%%f" --save "%%f.avi" --quit
Modify the example text to fit your requirements. Change the location in the first line if your copy of Avidemux is in a different place on your computer. (Use Windows Explorer or Windows Search if you need to find it.) Replace "Xvid" and "MP3" with the appropriate format names if you want to convert to a different video or audio format. Make sure the final command (starting "for %%f in") is one continuous line with no line or paragraph break. Replace ".mp4" with the appropriate file extension if you are converting from a different start format.
Save the commands as a file in your text editor or word processor: the filename doesn't matter. Use Windows Explorer to change the file extension to ".bat" rather than the default extension.
Copy this ".bat" file into the folder containing the files you want to convert, then double-click on the icon for the ".bat" file. Your files will now convert, though it may take some time. You should see a text window on screen that details the conversion process.
Tips and warnings
- You can add additional commands to the final line if you want to make specific changes to the conversion process such as changing the resolution of the video. See Resources for a list of commands and how to add them.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for