UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 70013

2017.3 Zynq UltraScale+ MPSoC VCU: Frame drops are observed in 4kp60fps transcode use case in Linux

Description

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.

Solution

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
Date 10/18/2017
Status Active
Type Known Issues
Devices
  • Zynq UltraScale+ MPSoC
Tools
  • Linux
IP
  • VCU
Boards & Kits
  • Zynq UltraScale Plus MPSoC ZCU106 Evaluation Kit
Page Bookmarked