AOMediaCodec / av1-hdr10plus

Official AOM repository for the development of the specification for the use of AV1 and HDR10+.
https://aomediacodec.github.io/av1-hdr10plus/
18 stars 6 forks source link

Update section 2.2 to indicate that MDCV is mandatory #25

Closed quantizationbit closed 2 years ago

quantizationbit commented 2 years ago

Need to update this sentance in section 2.2:

"HDR10 Static Metadata (defined as MDCV, MaxCLL and MaxFALL) may be present.”

While HDR10+ does not need these parameters in the outside standards: ATSC, SCTE, DVB they were written that MDCV is mandatory and MaxCLL/FALL are optional. We will sync this.

cconcolato commented 2 years ago

I assume this is at the elementary stream level, right? What about the ISOBMFF level? Is the mdcv box mandatory?

The current version of AV1-ISOBMFF says:

For sample entries corresponding to HDR content, the MasteringDisplayColourVolumeBox mdcv and ContentLightLevelBox clli SHOULD be present, and their values SHALL match the values contained in the Metadata OBUs of type METADATA_TYPE_HDR_CLL and METADATA_TYPE_HDR_MDCV, if present (in the configOBUs or in the samples).

The AV1-HDR10+ spec says:

For formats that use the AV1CodecConfigurationRecord when storing AV1 streams (e.g. ISOBMFF and MPEG-2 TS), HDR10+ Metadata OBUs shall not be present in the configOBUs field of the AV1CodecConfigurationRecord.

It's also not clear if: a) the MDCV/CLLI OBUs are replaced by their box versions upon packaging and then the box versions get replaced by the OBU versions upon unpackaging, i.e. the MDCV/CLLI OBUs are not present in the elementary stream when stored in MP4. b) both the MDCV OBU and the box are used (and similarly for CLLI OBU and box).

quantizationbit commented 2 years ago

MDCV is mandatory in HEVC elementary streams for DVB, ATSC, SCTE when either or both HDR10+/DV is used. CLL/FALL is always optional.

MDCV can be optional for HDR10+ so we made it optional here because we can not anticipate all possible uses (e.g. cloud gaming) where maybe the service provider does not have or does not want to provide it. Also there may be cases where a service provider chooses to have it to align with these other systems.

We reccommend against making this change for these reasons.

podborski commented 2 years ago

According to HDR10+ Technical Specification |Part 1: Metadata and Devices | Version 1.4 | January 5, 2020 from HDR10+ Technologies, LLC the mdcv is mandatory.

HDR10+ Video Stream SHALL comply with following requirements ...

  • Metadata (Required):
    • Mastering Display Color Volume Metadata [7] ...

In addition to that, there seems to be no other metadata on the systems level which allows to figure out if the file has HDR10(+) metadata in it or not.

cconcolato commented 2 years ago

The group agrees to make it mandatory. The group notes that MDCV can have values set to 0, meaning unspecified.

quantizationbit commented 2 years ago

29

cconcolato commented 2 years ago

Closed with #34