Xilinx ZYNQ UltraScale+ MPSoC/GStreamer/Example Pipelines/Video Decoding: Difference between revisions
Jrodriguez (talk | contribs) (Created page with "<noinclude> {{Xilinx ZYNQ UltraScale+ MPSoC/Head|previous=Video Encoding|next=Video Transformation|keywords=}} </noinclude> {{DISPLAYTITLE:Xilinx ZYNQ UltraScale+ Video Encod...") |
mNo edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{Xilinx ZYNQ UltraScale+ MPSoC/Head|previous=Video Encoding|next= | {{Xilinx ZYNQ UltraScale+ MPSoC/Head|previous=GStreamer/Example Pipelines/Video Encoding|next=GStreamer/Example Pipelines/Capture from MIPI|keywords=}} | ||
</noinclude> | </noinclude> | ||
{{DISPLAYTITLE:Xilinx ZYNQ UltraScale+ Video | {{DISPLAYTITLE:Xilinx ZYNQ UltraScale+ Video Decoding using GStreamer pipelines|noerror}} | ||
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 | 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. | ||
<syntaxhighlight> | == File to display == | ||
===H.264=== | |||
<syntaxhighlight lang="bash"> | |||
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 | |||
</syntaxhighlight> | |||
===H.265=== | |||
<syntaxhighlight lang="bash"> | |||
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 | |||
</syntaxhighlight> | </syntaxhighlight> | ||
== Network to display == | ==Network to display== | ||
We optimized these pipelines to show the low-latency capabilities of this device. | |||
For the sending pipeline please see the [[Xilinx ZYNQ UltraScale+ MPSoC/GStreamer/Example Pipelines/Video Encoding|Video Encoding examples]]. | For the sending pipeline please see the [[Xilinx ZYNQ UltraScale+ MPSoC/GStreamer/Example Pipelines/Video Encoding|Video Encoding examples]]. | ||
===H.264=== | |||
<syntaxhighlight> | <syntaxhighlight lang="bash"> | ||
gst-launch-1.0 udpsrc port=5000 caps=application/x-rtp,media=video,clock-rate=90000,encoding-name=H264 ! rtph264depay ! h264parse ! omxh264dec ! | 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 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
===H.265=== | |||
<syntaxhighlight> | <syntaxhighlight lang="bash"> | ||
gst-launch-1.0 udpsrc port=5000 caps=application/x-rtp,media=video,clock-rate=90000,encoding-name=H265 ! rtph265depay ! h265parse ! omxh265dec ! | 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 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<noinclude>{{Xilinx ZYNQ UltraScale+ MPSoC/Foot|Video Encoding| | <noinclude>{{Xilinx ZYNQ UltraScale+ MPSoC/Foot|GStreamer/Example Pipelines/Video Encoding|GStreamer/Example Pipelines/Capture from MIPI}}</noinclude> |
Latest revision as of 20:02, 17 May 2024
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