Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1.52 KB

README.md

File metadata and controls

26 lines (22 loc) · 1.52 KB

mkvtoolnix-batch

Description

Windows Batch script to automate batch processing using mkvtoolnix.

Dependencies

Usage

  1. Download MKVToolNix.
  2. Open mkvtoolnix-gui.exe.
  3. Add any of the MKV files to be processed (drag-and-drop works just fine).
  4. Perform your changes within the GUI (disable tracks, rename tracks, set default tracks, etc.).
  5. Go to Menu Bar > Multiplexer > Create option file, and save it as 'options.json' in the same directory where all MKV files to be processed are. You can then close the GUI.
  6. Open said JSON file with your favourite editor and completely delete:
    • The "--output", line along with the one coming right after it.
    • The "(", and ")", lines together with the one in between them.
  7. Find the mkvmerge.exe executable within MKVToolNix and get its path (Shift + Right-Click > Copy as path from Windows File Explorer).
  8. Download mkvtoolnix-batch.bat from this repository and put it in the directory where all MKV files and the JSON are.
  9. Edit mkvtoolnix-batch.bat and replace "D:\...\mkvmerge.exe" with your path to mkvmerge.exe from step 6.
  10. Run mkvtoolnix-batch.bat by double-clicking it.
  11. Go grab yourself a cup of coffee and wait for the multiplexing process to complete. Processed MKV files will appear inside the mkvmerge_out directory.
  12. Profit.

License

Code licensed under GNU General Public License v3.0.