Hello guest, if you like this forum, why don't you register? https://fanrestore.com/member.php?action=register (December 14, 2021) x

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MKVmerge and Subtitles
Stupid question. I have a video file the is a certain length and subs for that video that are a little too long (by a little less then a min). Is there a way in MKVmerge to create the mkv to the length of the video and not the subs?

When I mux the video and subs, the running time is that of the subs. Which means a minute of extra black frames at the end. I tried cutting the file in mkmerge to the length of the video or spiting the file to the length of the video but neither work.

I don't want to go in and edit the subs since this should work in mkvmerge but its not and it feels like I'm missing something obvious.
Thanks given by:
As splitting by duration does not work (possibly because of the format of the subs), I don't think there's a way in MKVToolNix. You might try ffmpeg instead.
Thanks given by:
Unfortunately I have nothing outright helpful to say, but personally I'd try if it happens no matter the type (SRT/VOB/PGS/...) of the subtitle, to see if maybe it is a problem with a specific type of sub.
Thanks given by:
As I never had this situation so far I just did a test in latest MKVToolNix with SRT text subs. Although MediaInfo reads the resulting video file as a longer than video stream is, playback ends when video stream ends. There are no additional frames with overhead subtitle lines.
Thanks given by:
Yeah, I guess that the subs are SUP and that avoiding conversion is the idea. If trying different formats were an option, then truncating them would presumably be an option (because while you are doing one, you can just as easily do the other).
Thanks given by:
Good guess, the subs are sups hence the trying to not convert them. It was a mystery to me as to why mkvmerge will cut video and audio without hesitation but the sups are a roadblock.

MPC HC and VLC definitely show and play an additional min of blank space at the end to accommodate the sup subs.

Is there a way to shorten sups without getting into the weeds of “opening” them up

Thanks for the feedback guys.
Thanks given by:
Check out these two


Thanks given by:
Cool, I'll give those a try. Thanks Plissken
Thanks given by:

Possibly Related Threads…
Thread Author Replies Views Last Post
  Adding and editing subtitles... Bo Lero 8 3,506 2021-09-19, 08:48 AM
Last Post: Bo Lero
  Is there any tool to edit and resynchronize Blu-ray PGS SUP subtitles? Onti 2 1,952 2021-07-18, 06:48 AM
Last Post: BusterD
  [Help] Frame-accurate subtitles theprion 3 1,809 2021-05-15, 11:11 PM
Last Post: Beber
  How to tone map PGS subtitles? BDgeek 17 7,354 2021-04-23, 12:02 PM
Last Post: Beber
  [Help] Enable default subtitles on a Blu-ray NeonBible 5 2,651 2020-10-15, 07:15 AM
Last Post: Doctor M

Forum Jump:

Users browsing this thread: 1 Guest(s)