Embed external subtitles to mkv on the fly

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: Embed external subtitles to mkv on the fly

Post by Nadahar »

UMS doesn't transcode to MKV at all with the current implementation, so the answer to that is no. That said, you could use FFmpeg to mux the subtitles into the files manually (but I expect that you want to avoid that).

Are you sure that your renderer doesn't support external SRT subtitles via DLNA? Since it can utilize them from USB, and when they are embedded, I would think that it could handle external ones as well. The problem is that DLNA itself doesn't define a way to specify a separate subtitles stream, so there are some unofficial ways to do it that many renderers support. Samsung have made one unofficial way to specify it and Panasonic another one. Some others support one of these methods, and I think a very you can also handle them as a simple "additional resource" listed in much the same way as for example a thumbnail is.

Since none of this is standard, it must be enabled for the renderer. For MiniDLNA I don't know which of these it supports, if any, and how you can enabled them. For UMS this can be handled in the renderer configuration file. That would remove the need for transcoding alltogether.
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: Embed external subtitles to mkv on the fly

Post by Nadahar »

UMS transcodes to MPEG-2 Transport Stream "by default". MPEG-2 PS and Windows Media is implemented as well, but TS is the "primary target". But, it doesn't mux in the subtitles, although it would probably be possible to do. What it does instead is to transcode the source and "burn in" the subtitles.
Post Reply