I have this anime called Fairy Tail and in each video file it has 2 Audio Track(Eng,Jpn),and 2 Sub Track(Eng Sign/Song Only,Eng Sub)
Information about ID :
ID :
0 = Video Itself
1 = Eng Audio
2 = Jap Audio
3 = Eng Sign/Song Sub
4 = Eng Sub
and i would like it to only have Jap Audio with Eng Sub ( Id 2 and 4 )
the script that i have right now goes like this
set mkvmerge ="C:/Program Files/MKVToolNix\mkvmerge.exe"
set output_folder=E:\Fairy Tail
for /r %%a in (*.mkv) do call %mkvmerge% -o "%output_folder%\%%~na.mkv" --audio-tracks 2 --subtitle-tracks 4 --language 0:und --default-track 0:yes --language 2:jpn --language 4:eng --track-name ^"4:English Subs Retail^" --default-track 4:yes ^"^ "%%a" --track-order 0:0,0:2,0:4
but it didn't work ,opened with cmd and there were some lines going fast and i can't read it at all and instant close after it is done but nothing happened and you can see about example info from MKVTooLnix itself about the video file from the picture i attach.
Looking forward for your help
Edit : Problem Solved
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 10 of 10
Thread
-
Last edited by Inoyama; 9th Jan 2018 at 14:24. Reason: Result of Consulting in Forum
-
Hi,
in Mkvtoolnix uncheck unwanted tracks at least(ID 1) but probably also chapters and global tags. Rename destination file to something reasonabel E:\movie.mkv
And let us know, what happened.
Edit: actually good think to do is also rename your source file to something less complicated.
BernixLast edited by Bernix; 9th Jan 2018 at 07:34. Reason: file instead folder and EDIT
-
First line: there must be no space between "mkvmerge" and "=".
Third line: The ^"^ doesn't belong.
For future: add line at the end with "pause". Then you can read error messages because window won't close.
Code:set mkvmerge="C:/Program Files/MKVToolNix\mkvmerge.exe" set output_folder=E:\Fairy Tail for /r %%a in (*.mkv) do call %mkvmerge% -o "%output_folder%\%%~na.mkv" --audio-tracks 2 --subtitle-tracks 4 --language 0:und --default-track 0:yes --language 2:jpn --language 4:eng --track-name ^"4:English Subs Retail^" --default-track 4:yes "%%a" pause
-
there is too many file if want to renamed it to short one,there is 175 files of it,is there any way to batch rename file?
I tried using your code and it tells me that there will be duplicate or something ( i included picture in the attachment when i use yours code )
For some reason i can't open MKVBatch because of missing UnitSuiteFree.ocx ,im using Windows 10 64 bit fyi
tried to google it how to fix it but couldn't find any way to fix it at all -
For renaming there is lots of programs.
For example very good program called Bulk rename utility. It can remove spaces, has plenty of option and supports regular expressions.
Bernix -
-
Similar Threads
-
BATCH remove audio track from mkv
By MarquisdeOz in forum AudioReplies: 53Last Post: 30th Jul 2018, 08:48 -
Batch Mkvmerge change default audio, subitle + delete audio
By alloar in forum Newbie / General discussionsReplies: 2Last Post: 8th Jan 2018, 15:38 -
Batch remove audio streams and subtitles from several mkv?
By samus88 in forum AudioReplies: 3Last Post: 30th Dec 2016, 02:56 -
Mkvtoolnix Batch Remove Audio OSX
By neostylez in forum Newbie / General discussionsReplies: 13Last Post: 27th Dec 2016, 08:42 -
How do I (BATCH) set a specific subtitle track, and audio track as default?
By MountainSplash00 in forum Newbie / General discussionsReplies: 3Last Post: 2nd Dec 2014, 06:53