How to convert multiple videos with Avidemux

Written by john lister Google
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to convert multiple videos with Avidemux
Batch converting in Avidemux is possible but a little tricky (Hemera Technologies/ Images)

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:


  1. 1

    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.

  2. 2

    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

  3. 3

    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.

  4. 4

    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.

  5. 5

    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.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.