VideoHelp Forum


Try DVDFab Video Downloader and rip Netflix video! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. 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.
    Quote Quote  
  2. 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"
    Quote Quote  
  3. 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!
    Quote Quote  
  4. Maybe first you should you should specify your "Computor Details" in your user profile so we can see your OS.

    Image
    [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"
    )
    if you're using Windows.
    Last edited by videobruger; 10th Oct 2020 at 10:32. Reason: Clarification
    Quote Quote  
  5. 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.
    Quote Quote  



Similar Threads