DMA Based Output Port Buffer Pool - 2023.1 English

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

Document ID
Release Date
2023.1 English
Note: This feature is available only from the 2022.1 version of the IP.

VCU encoder provides DMA based buffer pool on the output port at gstreamer level, letting the other components directly use the encoder's output through DMA based memory.

To enable this feature, you must enable the "use-out-port-pool" property of VCU encoder’s gstreamer pipelines.

GStreamer Pipeline

gst-launch-1.0 -v v4l2src device=/dev/video0 io-mode=4 ! video/x-raw, width=3840, height=2160, format=NV12,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 use-out-port-pool=true ! video/x-h265, profile=main, alignment=au ! queue ! omxh265dec internal-entropy-buffers=5 low latency=0 ! queue max-size-bytes=0 ! fpsdisplaysink name=fpssink text-overlay=false 'video sink=kmssink bus-id=a0070000.v_mix show-preroll-frame=false'