ErsatzTV
ErsatzTV copied to clipboard
External subtitle support with `HLS Direct` streaming mode
I know there's currently basic support for embedded subtitles, but sadly the vast majority of mine are external ones. Supporting those too would be a very nice addition.
External subtitles are supported using Plex's naming scheme https://support.plex.tv/articles/200471133-adding-local-subtitles-to-your-media/
Some examples are here https://github.com/jasongdove/ErsatzTV/blob/ca5d303ac787aeca00d40971ed1aea866dc51d1a/ErsatzTV.Core.Tests/Metadata/LocalSubtitlesProviderTests.cs#L16-L25
Can you give a specific example where this does not work? Perhaps there is a bug to fix.
Oh, that's interesting, so far only the embedded ones are getting picked up for me. I'll do some testing and get back to you.
Ah, so specifically I'm looking for support for external subtitles when using HLS DIrect, when transcoding they work great.
When using HLS Direct and an external .srt the stream refuses to play, and I get:
Forcing 1 ffmpeg thread due to buggy combination of stream seek and realtime output
Forcing 1 ffmpeg thread due to buggy combination of stream seek and realtime output
This is an info message (not a warning) just telling you that your thread setting from the ffmpeg profile is being ignored.
external subtitles when using HLS Direct
This would definitely be a new feature. Will track it here.
See https://github.com/jasongdove/ErsatzTV/issues/1138 for discussion on embedded subtitles with HLS Direct
. Once embedded subtitles are working, I can then look at external subtitles.