-
-
Notifications
You must be signed in to change notification settings - Fork 310
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
Can't select subtitles, it jumps back to none #1256
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Last update in AppStore indicates that the issue solved , did you guys still have it. |
This comment has been minimized.
This comment has been minimized.
I believe the goal is for this refactor to be shipped in the 1.3 final version: |
seeing this issue still, shouldn't be that hard to fix, I'll take a look myself |
This comment has been minimized.
This comment has been minimized.
anyone tried to verify if Gondnat's changes fix the issue? if they do, would be great to have them merged and an update pushed to app store |
Jeah +1 for this issue. It's quite an essential feature which can be off putting for new users of the live app in the appstore. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I can still see the same issue on Testflight version 1.3(3), reproduced with external ASS, external VTT, and external SUBRIP. Note that internal ASS (in a mkv container with internal ttf attachment) and image-based sub/idx subtitles will display (since they are considered incompatible and transcoding is done to burn them in), but any selections in an attempt to change subtitles or turn them off will not work. Before that, on the 1.2 Appstore release, the subtitles sometimes works because the video starts playing with them on, but scrubbing or locking and unlocking the screen will make them go away with no way to bring them back. I have not found a way to reliably reproduce this behavior. I don't know if Testflight 1.3(3) includes the changes made by Gondnat above... I am not versed in compiling from source and testing iOS apps at all and I hope my limited help can get us somewhere. Please let me know if I can provide any additional information. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
I'm experiencing weird subtitles issues as well... For some files, I have english subs directly in the mkv file, as well as external french sub. On jellyfin I can basically play any sub. On Swiftfin however, it's another story. On apple tv, I can see both files to choose from correctly (marked as english and french), but whichever I select only the french subtitles are displayed. On iPhone, I can see 2 subtitles files to choose from, but they are both marked as the french subtitle, and I cannot display either one anyway... Would love to see a fix as this is truly an important feature! Would do it myself if I could, but I literally have 0 experience in swift... |
This comment has been minimized.
This comment has been minimized.
I'm in the busy season at my job so I don't know if I have a lot of bandwidth to own this, but I did have a chance to do some research on this. I added my code and what I found on the #1311 so hopefully that is able to assist them get these changes in before the final 1.3 version is released. Before
After
What is going on?Direct Play Jellyfin provides the full file with all video & audio tracks included. External tracks from Jellyfin are provided at the beginning while VLCKit needs them at the end. To resolve the external track issue, we move all internal track indexes to the beginning and all external tracks to the end. As a result, all tracks are playable. I found external audio was playable but only if it did not require transcoding. Transcodes Jellyfin provides a transcoded file that only contains 1 video track and 1 audio track. Subtitle tracks are accessible using index 2+. To resolve the external subtitle track issue, I start the subtitles at index 2 and count up with each one. It's very simple but in testing, this was working without fail. To make this work fully, there is a lot of reworking that I think #1203 is already covering. The gist of this is we would need to better follow how it's done here: On Jellyfin-Web, transcodes don't try to change the selected audio track because transcodes don't have a second audio track. Instead, they create a new PlaybackURL with the selected track and switch the user over to that using the I would argue, for now, the solution I provided gets us ~70% of the way there with minimal impact to #1203 & the UnknownsI don't personally use external subtitles, preferring to encode everything into MKV. As a result, all of my testing was using files I created specifically for this. This leaves us with some potential unknowns and test cases that need to be validated:
TestingI have all of my changes made here: https://github.com/JPKribs/Swiftfin/tree/trackSelection if you know how to pull and build from XCode. Any assistance in eliminating some of our Unknowns (see above) would be a great help! Since #1311 was initiated by another contributor, I want to respect their ownership of that work. I don't intend on creating any competing PRs, and I'm happy to let them decide which aspects of this implementation they'd like to incorporate. I just wanted to provide this work in the hopes that it helps us better resolve this issue. Additionally, I hope to put out a call for testers since there is a lot of variation between how people use Jellyfin. Testers ensure we better capture edge cases. |
Describe the bug
Thank you all for this fantastic app.
When I click on a subtitle, I expect it to load. However, that doesn’t happen: it switches back to "none" and doesn’t display any subtitles. This occurs with all SUBRIP languages in this video. However, it doesn’t happen with all series/movies. I haven’t been able to find a reason why it doesn’t work with this file but does with other films/series.
I’ve tried the following:
When I installed an earlier TestFlight build (1.2 (3)), the problem was resolved. The issue is also not present in the App Store version.
I suspect it is related to this PR: #1219
Hopefully, @cebrusfs, you can take a look at this due to your previous commit. My apologies if this tag is not appreciated.
This video shows the bug: (TestFlight 1.2 (4))
subtitlesnotwork.2.mp4
This is how it should work: (TestFlight 1.2 (3) / App Store version)
subtitleswork.2.mp4
Original media file (added the SUBRIP manualy in jellyfin)
Application version
1.2 (4)
Where did you install the app from?
TestFlight
Device information
iPhone 14 Pro Max
OS version
iOS 18.0.1
Jellyfin server version
10.9.11
The text was updated successfully, but these errors were encountered: