I have a list like:
I want to batch burn in the subtitles.
Right now I use mkvtoolnix-gui.exe, then 'add', select 2 files, so VideoTitle.s01e01.mkv and VideoTitle.s01e01.srt, start multiplexing.
This for each 'set'
I can add that to a batch, but I do not see a way that I can select all files and the program will then detect then burn in the subtitles per file
(based on the video file name being the same)
If it isn't possible, then so be it. It's just a 'it-would-have-been-nice' thing.
+ Reply to Thread
Results 1 to 5 of 5
The GUI does not have that feature, unfortunately.
There is simple CLI command:
for %%a in (*.mkv) do mkvmerge -o "output\%%~a" "%%~a" "%%~na.srt"
Sorry... to be honest, I am not sure how to do that.
I have the portable version of mkvtoolnix in this folder.
Say the below files are in
How to proceed then?
Could you pls give me a hint how to do what and where?
Sorry, I am not an expert on this.
Thanks a lot!
Maybe first you should you should specify your "Computor Details" in your user profile so we can see your OS.
[Attachment 55401 - Click to enlarge]
You write you want burn-in subtitles, ie subtitles that are part of the video; can't be turrned off and requires re-encoding of the video. But my impression is that actually you want soft coded subtitles, ie subtitles that can be turned on and off and doesn't requires re-encoding of the video (and is also how Sneaker has answered).
So clarify this.
Is it softcoded subtitles what you want you could also use a batch job like
for %%g in (*.mkv) do ( ffmpeg -i "%%g" -i "%%~ng.srt" -c copy "%%~ng_sub.mkv" )
Last edited by videobruger; 10th Oct 2020 at 10:32. Reason: Clarification
Thanks for the reply.
Well, I said, I am not familiar with batch jobs. I have solved it now:
1. launch mkvtoolnix-gui.exe
2. click [Add] and select .mkv and the corresponding .srt file (VideoTitle.s01e01.mkv + VideoTitle.s01e01.srt)
3. click [Start multiplexing], a new videofile is created VideoTitle.s01e01 (1).mkv
4. when done, close mkvtoolnix-gui, delete the 2 source files, remove the (1) from the name
do step 1-4 for the next two files.