Skip to content
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

DASH: parse transferCharacteristics property to better detect hdr #1212

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

peaBerberian
Copy link
Collaborator

This PR allows to signal HDR AdaptationSets through the API - thanks to the hdrInfo property added in v3.26.0 (june 2021) - when an EssentialProperty or SupplementalProperty element with its schemeIdUri attribute is set to "urn:mpeg:mpegB:cicp:TransferCharacteristics".

This is as specified in both the 6.2.5.1 and 10.2.3.4 chapters of the DASH-IF IOP v4.3 the way that transfer function differences between AdaptationSets should be signaled when you have an MPD with both HDR and SDR Adaptation Sets.

For now, only the "eotf" (the transfer function) is parsed (though we could also technically parse the ColourPrimary and MatrixCoefficients parts of those chapters later).

The goal is to allow an application to detect when multiple AdaptationSets are present which corresponds to HDR and which corresponds to SDR video content.

@peaBerberian peaBerberian added DASH Relative to the DASH streaming protocol Priority: 0 (Very high) This issue or PR has a very high priority. Efforts should be concentrated on it first. labels Feb 6, 2023
This commit allows to signal HDR AdaptationSets through the API -
thanks to the `hdrInfo` property added in v3.26.0 (june 2021) - when an
`EssentialProperty` or `SupplementalProperty` element with its `schemeIdUri`
attribute is set to `"urn:mpeg:mpegB:cicp:TransferCharacteristics"`.

This is as specified in both the `6.2.5.1` and `10.2.3.4` chapters of
the DASH-IF IOP the way that transfer function differences between
AdaptationSets should be signaled when you have an MPD with both HDR and
SDR Adaptation Sets.

For now, only the "eotf" (the transfer function) is parsed (though we
could also technically parse the `ColourPrimary` and
`MatrixCoefficients` parts of those chapters later).

The goal is to allow an application to detect when multiple
AdaptationSets are present which corresponds to HDR and which
corresponds to SDR video content.
@peaBerberian peaBerberian force-pushed the misc/better-detect-hdr branch from ade486e to ff9a9ce Compare February 6, 2023 15:48
@peaBerberian peaBerberian added this to the 3.30.0 milestone Feb 7, 2023
@peaBerberian peaBerberian merged commit 494cb01 into next Feb 7, 2023
peaBerberian added a commit that referenced this pull request Feb 8, 2023
DASH: parse `transferCharacteristics` property to better detect hdr
peaBerberian added a commit that referenced this pull request Feb 9, 2023
DASH: parse `transferCharacteristics` property to better detect hdr
@peaBerberian peaBerberian mentioned this pull request Jun 13, 2023
@peaBerberian peaBerberian deleted the misc/better-detect-hdr branch July 6, 2023 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DASH Relative to the DASH streaming protocol Priority: 0 (Very high) This issue or PR has a very high priority. Efforts should be concentrated on it first.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant