-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
Exoplayer loading the wrong subtitle #944
Comments
Could you try the 2.5.0-beta.1 please? We released that update the other day, it should contain a fix for your issue. |
Still the same bug with 2.5.0-beta 1, and this bug only occurs when using exoplayer since the web player is working correctly and external players doesnt auto load subs anyway. |
I'm currently facing the same issue. 2.5.0-beta 1 does not seem to resolve it. It seems like the player selects the subtitles next in line of the subtitles you select. |
I can also confirm that ExoPlayer loads other subtitle that I didn't select. When using Web based player, It loads subtitle flawlessly. |
Not resolved in 2.5.0-beta2 |
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label. This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media. |
Works as it should in 2.5.2 |
This comment has been minimized.
This comment has been minimized.
The issue persists in 2.6.1 and latest git. It appears that the bug happens when video and audio track come after subtitle tracks (e.g. Subtitle tracks are 0-4, video and audio tracks are 5,6). A temporary solution is remapping video and audio to first tracks. My hypothesis is that ExoPlayer is remapping video and audio to the first tracks. |
Describe the bug
I'm facing this subtitle loading bug.
Subtitle settings:
The server correctly detect the chinese subtitles and use it to play the media
As the logs shows below, the server send the file without subtitle index.
[2023-01-01 20:58:32.617 +00:00] [INF] [45] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Jellyfin Android", Path="/media/series/Romantic Killer/Season 1/Romantic Killer - S01E09 - Ginger Ale Is a Force Majeure WEBRip-1080p.mkv", AudioStreamIndex=null, SubtitleStreamIndex=null ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/2c8882d8-0158-68c7-6d25-6e0ac6b4c484/stream.mkv?MediaSourceId=2c8882d8015868c76d256e0ac6b4c484&Static=true&VideoCodec=hevc&AudioCodec=aac&AudioStreamIndex=3&api_key=<token>&Tag=8419c1b4b8e397a4fe5412e504ea7d35"
Bug:
Exoplayer is playing the english subtitle despite the UI shows its a chinese subtitle (When I switched to english subtitle it displays chinese subtitle instead, the subtitle index was wrong).
Media Info of the file:
The Web UI and desktop jellyfin media player and the webplayer inside jellyfin android client doesn't have this bug.
For comparison:
Jellyfin media player or Web UI, the subtitle index was correct.
And in the log you can clearly see the
SubtitleStreamIndex=4
is there[2023-01-01 21:17:10.980 +00:00] [INF] [8] Jellyfin.Api.Helpers.MediaInfoHelper: StreamBuilder.BuildVideoItem( Profile="Jellyfin Media Player", Path="/media/series/Romantic Killer/Season 1/Romantic Killer - S01E09 - Ginger Ale Is a Force Majeure WEBRip-1080p.mkv", AudioStreamIndex=3, SubtitleStreamIndex=4 ) => ( PlayMethod=DirectPlay, TranscodeReason=0 ) "media:/videos/2c8882d8-0158-68c7-6d25-6e0ac6b4c484/stream.mkv?MediaSourceId=2c8882d8015868c76d256e0ac6b4c484&Static=true&VideoCodec=hevc&AudioCodec=aac&AudioStreamIndex=3&SubtitleStreamIndex=4&api_key=<token>&SubtitleMethod=Embed&Tag=8419c1b4b8e397a4fe5412e504ea7d35"
Application version
2.4.4
Where did you install the app from?
Google Play
Device information
Lenovo XiaoXin Pad Pro 2021
Android version
Android 11 OEM
Jellyfin server version
10.8.8
Which video player implementations does this bug apply to?
The text was updated successfully, but these errors were encountered: