VideoHelp Forum
+ Reply to Thread
Results 1 to 1 of 1
Thread
  1. Member
    Join Date
    Jul 2010
    Location
    NewZealand
    Search Comp PM
    I have found out how to create a script that allows me to Batch remove unwanted tracks from mkv files using MkvMerge from MkvToolNix. It works but for some reason as well as it removing the unwanted audio track it is removing my subtitle track as well. This is the script.

    for %%a in ("*.mkv") do "C:\Program Files (x86)\MKVtoolnix\mkvmerge.exe" -o "%%a-new.mkv""--track-name" "1:[AHQ] Tenjho Tenge - 01 - Sanctuary" "--default-track" "1:yes" "--forced-track" "1:no" "--display-dimensions" "1:640x480" "--language" "2:jpn" "--track-name" "2:Original Japanese Audio" "--default-track" "2:yes" "--forced-track" "2:no" "--language" "4:eng" "--track-name" "4:English Subtitles" "--default-track" "4:yes" "--forced-track" "4:no" "-a" "2" "-d" "1" "-S" "%%a" "--track-order" "0:1,0:2,0:4"

    what is the problem in the script that is removing the subtitles as well as the audio?

    Also How do I create a script that Muxs Mkvs and subtitle files together?

    Thanks
    Last edited by Animebuster; 21st Jul 2010 at 05:57.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!