feat: Allow EssentialProperty descriptors to be used for Video Colorimetry in DASH#1524
Conversation
…tead of SupplementalProperty for video colorimetry in the DASH manifest.
|
Thanks for contributing! For my own notes: I checked source in Shaka Player and found that HDR info is taken from both EssentialProperty and SupplementalProperty, in that order. |
|
Looks like you have a small error in your tests: https://github.com/shaka-project/shaka-packager/actions/runs/19561994356/job/56079257646?pr=1524 |
|
If you would allow us to make edits in the future, I would be happy to correct small issues like this myself. Let us know when you've pushed a commit to fix this. Also, you might consider running the linter and test cases yourself before upload. Thanks! |
Not allowed by GitHub for organization forks, rather than personal ones! See #1523 (comment) |
|
https://github.com/shaka-project/shaka-packager/actions/runs/19586274341/job/56102029656?pr=1524 |
packager/app/test/testdata/dolby-vision-profile-8-supplemental-codecs/output.mpd
Show resolved
Hide resolved
Oops. Fixed. |
|
Oops, looks like I accidentally closde the PR instead of resolving the conversation. |
packager/app/test/testdata/colorimetry-supplemental-property/output.mpd
Outdated
Show resolved
Hide resolved
…-essential-property
Currently, video colorimetry in the dash manifest is always presented as SupplementalProperty descriptors. This means that a player may choose to ignore them.
For HDR colorimetry descriptors, using EssentialProperty descriptors will trigger the player (such as dash.js) to honour the descriptor by populating MediaCapabilities queries with information from the descriptors. It will also ensure that SDR devices will quickly filter unsupported HDR tracks. This is particularly important for HEVC since the codecs attribute does not convey the colorimetry information like av/1.
This patch introduces the --use_colorimetry_essential_property command-line flag to use EssentialProperty instead of SupplementalProperty. It is recommended by Dolby for signalling Dolby Vision Profiles 8 and 10. The semantics of this flag preserves the existing default behaviour.