-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add stricter checks for DolbyVision in HEVC #5184
Conversation
Signed-off-by: nyanmisaka <[email protected]>
dff1a07
to
113c59f
Compare
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
Cloudflare Pages deployment
|
@@ -930,7 +938,7 @@ export default function (options) { | |||
av1VideoRangeTypes += '|HLG'; | |||
} | |||
|
|||
if (supportsDolbyVision(options)) { | |||
if (supportsDolbyVision(options) && canPlayDolbyVisionHevc(videoTestElement)) { |
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.
Iirc, canPlayType
doesn't always work correctly on some platforms. So we probably shouldn't call canPlayDolbyVisionHevc
on Tizen(it doesn't support DV) and webOS.
We need someone to test this on real webOS.
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.
IIRC Samsung only seems to be focused on promoting their HDR10 Plus, if they enable DolbyVision in the future we could add it back.
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.
There's some discussion about LG TV that they do have DolbyVision working.
And the mp4box of properly encoded progressive and fMP4 HLS streams should have similar metadata for the player to recognize and trigger DolbyVision.
HLS.js currently does not seem to be able to correctly handle the relationship between dvh1
and hvc1
, and will fail if WebOS does not support native HLS.
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.
There's some discussion about LG TV that they do have DolbyVision working.
My concern is that canPlayType
is not reliable. If it works properly on modern webOS (older ones hardly support DV), then no problem.
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.
I'm wondering how the TV client utilizes this boolean options.supportsDolbyVision
? Is there a button I didn't notice?
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.
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.
Hey, just chiming in to confirm this works fine on my 2022 webos.
Hello. I checked version 1.5.7 hls.js browser of LG webOS does not respond to Dolby Vision. |
This change so currently not available in stable branch and therefore not in the We is app. |
Changes
Using
ios
andosx
version checking is not reliable. Also Apple has adopted AV1 but hasn't enabled it in HLS yet, so we may need to add checks for DolbyVision in AV1 in the future.