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.
New members: Please do not post or PM asking where to get something. Projects are for long term, participating members only. Stick around and make some friends
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.
New members: Please do not post or PM asking where to get something. Projects are for long term, participating members only. Stick around and make some friends
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
New members: Please do not post or PM asking where to get something. Projects are for long term, participating members only. Stick around and make some friends
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
  Options for Removing Burned in Subtitles bronan 2 448 2019-01-07, 09:30 PM
Last Post: springfeel

Forum Jump:


Users browsing this thread: 1 Guest(s)