Skip to content

Add support for MaxCLL and MaxFALL elements. - #84

Merged
kinetiknz merged 1 commit into
masterfrom
hdr10
Apr 22, 2026
Merged

Add support for MaxCLL and MaxFALL elements.#84
kinetiknz merged 1 commit into
masterfrom
hdr10

Conversation

@kinetiknz

Copy link
Copy Markdown
Collaborator

Parse MaxCLL (0x55BC) and MaxFALL (0x55BD) as children of Colour and expose them as max_cll/max_fall on nestegg_video_params. Together with the existing MasteringMetadata support, this covers the full HDR10 static metadata set. A value of 0 indicates the element is not present.

Adds hdr10.webm (demo_short.webm remuxed with --max-content-light 0:1000 --max-frame-light 0:400 via mkvmerge) as a regression fixture.

Parse MaxCLL (0x55BC) and MaxFALL (0x55BD) as children of Colour and
expose them as max_cll/max_fall on nestegg_video_params.  Together with
the existing MasteringMetadata support, this covers the full HDR10
static metadata set.  A value of 0 indicates the element is not present.

Adds hdr10.webm (demo_short.webm remuxed with --max-content-light 0:1000
--max-frame-light 0:400 via mkvmerge) as a regression fixture.
@kinetiknz kinetiknz self-assigned this Apr 21, 2026
@kinetiknz

Copy link
Copy Markdown
Collaborator Author

@alastor0325 would you mind reviewing this please?

@alastor0325 alastor0325 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@kinetiknz
kinetiknz merged commit fa2f1b9 into master Apr 22, 2026
2 checks passed
@kinetiknz
kinetiknz deleted the hdr10 branch April 22, 2026 20:07
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

Successfully merging this pull request may close these issues.

2 participants