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

Mandating colr for all video codecs #43

Closed
cconcolato opened this issue Apr 3, 2023 · 5 comments
Closed

Mandating colr for all video codecs #43

cconcolato opened this issue Apr 3, 2023 · 5 comments

Comments

@cconcolato
Copy link
Contributor

The current specification mandates the use of the colr box (see excerpts below) but only for NALU-based formats. The group should consider mandating it for all video codecs so that downstream specifications (e.g. AV1-ISOBMFF) does not have to. Alternatively, CMAF should provide guidelines to derived specifications, e.g. provide a list of restrictions that only apply to NALU formats that other codecs may include in their CMAF-based specifications. There is already section "12.1.3.3 Video image coding characteristics" which indicates how CMAF Media Profiles should indicate constraints on colour in the bitstream, but it does not mention structural file format constraints.

B.2.3 Visual sample entry (HEVC)

shall contain a ColourInformationBox ('colr') with colour_type 'nclx' and PixelAspectRatioBox ('pasp') when required per clause 9.3.5.1.

9.3.2.2 Sample Description Box (NALU-specific)

The first VisualSampleEntry in the SampleDescriptionBox:

  • shall contain one or more ColorInformationBoxes with sub-type 'nclx' and a PixelAspectRatioBox 'pasp', as documented in ISO/IEC 14496-12, if the first sample entry contains no SPS NAL with VUI in the decoder configuration record.

Note that in ColourInformationBox is spelled with the British English way in ISOBMFF. CMAF should probably be harmonized (color vs colour)

@haudiobe
Copy link

The suggestion is ok. We should implement in an amendment.

@krasimirkolarov
Copy link
Collaborator

We will add this to the TuC

@cconcolato
Copy link
Contributor Author

@haudiobe I don't this item in the TuC from the October meeting https://dms.mpeg.expert/doc_end_user/documents/144_Hannover/wg11/MDS23186_WG03_N01033.zip
Has this been integrated in the 3rd edition?

@cconcolato cconcolato reopened this Nov 27, 2023
@podborski
Copy link
Member

@cconcolato how about PixelAspectRatioBox? the same applies for it, no?

@podborski
Copy link
Member

This one is addressed at MPEG 145

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants