main window


You can see the list of open files, from which you can select one or more to generate a set of stream sources (you choose several files to concatenate them). Right-clicking on such a file opens a menu allowing to perform actions on a file, such as removing it or building a RIFF or EBML tree structure (you don't need that if you don't know what it is). For Mode 2 Form 2 - Files you can enabled and disable the CRC check.

In the stream tree, you can see the streams you created, and you can set attributes of those streams, like whether or not a stream is a default stream, you can also extract some stream types (you might want to extract an audio stream from an AVI or MKV file).

When clicking on an audio stream, the delay edit field, where you can enter the delay (in milliseconds) which will be applied to the audio stream, shows up. This is not available for video or subtitle streams. You can also drag&drop streams inside the tree to change their order, however, the output file will always contain the video stream first, then the audio streams, then the subtitles.

The usage of the resolution edit field is explained below.

Stream name, language code

To set a stream name, click on the name itself, press F2, and the tree item turns into an edit field. When done, press TAB. Then, you can select the language code from the dropdown list, or you can type the language code manually. You can find a complete list of all possible language codes here. You can add new language codes from that long list to AVI-Mux GUI by adding them to the file language_codes.txt. For a later release, I'm planning to add usage counter management, so that for example the 5 most often used language codes show up first, then the rest.

AVI stream names are ANSI, so you should only use characters available in your local character set. MKV stream names are unicode, so you can type whatever you like (except for klingon, which is not part of UTF-8)

Context menu

You can call a context menu by right-clicking somewhere onto the dialog. This context menu allows you to change the language, save the current configuration to a skript file, and switch between normal view and protocol view.


Note: This section only applies to MKV output files and will be ignored if you choose to create an AVI file.

Enter replay resolution for anamorphically encoded movies, as well as cropping, here. The syntax is as follows:

You can use the following ways to indicate the resolution: Examples: 720x304, 640X480, 2.35:1

You can use the following ways to indicate cropping: Cropping must be indicated in reference to the input resolution. The edit field turns red to show that your input cannot be processed. You can add spaces at will. Do not use a comma instead of a '.' in an expression like 2.35.

Complete example:


When muxing, you get the protocol view:

other settings

no audioNo audio will be included in the output files. You can demux the video stream using this option
all audioAVI-Mux GUI will mux all audio streams into the output files, regardless which streams have been selected.
no subtitlesNo subtitles will be written to the output files, regardless of the selection.
all subtitlesAll subtitles will be written to the output files, regardless of the selection
titleFor MKV files, this is the segment title, for AVI files, it is the file title. Note that MKV segment titles are stored in UTF-8, meaning that you can type whatever you like (again, except for klingon), whereas AVI only supports ANSI, meaning you should stick to languages using the character set of the language locally installed on your Windows system
delay of audio streamIndicates the delay of the selected audio stream. If you type some delay there, without selecting any audio stream before, that setting will be ignored.
Values greater than 0 delay the stream, Values below 0 remove the beginning of the stream.
  • AVI - Output
    To delay a stream, either Silence-Files are used to pad the beginning, or, if no matching file is found, the first 20 ms (or the first audio frame, whatever is more) is duplicated. In the latter case, the beginning of the audio source should be silent. For values below 0, the beginning of the stream is removed
  • MKV - Output
    Delays are set by creating timestamps accordingly. The stream itself is not modified
If you've extraced a stream using DVD2AVI, the delay should be read automatically from the filename. If it does not work for whatever reason, indicate the delay DVD2AVI reports here.
switch to protocolDisplay the protocol, which contains information about recent muxing processes. You can leave the protocol view by again right-clicking onto the dialog.
save configurationSaves a skript file which allows to restore the current state of the program, including all settings, all open files, all selected video sources, audio sources and subtitle streams, names and delays of streams.

Beginning with v1.17.5, restoring file and stream order is supposed to work correctly. When there are chapters, and additional chapter xml file will be created. The amg file will load this chapter file.

immediately add audio sourcesWhen this setting is enabled (which is default), an audio source will be created automatically from each audio file you open. This, of course, does not allow to join several audio files to one audio source. When you disable this setting, no audio source will be created from audio files you load, so that you can join several audio files to one audio source. See joining files.