I have a list like:
VideoTitle.s01e01.mkv
VideoTitle.s01e01.srt
VideoTitle.s01e02.mkv
VideoTitle.s01e02.srt
VideoTitle.s01e03.mkv
VideoTitle.s01e03.srt
VideoTitle.s01e04.mkv
VideoTitle.s01e04.srt
etc.etc.
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.
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 5 of 5
Thread
-
-
The GUI does not have that feature, unfortunately.
There is simple CLI command:
Code:for %%a in (*.mkv) do mkvmerge -o "output\%%~a" "%%~a" "%%~na.srt"
-
Thanks!
But ehm...
Sorry... to be honest, I am not sure how to do that.
I have the portable version of mkvtoolnix in this folder.
D:\Downloads\mkvtoolnix-64-bit-51.0.0\mkvtoolnix
Say the below files are in
D:\Videos
VideoTitle.s01e01.mkv
VideoTitle.s01e01.srt
VideoTitle.s01e02.mkv
VideoTitle.s01e02.srt
VideoTitle.s01e03.mkv
VideoTitle.s01e03.srt
VideoTitle.s01e04.mkv
VideoTitle.s01e04.srt
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
Code:for %%g in (*.mkv) do ( ffmpeg -i "%%g" -i "%%~ng.srt" -c copy "%%~ng_sub.mkv" )
Last edited by videobruger; 10th Oct 2020 at 09: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.
etc.
Similar Threads
-
Batch remove subtitles from mkv files
By rumblylwc in forum SubtitleReplies: 19Last Post: 26th Feb 2024, 07:15 -
How to easily burn in/hardcode srt subtitles to mp4/mkv with VidCoder
By Baldrick in forum User guidesReplies: 63Last Post: 17th Jun 2019, 15:31 -
Handbrake's best settings to simply burn .srt over a .mkv
By coderkidz in forum SubtitleReplies: 3Last Post: 27th Mar 2019, 05:47 -
Mkv's batch srt mux
By euphonic in forum EditingReplies: 8Last Post: 2nd Nov 2016, 13:36 -
Batch merging MKV and SRT
By Fransman6080 in forum Newbie / General discussionsReplies: 3Last Post: 26th Jun 2016, 03:27