The VCU2 encoder provides DMA based buffer pool on the
output port using GStreamer, letting 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 the 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=b0080000.v_mix show-preroll-frame=false'