Avidemux FAQ – File size

 I use 2-pass encoding and the output file size is bigger than I wanted (e.g. 1300 MB instead of 1200 MB)

I use 2-pass encoding and the output file size is smaller than I wanted (e.g. 800 MB instead of 1400 MB)

How do I disable automatic AVI file splitting (create AVI files larger than 4 GB)?

I use 2-pass encoding and the output file size is bigger than I wanted (e.g. 1300 MB instead of 1200 MB)

The target size entered in the 2-pass codec settings is for video, without audio. The audio track adds the additional megabytes. To calculate only the video size, use the Calculator in Avidemux – enter the target file size, format and audio bitrate, click Apply (which will store the 2-pass video size in the selected encoder) and close it.

Note: You may also encounter a similar problem when using versions prior to v2.4.4 on Windows if you have non-ANSI letters in the output path (e.g. éàùôèí etc.) when using the Xvid codec. In that case, the stats file won’t be created and Xvid will go into fixed quantizer mode (with a quantizer 2). If an update isn’t possible for you, simply send the output file to a path without such characters to avoid triggering this old bug.

I use 2-pass encoding and the output file size is smaller than I wanted (e.g. 800 MB instead of 1400 MB)

A smaller file often means it’s saturated, encoded at the highest quality the codec can achieve and therefore the file size cannot be increased without changing the settings (like increasing the resolution or choosing less compressible encoder options). This is harmless, there is no point in trying to make the file larger than needed. You can see if the video was really encoded at the highest quality by opening it in Avidemux, navigating in it and observing the frame type information: . If the number in the brackets is always 2 for all frames (or 4 for B-frames), then the file was indeed encoded at the lowest quantizer (2), which means the highest quality.

How do I disable automatic AVI file splitting (create AVI files larger than 4 GB)?

By default, Avidemux creates standard AVI files, which imposes a 4 GB file size limit. OpenDML files do not have this limitation. You can enable OpenDML output in Avidemux by checking “Create OpenDML files” in preferences.