-
-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebVTT subtitles not working in integrated player (ExoPlayer) #1312
Comments
It was fixed yes, but I don't think it was backported to the current Jellyfin 10.8 releases. |
You’re completely right, your commit (thank you) isn’t present in the current server release (10.8.13). I should have checked that beforehand and not just looked at the release date, my bad. So I’m closing this issue and will maybe test a server build from the main branch soon. |
Not sure, maybe Android TV uses a different way to fetch the subtitles? I just know in this case the Android app was using the URL provided by the server, which turned out to be incorrect. |
I’ve built a patched version of 10.8.13 with your commits and it solves the issue with external .vtt-files. No error in the server log anymore. Unfortunately, embedded WebVTT subtitles (embedded with mkvmerge/mkvtoolnixgui) still don’t render (it seemed to work after selecting them in ExoPlayer, but only the external subs are rendered even when never selected). This confirms my assumption that this is caused by something different, presumably not server related. I’m reopening this issue therefore. |
Describe the bug
When I add an external WebVTT subtitle file to any of my movies, i. e. "Example (1999).vtt", they work as expected in the web player and in the ExoPlayer-based player of the Android TV app, but they aren’t displayed in the ExoPlayer-based player of the Android app. There is an entry in the server logs (see below) that suggests that it attempts to load a file named "Stream.webvtt". When I attempt to open it in a web browser, it just shows "Error processing request.". However, when I replace .webvtt with .vtt, I can see the complete WebVTT file in the web browser (how it’s intended, I guess). So I think the error might be the wrong file extension. Strangely, my issue is quite similar to #1028 , but as stated there, it should already be resolved.
I don’t know if it has to do with this issue, but WebVTT subtitles embedded in a mkv container don’t work either in the integrated player of the Android app for me, but they do in the Android TV app and in the web player. The difference is that, in this case, the entry with the wrong file extension is not present in the server log, suggesting that the issue might not be exactly the same.
By the way, I’ve disabled video transcoding to guarantee that the subtitles are not just burned in.
EDIT: External WebVTT subtitles are indeed working with jellyfin/jellyfin/pull/9669, it just wasn’t present in my build. But WebVTT subtitles embedded with MKVToolNix or mkvmerge still aren’t rendered. When reproducing it, you need to make sure you see the correct subtitles (e. g. by editing the external .vtt file), because for some reason the external subtitles are displayed if both external and embedded subs are present for the same movie, even when you select the embedded subtitle track beforehand in the app or afterwards in the player. All of this is exclusively present in the Android app with ExoPlayer, it works as expected in the Android TV app, desktop and web client and Android app with web player.
Logs
Application version
2.6.0
Where did you install the app from?
Google Play
Device information
Samsung Galaxy S21 FE
Android version
Android 14
Jellyfin server version
10.8.13
Which video player implementations does this bug apply to?
The text was updated successfully, but these errors were encountered: