HDR10 パイプラインは、HDR10 静的メタデータの受信と挿入をサポートします。この HDR10 メタデータには、HDR をサポートするために必要な重要な情報が含まれ、ソースからシンクまでパイプライン全体でメタデータが渡されます。
GStreamer パイプラインを使用して XV20 HDR10 ビデオを HDMI-Tx 上でディスプレイ表示 (キャプチャ (HDR10) → エンコード → デコード → ディスプレイ (HDR10)) するには、次の gst-launch-1.0 コマンドを実行します。
gst-launch-1.0 v4l2src device=/dev/video0
io-mode=4 ! video/x-raw, width=3840, height=2160,
format=NV16_10LE32, framerate=60/1 ! omxh265enc qp-mode=auto
gop-mode=basic gop-length=60 b-frames=0 target-bitrate=60000
num-slices=8 control-rate=constant prefetch-buffer=true
low-bandwidth=false filler-data=true cpb-size=1000
initial-delay=500 ! video/x-h265, profile=main-422-10,
alignment=au ! queue ! omxh265dec internal-entropy-buffers=5
low-latency=0 ! queue max-size-bytes=0 ! fpsdisplaysink
text-overlay=false
video-sink="kmssink bus-id="a00c0000.v_mix show-preroll-frame=false"
plane-id=34 sync=true" sync=true
GStreamer パイプラインを使用して XV20 HDR10 ビデオを録画するには、次の gst-launch-1.0 コマンドを実行します。
gst-launch-1.0 v4l2src device=/dev/video0 io-mode=4
num-buffers=3600 ! video/x-raw, width=3840, height=2160,
format=NV16_10LE32, framerate=60/1 ! omxh265enc qp-mode=auto
gop-mode=basic gop-length=60 b-frames=0 target-bitrate=60000
num-slices=8 control-rate=constant prefetch-buffer=true
low-bandwidth=false filler-data=true cpb-size=1000
initial-delay=500 ! video/x-h265, profile=main-422-10,
alignment=au ! h265parse ! queue ! mpegtsmux alignment=7
name=mux ! filesink location="/run/test.ts"
詳細は、 『H.264/H.265 Video Codec Unit LogiCORE IP 製品ガイド』 (PG252) および PL DDR HDR10 HDMI Video Capture and Display (英語) を参照してください。