HDR10 - 2024.1 English

H.264/H.265 Video Codec Unit v1.2 Solutions LogiCORE IP Product Guide (PG252)

Document ID
PG252
Release Date
2024-05-30
Version
2024.1 English

The VCU supports HDR10 encoding and decoding. To comply with HDR standards, the VCU supports HDR10 color primaries, transfer characteristics, and matrix coefficients in the sequence parameter set of intra-encoded frames. Additionally, you can insert and extract Mastering Display Color Volume and Content Light Level supplemental enhancement information packets.

Gstreamer Pipelines

HDR10 video can be captured using the v4l2src element (assuming the necessary EDID and design changes have been made). v4l2src automatically detects an HDR10 source and transmits the metadata and colorimetry. Currently, HDR10 capture and display is only supported with the AMD HDMI IPs. An example serial pipeline:

gst-launch-1.0 v4l2src io-mode=4 device=/dev/video0 ! video/x-raw, width=3840, height=2160, format=NV12_10LE32, framerate=60/1 ! omxh265enc target-bitrate=20000 filler-data=0 prefetch-buffer=TRUE num-slices=8 ! queue max-size-buffers=0 ! omxh265dec ! queue max-size-bytes=0 ! fpsdisplaysink name=fpssink text-overlay=false 'video-sink=kmssink bus-id=a00c0000.v_mix plane-id=34 hold-extra-sample=1 show-preroll=false sync=true fullscreen-overlay=1' sync=true -v

Gstreamer parsers also support HDR10 parsing. An example transcode pipeline:

gst-launch-1.0 filesrc location="HDR.hevc" ! h265parse ! omxh265dec ! queue max-size-bytes=0 ! omxh265enc control-rate=constant target-bitrate=25000 prefetch-buffer=TRUE num-slices=8 ! fpsdisplaysink name=fpssink text-overlay=false 'video-sink=filesink location=transcoded_HDR.hevc' -v

Control Software

See HDR10 File Format.