GNOME Bugzilla – Bug 785823
h265parse: parsing HDR metadata SEI messages
Last modified: 2018-11-03 14:11:53 UTC
Created attachment 356968 [details] [review]
patch adding HDR metadata SEI messages parsing to h265parse
I've added HDR SEI Metadata headers and simple parsing with h265parse in the patch attached.
There are three different types of HDR-related HEVC SEI Metadata at the moment so I've added them all:
- transfer characteristics, like the one sometimes defined in VUI headers, but here for HDR either 18 (arib-std-b67 for HLG) or 16 (smpte-st-2084 for HDR10).
- mastering display primaries and min/max luminance (mandatory for HDR10 content)
- content light level max and max frame-average (optional, for HDR10)
The end goal is to use these information downstream, mainly in sinks.
This patch alone isn't taking care of this in order to keep it clean and simple.
I intend to go further this path and do HDR rendering in a sink - so I'm also looking for advices/feedback on the cleanest way to pass all these information downstream.. should we add a single big HdrMetadata caps and fill it from h265parse? (and matroskaparse, since the same info can come from mkvs)
Xavier, there's another bug where there are already discussions about an HDR meta https://bugzilla.gnome.org/show_bug.cgi?id=790115
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/593.