Discussion Forums > Technology
Batch Muxer
(1/1)
Sakura90:
Hi!
I have to remux 70 MKVs. Basically, I have a MKV with 2 tracks (video and audio), an ASS file and a font file. I need to put all that together, along with setting the track names, languages, and default track flag. That for 70 files ;D. Doing that by hand will take forever, and patience is not one of my virtues (I had enough alredy editing 70 subs xD). The thing is: the process is always the same, same tracks, same names, languages, font and default flag. Only changes the episode numer (for eg. Ep01.mkv/Ep01.ass, Ep02.mkv/Ep02.ass, etc). Is there any way to set up Ep1 for muxing and then, changing the name of the input files, repeat that for the rest of the episodes?
That, or any other easy way for batch muxing :-*
Thx n.n
kureshii:
Batch scripting.
Temuthril:
--- Code: ---
for %%a in (*.ass) do mkvmerge.exe -o %%a_muxed.mkv -a %%~na.mkv -d %%~na.mkv -attachment font.ttf
--- End code ---
That's assuming the video files are named the same as subtitles files. Check mkvmerge documentation for track names and stuff.
Correct me if I'm wrong, I didn't test that.
Sakura90:
Thanks! But I already did it. What I did was arrange everything for muxing one episode in mkvmerge GUI, saved the command line as a .bat and edited it repeating the command for the 70 episodes (changing the ep. number). I'm not at home now, but it was similar to what you posted, except it was repeated 70 times, lol ;D
Now I have another problem, but it has nothing to do with batches :(
Navigation
[0] Message Index
Go to full version