-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Only do DoVi remux when the client supports profiles without fallbacks #13113
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
Only do DoVi remux when the client supports profiles without fallbacks #13113
Conversation
In 10.10 clients that can only play the fallback layer like the Samsung TVs will report `DOVIWithHDR10` as supported video range, but the server should not do remux in DoVi as the client can only play the fallback layer. This changes the server to only do DoVi remux when the client can play DoVi videos without a fallback layer.
Only do DoVi remux when the client supports profiles without fallbacks Original-merge: 9464f9e Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Bond_009 <bond.009@outlook.com>
The |
LG TV and Samsung TV has different logics because for Samsung TVs there are no DoVi capabilities at all so those color ranges are reported purely for the fallback layer. On LG TVs the real DoVi without fallback is always reported on supported TVs. The reason behind this change is that Samsung TV also has buggy HLS player that struggles with seeking. |
Don't they share the client code? Those capabilities can't be reported as far as I recall without |
it is directly hard coded. |
I will have to look deeper into the client code. Thanks for explaining! |
Does this trigger a re-encode then or is the fallback layer remuxed then? |
Only the fallback layer is remuxed |
That modification breaks DoVi playback on my LG C2. Just tested Jellyfin with and without this code modification. The new code lead to HDR fallback of all my DoVi (profile 8.1) files muxed in MKV. Other containers were not tested since not available. With the old code, everything is working fine. I did not really proceed far with debugging, but variable "videoIsDoVi" seems to be set properly, but "clientSupportsDoVi" not. I am using the recent Jellyfin player from LG webstore. Maybe the player is not reporting DoVi modes without fallbacks?! |
The only reason that is missing is that your device is not reporting profile 5 support. We are already doing hacks for profile 8 on webOS, maybe we should do the same for profile 5 as the feature detection is not reliable on webOS: |
In 10.10 clients that can only play the fallback layer like the Samsung TVs will report
DOVIWithHDR10
as supported video range, but the server should not do remux in DoVi as the client can only play the fallback layer. This changes the server to only do DoVi remux when the client can play DoVi videos without a fallback layer.Changes
Issues
Forum report: https://forum.jellyfin.org/t-issue-with-playback-of-hevc-files-in-jellyfin-dolby-vision-tag-misconfiguration?pid=43992