Page 1 of 1

Importing SRT on a .mkv video file

Posted: Mon May 16, 2016 2:18 pm
by zax
Please detail your question or problem in as much detail as possible:
I would like to process a .mkv file in order to output a smaller .mkv video file and add subtible by importing a .srt file.
The subtitle file correcly appears in Handbrake UI when I use the "Import STR" button but subtitles are not shown on the movie, either with "Default" or "Burn in" options.

Although it seems simple, I don't know what I'm doing wrong.
Thank you for your help.

Tell us about your environment. What version of HandBrake? What version of Windows are you running. etc.
0.10.5
Windows 7

If there was any exception or error displayed, please copy it and paste it here:
-
Please include the scan or encode log:
scanlog
http://pastebin.com/D176Xan3

encode log
http://pastebin.com/ddhM24XB

Re: Importing SRT on a .mkv video file

Posted: Mon May 16, 2016 7:27 pm
by HandyMan
You could mux the .srt with MKVToolNix after HandBrake encode the file

Re: Importing SRT on a .mkv video file

Posted: Tue May 17, 2016 5:13 pm
by zax
Yes, it works, thanks for the tips. :)

(though I still don't understand why it don't work with Handbrake)

Re: Importing SRT on a .mkv video file

Posted: Wed May 18, 2016 2:55 pm
by Rodeo
The encode log is incomplete, it's missing the end (which includes the mux statistics, including the number of subtitle "frames" present in the output).

Most likely explanation, however, is that the SRT file you're importing is not UTF-8 encoded; you can use some text editors to either detect the charset of the input SRT (and then select it in HandBrake), or convert it to UTF-8.

Re: Importing SRT on a .mkv video file

Posted: Sun May 22, 2016 5:08 pm
by zax
OK, I'll check the imported SRT.
Thanks for this possible solution.