-
Notifications
You must be signed in to change notification settings - Fork 516
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
Support for signaling HDR / HDR10+ in DASH with SupplementalProperty #1035
Comments
Very useful option, I'm in favor of adding hdr info |
+1 Looks like HLS implementation supports specifying transfer characteristics.
will add VIDEO-RANGE in m3u8. Example: #EXT-X-STREAM-INF:BANDWIDTH=820260,AVERAGE-BANDWIDTH=785273,CODECS="dvh1.05.01",RESOLUTION=640x360,FRAME-RATE=59.940,VIDEO-RANGE=PQ,CLOSED-CAPTIONS=NONE
Similarly, for DASH, one way would be to add a supplemental property to specify transfer characteristics as per DASH-IF IOP v4.3 Example: This supplemental property is also supported by shaka player as per Implementation could be:
@vish91 , @joeyparrish / @kqyang , please take a look. |
@vish91 @joeyparrish @kqyang @sr1990 I came up with some code near the end of RepresentationXmlNode::AddVideoInfo() that will add the SupplementalProperty for transfer characterstics: if (video_info.has_transfer_characteristics()) {
std::string transfer_characteristics =
base::UintToString(video_info.transfer_characteristics());
RCHECK(AddDescriptor("SupplementalProperty",
"urn:mpeg:mpegB:cicp:TransferCharacteristics",
transfer_characteristics));
}
This follows how it is done in HLS and how SupplementalProperty is done for audio in RepresentationXmlNode::AddAudioChannelInfo() This should fulfill the request without needing to create a new data member in AdaptationSet. Does anyone see a problem with this solution? |
Yeah transfer characteristics work too... infact in the latest DASH-ID IOP I cannot find this HDR metadata signaling, but the signaling using transfer characteristics is still there in the spec. @sr1990 @joeyparrish any thoughts ? what do you do on shaka-player or ExoPlayer side if you know from player perspective what is better. |
@vish91, check out the shaka player issue shaka-project/shaka-player#3726 and PR that it mentions related to parsing the transfer characteristics. For values of transfer characteristics, check out
will probably need to be updated for case 18 which should be HLG |
@vish91 can we consider this closed now that transfer characteristics are in? Or do we still need this specific supplemental property? |
yes sure thing. 👍🏽 closed by #1210 |
System info
Operating System: all
Shaka Packager Version: master
Issue and steps to reproduce the problem
Does Shaka packager support being able to pass additional information to the input while running packaging command ?
For a multi codec DASH manifest , there is optional supplemental property for HDR .
DASH - IF Spec 10.3.2.4 HDR metadata.
What is the expected result?
Optional parameter to pass key / value for the Supplemental Property to set.
That property being set in resultant DASH manifest in the appropriate adaptation set.
The text was updated successfully, but these errors were encountered: