Page 1 of 1

mkv subtitles problem

PostPosted: Wed Jun 26, 2019 5:17 pm
by 3031
hi

i have noticed yesterday problem with subtitles in mkv video files (ffmpeg -i -> Subtitle: hdmv_pgs_subtitle (default))
with disabled option "Enable burned-in subtitles", on my tv i have type x-matroska and file can be watched but no subtitles. if i enable this option i get error "Unsupported...." and video file won't play. and on my tv it is not anymore x-matroska type of that video files but mpeg. this is happening with all mkv files that were ripped with MakeMKV for Linux. idk if this is the problem with makemkv, serviio, tv (Samsung M series). i tried with generic dlna result is the same.

any idea? how to fix this?

thanks for reading

Re: mkv subtitles problem

PostPosted: Wed Jun 26, 2019 6:41 pm
by atc98092
My gut feeling is it's the Samsung. Their DLNA support is worthless. I gave up on using my TV interface long ago and have used a Roku or Shield instead. Of course, my set is much older than yours, and it's been quite some time since I've tried it. I do recall that I could on occasion get captions, but I can't honestly recall what file it might have been. My rips are all with either MakeMKV or a Blu Ray ripper that kept them in the M2TS container. But that ripper was discontinued after the company was legally threatened over ripping BD, so hasn't been updated for several years.

Re: mkv subtitles problem

PostPosted: Wed Jun 26, 2019 7:12 pm
by 3031
maybe the problem is with makemkv. i tried with handbrake to remultiplex (or whatever this stuff is called :) ) and it seems that it can work with that. but it takes too much time with handbrake to remultiplex. and i don't understand nothing in that handbrake. will i loose quality or not? fast remultiplex? furious remultiplex? normal? ...

Re: mkv subtitles problem

PostPosted: Thu Jun 27, 2019 12:03 am
by atc98092
Handbrake can be frustrating. As you note, there's no way to just remux the video, i.e. just copy the existing video without alteration. But it's outstanding if you need to recode a video into something different.

There's another program called tsMuxeR (https://www.videohelp.com/software/tsMuxeR) that can remux the file into another MKV file or into a TS file, either way not touching the codecs within. So if there's some issue with the container (that's what the MKV is, a container) it generally clears it up. Since it's just a remux, it's quite fast as well.

Re: mkv subtitles problem

PostPosted: Thu Jun 27, 2019 5:02 am
by 3031
hm on my arch linux tsmuxer gives me an error....tsmuxer not found! lol i have to try command line and not gui...
i read in samsung tv manual that there is no support for pgs subtitles :(

Re: mkv subtitles problem

PostPosted: Thu Jun 27, 2019 1:29 pm
by atc98092
3031 wrote:hm on my arch linux tsmuxer gives me an error....tsmuxer not found! lol i have to try command line and not gui...
i read in samsung tv manual that there is no support for pgs subtitles :(

Image based subtitles are not supported on many devices. Roku doesn't support them. I'm not certain about Fire TV, but the Nvidia Shield works great with them. I have my doubts that any TV supports PGS, since that's the default subtitle for Blu Ray discs, and unless the TV has a built in BD player there's really no need for them to support it.

Re: mkv subtitles problem

PostPosted: Sun Nov 03, 2019 11:03 am
by DEJ710
Hi all,

I have some 4k files which have over 40 pgs subtitles in an mkv file container.

Is there a limit on how many of these pgs subtitles are in the mkv, or does Serviio not like pgs subtitles?

If I remux the file with mkvtoolnix without most of the subtitles, the file is indexed successfully and adds to the library.

Re: mkv subtitles problem

PostPosted: Sun Nov 03, 2019 9:54 pm
by atc98092
DEJ710 wrote:Hi all,

I have some 4k files which have over 40 pgs subtitles in an mkv file container.

Is there a limit on how many of these pgs subtitles are in the mkv, or does Serviio not like pgs subtitles?

If I remux the file with mkvtoolnix without most of the subtitles, the file is indexed successfully and adds to the library.


Serviio has no issue with subtitles, but your player might. For example, my Sony BD player knows how to display PGS titles, but will only do so if they are in a TS container. When they are in an MKV container, they are recognized but won't play. Some players, like TVs or Roku devices, don't support PGS at all.

I've never seen that many different subtitle streams in a container, but when I play an MKV movie on my Shield I can choose from any of what's available.

Re: mkv subtitles problem

PostPosted: Mon Nov 04, 2019 7:57 am
by DEJ710
Thanks for your response Dan,

It's strange how Serviio won't even add them to the library. I have not tried to use the subtitles.

I just remove most of them, and then the files add OK.

Re: mkv subtitles problem

PostPosted: Mon Nov 04, 2019 3:56 pm
by atc98092
DEJ710 wrote:Thanks for your response Dan,

It's strange how Serviio won't even add them to the library. I have not tried to use the subtitles.

I just remove most of them, and then the files add OK.


Yeah, strange. Perhaps Zip can offer some advice. Perhaps there is a limit in the DLNA protocol, but I personally have no idea.

Re: mkv subtitles problem

PostPosted: Sun Dec 22, 2019 9:54 am
by lucifer147
How do I sync subtitles with shows I've downloaded from watchseries online There is a delay of 15-20 sec.

Re: mkv subtitles problem

PostPosted: Sun Dec 22, 2019 5:27 pm
by atc98092
lucifer147 wrote:How do I sync subtitles with shows I've downloaded. There is a delay of 15-20 sec.


If you have videos you've downloaded, and trying to use another downloaded SRT file for the subs, it's likely the time stamp in the SRT file doesn't match the video. I think I've seen programs available that can take an SRT file and alter the time stamps by a defined amount, but I can't recall where I've seen it. You'd just have to web search for it.

If the subtitles are embedded in the video, I don't believe there's any way to adjust them, but again I can't say for certainty.