After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 785823 - h265parse: parsing HDR metadata SEI messages
h265parse: parsing HDR metadata SEI messages
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2017-08-04 14:31 UTC by Xavier Hallade
Modified: 2018-11-03 14:11 UTC
See Also:
GNOME target: ---
GNOME version: ---

patch adding HDR metadata SEI messages parsing to h265parse (10.13 KB, patch)
2017-08-04 14:31 UTC, Xavier Hallade
none Details | Review

Description Xavier Hallade 2017-08-04 14:31:17 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)
Comment 1 Edward Hervey 2017-11-29 06:21:37 UTC
Xavier, there's another bug where there are already discussions about an HDR meta
Comment 2 GStreamer system administrator 2018-11-03 14:11:53 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to'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: