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
#1
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.
Reply
Thanks given by:
#2
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.
Reply
Thanks given by:
#3
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.
Reply
Thanks given by:
#4
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.
Reply
Thanks given by:
#5
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).
Reply
Thanks given by:
#6
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.
Reply
Thanks given by:
#7
Check out these two

https://forum.videohelp.com/threads/3825...ithout-OCR

http://forum.doom9.org/showthread.php?p=1737122
Reply
Thanks given by:
#8
Cool, I'll give those a try. Thanks Plissken
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
  Adding and editing subtitles... Bo Lero 8 4,437 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 2,393 2021-07-18, 06:48 AM
Last Post: BusterD
  [Help] Frame-accurate subtitles theprion 3 2,221 2021-05-15, 11:11 PM
Last Post: Beber
  How to tone map PGS subtitles? BDgeek 17 8,975 2021-04-23, 12:02 PM
Last Post: Beber
  [Help] Enable default subtitles on a Blu-ray NeonBible 5 3,215 2020-10-15, 07:15 AM
Last Post: Doctor M

Forum Jump:


Users browsing this thread: 1 Guest(s)