In the Zynq UltraScale+ MPSoC Video Codec Unit (VCU), the device Frame rate achieved with the below pipeline is ~48fps:
gst-launch-1.0 filesrc location="ud/4k-60fps.h265" ! h265parse ! omxh265dec ip-mode=1 op-mode=1 ! queue max-size-bytes=0 ! omxh264enc ip-mode=2 ! fakesink sync=false
However, if I use the HEVC encoder I could achieve ~68fps.
AVC multi core utilization is low if the encoder slices are set to 1, so it is a good idea to set num-slices=4 and use the prefetch-buffer size property to improve AVC encoder performance in IPPP mode.
Frame drops in IBBP mode will be fixed in the next release.
For a work-around to achieve 60fps, use the following pipeline:
gst-launch-1.0 filesrc location="4K-60fps.mp4" ! qtdemux ! h264parse ! omxh264dec ip-mode=1 op-mode=1 ! queue ! omxh264enc ip-mode=2 sliceHeight=64 stride=256 control-rate=2 target-bitrate=10000 num-slices=4 prefetch-buffer-size=504 ! fpsdisplaysink name=fpssink text-overlay=false video-sink=fakesink sync=true -v
AR# 70013 | |
---|---|
日期 | 10/18/2017 |
状态 | Active |
Type | 已知问题 |
器件 | |
Tools | |
IP | |
Boards & Kits |