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
Limit transcoding profiles with maximum resolution #3343
Limit transcoding profiles with maximum resolution #3343
Conversation
b5e4a8e
to
10685dc
Compare
10685dc
to
70e6f94
Compare
70e6f94
to
9c9142d
Compare
9c9142d
to
248d756
Compare
c2d2cf4
to
55c7ff7
Compare
The current implementation requires a dependency loop ( Alternatively, we can post-process the profile: dmitrylyzo@e502200 |
@dmitrylyzo Could the max width be passed to the profile builder as an "option"? https://github.com/jellyfin/jellyfin-web/blob/master/src/components/apphost.js#L38-L39 |
Yes, it is possible (it was my 2nd option), but in this case the resolution limiting will only work in the browser - apps will need to update their The 3rd option (in the comment above) allows post-processing of any profile, but the app has no options to control that (not a problem to add though). |
👍 I think it's reasonable to expect clients that provide their own profiles to also be responsible for handling the resolution limits. In theory they should be able to determine resolution more accurately anyway. |
There is a new As for options, I think we should leave the next higher resolution, i.e. if the screen width greater than 1930 (+10 for sure) add 4K options. We also need to support portrait oriented videos, but we currently lock the screen in landscape. |
Why exactly do we allow the next bigger resolution too? IMHO exactly that should not be done because afaik it leads to |
Quality options don't affect the transcoding resolution limit. The next bigger resolution is for:
For example, you have 2K display, but only 1080p is allowed. |
Personally, I lean toward the post-processing version:
|
62dd2dc
to
c42b5ea
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Save some CPU cycles and network bandwidth when transcoding 🤞
Changes
4K
options are disabled.Allow next higher resolution
Requires jellyfin/jellyfin#7197 and jellyfin/jellyfin#7198