Open truenicoco opened 4 years ago
Hello, in order to choose the audio/sub track, you need to Enable audio/subtitles selection in Jellyfin Settings under Playback tab.
@Ashyni I don't find such options in Jellyfin settings. Are you sure this is what cause my issue? Audio/sub selection works:
So this makes me think the problem is on the kodi add-on side… but I might be wrong.
Yes i was talking about the jellyfin-kodi add-on settings.
You're right! Sorry for doubting you. It is just counter intuitive than even with this option set to disabled, one can still choose audio/subs when no transcoding occurs.
It's a bit weird, but we're kinda working around the restrictions of Kodi in this case.
When we're transcoding here, the subs get burned into the video stream so all Kodi sees is a single video stream with no supplemental audio or subtitle streams it can poll. That's why those options tend to be greyed out during transcoding. However during direct playing we can both read the raw file for embedded streams and request additional external streams that the server may have. In order to change the subtitles during playback in this case, it would need to stop playback entirely, stopping the ffmpeg transcoding session on the server, and then start a new one with the new media streams enabled.
Presumably we should be able to transcode the video stream but still have the option of choosing an external sub file during playback, but I haven't looked into how feasible it is
I don't know how difficult this would be, but if you're modifying the selection it would be great to have the options for Enable audio/subtitles selection be:
I personally don't want the pop-up when direct playing because it can always be changed while playing, but for transcoding it has to be done before.
@bzzbrr The popup won't show if you're direct playing. The option 'Enable audio/subtitles selection' is only relevant to transcoding, where the server either burns the embedded subs, or sends an external text stream to kodi.
When direct playing, you are only able to select audio/subs stream in the kodi video player OSD.
Possibly related, but when I select a burned-in subtitle on a file that will be transcoded it fails to play entirely. The reason I say it might be related is that the internal subtitles do not show as in the OP if you do not select them.
Describe the bug Without transcoding, I can properly choose between audio and subtitles tracks from the kodi interface. However, when activating transcoding, only one (the first I guess) audio track is available. And there is no subtitle available.
To Reproduce
Expected behavior It should offer the different audio tracks and subtitles, as the web client does, even when transcoding is on.
Logs Kodi logs Jellyfin-ffmpeg logs
System (please complete the following information):