-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
Added a preferred stream quality option #266
base: main
Are you sure you want to change the base?
Added a preferred stream quality option #266
Conversation
So ... It basically means transcoding is now a thing on Findroid ? |
…ty-selection # Conflicts: # core/src/main/res/xml/fragment_settings_player.xml
Changed DropDownPreference to ListPreference to suit the new style, as per @Yash-Garg 's suggestion. |
Fixed merge conflicts for imports, this should be good now |
Still had a few errors left, this now passes the CI build |
Is there a Test apk to download? |
You can check the artifacts for this PR here. |
Does it consume less bandwidth or is it just a local resolution selector? Will there be a setting to set it to different Values when using WIFI or mobile? |
The transcoding is done server side, so that it consumes less bandwith. |
@e2fo2l I have yet to fully test this but is it normal for the Jellyfin dashboard to say the the file is direct playing while obviously transcoding? (High FFmpeg usage and lower video quality) |
I don't know, the transcodeReason is properly set to "ContainerBitrateExceedsLimit" when requesting the HLS stream, perhaps there is another parameter missing so that jellyfin properly logs the transcoding |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works perfectly! Although the Jellyfin panel says it doesn't transcode and it's a direct play. And a suggestion: maybe add it per video like YouTube has? Thanks for the PR!
Why don't they accept PR? I have a pretty weak tablet that can't play 1080p |
I think he's not getting much time, let's wait for a reply. I'll suggest to use the build that is generated or create one from this PR in the meantime. |
Hello, I haven't had the time to thoroughly troubleshoot the issue with the web panel not showing the stream as being transcoded. To me, that seems like an issue on Jellyfin's end though, because the video IS being transcoded, and should be reported as such. @OpenSourceSimon Ideally, I would also like the option to have the resolution selector directly in the player, however, I don't have that much experience working with ExoPlayer. This could maybe be implemented in a separate PR. |
Sorry for the long wait everyone. I have indeed been pretty busy lately. I am also more a fan of a resolution selector directly in the player UI but that can indeed be implemented in a separate PR. I am also not sure yet how that would be implemented but I'm sure someone will figure it out 😄 |
Any update? |
1 similar comment
Any update? |
Hello, |
There is any update? |
Added the option to select a preferred stream quality in the player settings. This works for both ExoPlayer and mpv.
You can either request the original file, or ask for a specific resolution (4K, 1080p, 720p, 480p, 360p).
If the asked resolution is lower than the original file's, it will require transcoding.
Ideally, the option to switch the quality should have been directly inside the player, however, I haven't found an easy way to set different stream URLs for different resolutions.
Please note that this option is only for video streaming, downloads still use the original file regardless.