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
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 1 of 1
Thread
-
Last edited by Animebuster; 21st Jul 2010 at 05:57.
Similar Threads
-
Can I get a little help with an ffmpeg script/batch file?
By Iced Coffee in forum Newbie / General discussionsReplies: 14Last Post: 26th Aug 2015, 02:56 -
Script to Batch edit MKV files with MKVMerge or any other program
By Animebuster in forum EditingReplies: 3Last Post: 21st Oct 2013, 19:17 -
AviDemux batch script
By jakhazell in forum Newbie / General discussionsReplies: 5Last Post: 21st Aug 2011, 22:16 -
3ivx Batch Conversion Available? Possible Script?
By fitch.j in forum Newbie / General discussionsReplies: 2Last Post: 12th Jun 2009, 06:24 -
PHP script for batch encoding
By gdanko in forum LinuxReplies: 0Last Post: 12th Oct 2008, 03:32