9.2 MKV Muxing

This is the final step for creating MKV files. It covers basic mkv file creation as well as VFR mkv file creation. This section relies on the mkvtoolnix application, mkvmerge(muxer) and mmg(muxer frontend).
  • Step 1: Open Fresh MMG instance.
  • Step 2: Add Streams.
  • Step 3: Set Stream Properties (Video).
  • Step 4: Set Stream Properties (Audio).
  • Step 5: Set Stream Properties (Subs).
  • Step 6: Create Chapter .xml file.
  • Step 7: Set Global Properties and Assign Chapters.

Step 1: Open Fresh MMG instance

  1. Open the MMG.exe Application
  2. It should provide an interface similar to this window
Back to the top

Step 2: Add Streams

  1. Click the Add button and select a file you wish to mux
  2. Go through and select Your video, Audio and Subtitles. Ensure the correct files are listed in the "Input Files" area.
  3. To ensure player compatibility, Set the video as the first muxed stream. Certain players expect Video first for correct operation
  4. Players generally use the first audio track they find as the default one so move the audio track you want as default to directly below the video track and then put the other ones right after.
  5. Some players do a similar thing with subtitles, place the default subtitle track right after the audio streams. Source files may also contain more than one stream which can make some of this slightly more complicated.
Back to the top

Step 3: Set Stream Properties (Video)

  1. First Select your Video file in the "Input File" area
  2. Then select the video track in the "Tracks" area
  3. Specify a language for the video (JPN/ENG will make no difference)
  4. Set a TrackName
  5. Check "Make Default Track". This is more or less optional since no player ever even reads the flag.
  6. Optional: Set the Aspect Ratio if Encoding Anamorphic
  7. Optional: Set the VFR file saved From yatta under Timecodes
Back to the top

Step 4: Set Stream Properties (Audio)

  1. First Select your Audio file in the "Input File" area
  2. Then select the audio track in the "Tracks" area
  3. Specify a language for the audio. This will be used by most players for Automatic Stream Identification
  4. Set a TrackName
  5. Check "Make Default Track" for the primary audio track, usually the plain japanese one. Don't check it for any other tracks.
Back to the top

Step 5: Set Stream Properties (Subs)

  1. First Select your Sub file in the "Input File" area.
  2. Then select the sub track in the "Tracks" area.
  3. Specify a language for the subs. If multiple English subs are involved, set them all to English and differentiate via Trackname.
  4. Set a unique TrackName.
  5. Check "Make Default Track" for the (usually) english subtitles matching the audio track you selected as default.
Back to the top

Step 6: Create Chapter .XML file

  1. Select the "Chapter Editor" option from the menu.
  2. Select LOAD and select the "VTS_0X - Chapter Information - OGG.txt" file DVDDecrypter created during the ripping process.
  3. It will load the chapter file, and provide you the following interface to edit it.
  1. Select each chapter entry and re-label appropriately.
  2. Once updated, select the "Chapter Editor" menu and save the .xml file
Back to the top

Step 7: Set Global Properties and Assign Chapters

  1. Enter an appropriate title in the "File/segmented title" area. Using the same one from the video track is a good idea.
  2. Specify the .xml file created with the "Chapter Editor" in the "Chapter file" area.
  3. Specify the file name in the "Output filename" box.
  4. Click Start Muxing.
  5. Optional: Under file; Save your MMG settings. They can be reloaded later for easy re-muxing. (assuming paths don't change)
Back to the top
Return to the index.