In the Zynq UltraScale+ MPSoC Video Codec Unit (VCU), Frame drops are observed in the below 4kp60 live source gstreamser pipeline in Linux.
Capture -> encode -> decode -> display
File -> Decode -> Encode -> filesink/Stream-out
When I run the following gstreamer pipelines, I observe the below frame rate data:
1st pipeline:
gst-launch-1.0 -v v4l2src device=/dev/video1 io-mode=4 num-buffers=1800 ! video/x-raw, width=3840, height=2160, format=NV12, framerate=60/1 ! o
mxh265enc b-frames=0 gop-length=30 control-rate=2 target-bitrate=30000 num-slices=4 latency-mode=default prefetch-buffer=true ! video/x-h265, profile=main ! queue
! h265parse ! omxh265dec latency-mode=default ! queue max-size-bytes=0 ! fpsdisplaysink text-overlay=false video-sink="kmssink bus-id=a0070000.v_mix qos=true" -v
2nd Pipeline:
gst-launch-1.0 -v v4l2src device=/dev/video1 io-mode=4 num-buffers=1800 ! video/x-raw, width=3840, height=2160, format=NV12, framerate=60/1 ! o
mxh264enc b-frames=0 gop-length=30 control-rate=2 target-bitrate=30000 num-slices=4 latency-mode=default prefetch-buffer=true ! video/x-h264, profile=high ! queue
! h264parse ! omxh264dec latency-mode=default ! queue max-size-bytes=0 ! fpsdisplaysink text-overlay=false video-sink="kmssink bus-id=a0070000.v_mix qos=true" -v
3rd pipeline:
gst-launch-1.0 -v v4l2src device=/dev/video1 io-mode=4 num-buffers=1800 ! video/x-raw, width=3840, height=2160, format=NV12, framerate=60/1 ! o
mxh265enc b-frames=0 gop-length=30 control-rate=2 target-bitrate=30000 num-slices=4 latency-mode=default prefetch-buffer=false ! video/x-h265, profile=main ! queue
! h265parse ! omxh265dec latency-mode=default ! queue max-size-bytes=0 ! fpsdisplaysink text-overlay=false video-sink="kmssink bus-id=a0070000.v_mix qos=true" -v
4th pipeline:
gst-launch-1.0 -v v4l2src device=/dev/video1 io-mode=4 num-buffers=1800 ! video/x-raw, width=3840, height=2160, format=NV12, framerate=60/1 ! o
mxh264enc b-frames=0 gop-length=30 control-rate=2 target-bitrate=30000 num-slices=4 latency-mode=default prefetch-buffer=false ! video/x-h264, profile=high ! queue
! h264parse ! omxh264dec latency-mode=default ! queue max-size-bytes=0 ! fpsdisplaysink text-overlay=false video-sink="kmssink bus-id=a0070000.v_mix qos=true" -v
To work around this issue, limit the encoder configuration to the following:
IPPP, No-Bframes, < 50Mbps, Gop-mode = default or low_delay_p, prefetch-buffer
AR# 70959 | |
---|---|
日期 | 04/23/2018 |
状态 | Active |
Type | 已知问题 |
器件 | |
Tools | |
IP | |
Boards & Kits |