Xilinx ZYNQ UltraScale+ Video Decoding using GStreamer pipelines
Xilinx ZYNQ UltraScale+ MPSoC | ||||
---|---|---|---|---|
Introduction | ||||
Getting Started | ||||
Xilinx Kria | ||||
Development | ||||
Development Flows Examples | ||||
GStreamer | ||||
|
||||
Contact Us |
The following pipelines were tested using the smartcam firmware, which is based on the kv260_ispMipiRx_vcu_DP Vitis platform provided by Xilinx. This platform doesn't use the Video Mixer for the video out, so we use the display directly.
File to display
H.264
gst-launch-1.0 filesrc location=jellyfish-100-mbps-hd-h264.mkv ! matroskademux ! h264parse ! omxh264dec ! fpsdisplaysink text-overlay=false video-sink="kmssink driver-name=xlnx bus-id=fd4a0000.display fullscreen-overlay=true" -v
H.265
gst-launch-1.0 filesrc location=jellyfish-100-mbps-hd-hevc.mkv ! matroskademux ! h265parse ! omxh265dec ! fpsdisplaysink text-overlay=false video-sink="kmssink driver-name=xlnx bus-id=fd4a0000.display fullscreen-overlay=true" -v
Network to display
We optimized these pipelines to show the low-latency capabilities of this device.
For the sending pipeline please see the Video Encoding examples.
H.264
gst-launch-1.0 udpsrc port=5000 caps=application/x-rtp,media=video,clock-rate=90000,encoding-name=H264,payload=96 ! rtpjitterbuffer latency=7 ! rtph264depay ! h264parse ! video/x-h264,alignment=nal ! omxh264dec low-latency=true ! fpsdisplaysink text-overlay=false video-sink="kmssink driver-name=xlnx bus-id=fd4a0000.display fullscreen-overlay=true" -v
H.265
gst-launch-1.0 udpsrc port=5000 caps=application/x-rtp,media=video,clock-rate=90000,encoding-name=H265,payload=96 ! rtpjitterbuffer latency=7 ! rtph265depay ! h265parse ! video/x-h265,alignment=nal ! omxh265dec low-latency=true ! fpsdisplaysink text-overlay=false video-sink="kmssink driver-name=xlnx bus-id=fd4a0000.display fullscreen-overlay=true" -v