Xilinx ZYNQ UltraScale+ MPSoC/GStreamer/Example Pipelines/Video Encoding: Difference between revisions

From RidgeRun Developer Wiki
(Created page with "<noinclude> {{Xilinx ZYNQ UltraScale+ MPSoC/Head|previous=Display to FPGA|next=Video Decoding|keywords=}} </noinclude> {{DISPLAYTITLE:Xilinx ZYNQ UltraScale+ Video Encoding u...")
 
No edit summary
Line 1: Line 1:
<noinclude>
<noinclude>
{{Xilinx ZYNQ UltraScale+ MPSoC/Head|previous=Display to FPGA|next=Video Decoding|keywords=}}
{{Xilinx ZYNQ UltraScale+ MPSoC/Head|previous=GStreamer/Example Pipelines/Display to FPGA|next=GStreamer/Example Pipelines/Video Decoding|keywords=}}
</noinclude>
</noinclude>


Line 65: Line 65:
</syntaxhighlight>
</syntaxhighlight>


<noinclude>{{Xilinx ZYNQ UltraScale+ MPSoC/Foot|Display to FPGA|Video Decoding}}</noinclude>
<noinclude>{{Xilinx ZYNQ UltraScale+ MPSoC/Foot|GStreamer/Example Pipelines/Display to FPGA|GStreamer/Example Pipelines/Video Decoding}}</noinclude>

Revision as of 17:15, 8 December 2022







Previous: GStreamer/Example Pipelines/Display to FPGA Index Next: GStreamer/Example Pipelines/Video Decoding






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 contains the following input pipeline:

AR1335 camera -> AP1302 ISP -> MIPI CSI-2 RX Subsystem -> Video Frame Buffer Write

Camera to disk

4K

H.264

gst-launch-1.0 -e mediasrcbin media-device=/dev/media0 v4l2src0::io-mode=4 ! video/x-raw, width=3840, height=2160, format=NV12, framerate=30/1 ! omxh264enc ! h264parse ! mp4mux ! filesink location=test.mp4

H.265

gst-launch-1.0 -e mediasrcbin media-device=/dev/media0 v4l2src0::io-mode=4 ! video/x-raw, width=3840, height=2160, format=NV12, framerate=30/1 ! omxh265enc ! h265parse ! mp4mux ! filesink location=test.mp4

1080p

H.264

gst-launch-1.0 -e mediasrcbin media-device=/dev/media0 v4l2src0::io-mode=4 ! video/x-raw, width=1920, height=1080, format=NV12, framerate=30/1 ! omxh264enc ! h264parse ! mp4mux ! filesink location=test.mp4

H.265

gst-launch-1.0 -e mediasrcbin media-device=/dev/media0 v4l2src0::io-mode=4 ! video/x-raw, width=1920, height=1080, format=NV12, framerate=30/1 ! omxh265enc ! h265parse ! mp4mux ! filesink location=test.mp4

Camera to network

For the receiving pipeline please see the Video Decoding examples.

4K

H.264

gst-launch-1.0 -e mediasrcbin media-device=/dev/media0 v4l2src0::io-mode=4 ! video/x-raw, width=3840, height=2160, format=NV12, framerate=30/1 ! omxh264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000

H.265

gst-launch-1.0 -e mediasrcbin media-device=/dev/media0 v4l2src0::io-mode=4 ! video/x-raw, width=3840, height=2160, format=NV12, framerate=30/1 ! omxh265enc ! h265parse ! rtph265pay ! udpsink host=127.0.0.1 port=5000

1080p

H.264

gst-launch-1.0 -e mediasrcbin media-device=/dev/media0 v4l2src0::io-mode=4 ! video/x-raw, width=1920, height=1080, format=NV12, framerate=30/1 ! omxh264enc ! h264parse ! rtph264pay ! udpsink host=127.0.0.1 port=5000

H.265

gst-launch-1.0 -e mediasrcbin media-device=/dev/media0 v4l2src0::io-mode=4 ! video/x-raw, width=1920, height=1080, format=NV12, framerate=30/1 ! omxh265enc ! h265parse ! rtph265pay ! udpsink host=127.0.0.1 port=5000


Previous: GStreamer/Example Pipelines/Display to FPGA Index Next: GStreamer/Example Pipelines/Video Decoding