Re: Embed external subtitles to mkv on the fly
Posted: Sat Feb 08, 2020 11:14 am
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.
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.