Skip to content
Efrain Vergara edited this page Aug 27, 2020 · 9 revisions

Welcome to the mkvbatchmultiplex wiki!

In this wiki I will try to offer examples in a step by step manner.

When a command line is pasted the program will check the command for consistency. The command line needs to have:

  • --output clause
  • at least one one source, a file name enclose in parenthesis
  • --track-order

When generating the commands the first source file will be read. The files are read according to the file extension. Any other source read have to match this number of files. And since the each source is read by the extension of the file sometimes is possible to have more than one type of source file in one directory. This is not recommended if it is practical try to have one directory per file type. When matching the different source files the names of the files are not used. The order of the files read in natural sort order and the resulting order will be use for the match.

Natural sort order:

Directory files in alphabetical order:

File 1.mkv
File 10.mkv
File 2.mkv

When read in natural sort order the list will be:

File 1.mkv
File 2.mkv
File 10.mkv

File 2.mkv should be first because 2 is less than 10.

One condition that is not check is the time duration of the sources. Any synchronization issues and tests are left to the user. There are many times that timing issues can be corrected with mkvtoolnix-gui itself. Is recommended to check that different work has been done using the same video source.

The decision to make the program work with rather restrictive cases was always giving priority that when the conditions are met the resulting batch will give the expected results. This way I usually check the first episode and if it is what I wanted the rest also will be.

Examples:

Example 01 will multiplex video and audio in an AVI container with external SRT subtitles. In this example there are two different file types in one directory and we have 2 sources AVI files and SRT files.

Example 02 will multiplex video and audio in a MKV container with external SubstationAlpha subtitles. The source files are in different directories.

Example 03 will multiplex video, audio and subs in MKV containers. Both sources are MKV files. The subs we want to copy use attached fonts in the second source MKV.

Troubleshooting:

TODO.

Clone this wiki locally