Xavier/GStreamer Pipelines/Compositor: Difference between revisions

From RidgeRun Developer Wiki
mNo edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{Xavier/Head|previous=GStreamer_Pipelines/Maximum_Number_of_Simultaneous_Streams|next=Deep_Learning|keywords=processors,audio,video,audio video subsystem,hd audio video subsystem,HDAV Subsystem,Compositor,Video Image Compositor}}
{{Xavier/Head|previous=GStreamer_Pipelines/Maximum_Number_of_Simultaneous_Streams|next=Deep_Learning|metakeywords=processors,audio,video,audio video subsystem,hd audio video subsystem,HDAV Subsystem,Compositor,Video Image Compositor}}


</noinclude>
{{DISPLAYTITLE:NVIDIA Jetson Xavier - Compositor GStreamer pipelines|noerror}}
<!-- If you want a custom title for the page, un-comment and edit this line:
{{DISPLAYTITLE:NVIDIA Jetson Xavier - <descriptive page name>|noerror}}
-->


__TOC__
__TOC__

Latest revision as of 17:52, 13 February 2023




Previous: GStreamer_Pipelines/Maximum_Number_of_Simultaneous_Streams Index Next: Deep_Learning





Composition and Display

gst-launch-1.0 nvcompositor \
name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=1920 \
sink_0::height=1080 sink_1::xpos=0 sink_1::ypos=0 \
sink_1::width=1600 sink_1::height=1024 sink_2::xpos=0 \
sink_2::ypos=0 sink_2::width=1366 sink_2::height=768 \
sink_3::xpos=0 sink_3::ypos=0 sink_3::width=1024 \
sink_3::height=576 ! nvoverlaysink display-id=1 \
videotestsrc ! comp. \
videotestsrc ! comp. \
videotestsrc ! comp. \
videotestsrc ! comp. -e

Composition and Streaming

HOST=10.251.101.33 # Where the video will be received
PORT=9000

Src:

gst-launch-1.0 nvcompositor \
name=comp sink_0::xpos=0 sink_0::ypos=0 sink_0::width=1920 \
sink_0::height=1080 sink_1::xpos=0 sink_1::ypos=0 \
sink_1::width=1600 sink_1::height=1024 sink_2::xpos=0 \
sink_2::ypos=0 sink_2::width=1366 sink_2::height=768 \
sink_3::xpos=0 sink_3::ypos=0 sink_3::width=1024 \
sink_3::height=576 ! \
nvvidconv ! omxh264enc ! rtph264pay config-interval=10  ! udpsink host=$HOST port=$PORT \
videotestsrc ! comp. \
videotestsrc ! comp. \
videotestsrc ! comp. \
videotestsrc ! comp. -e

Sink:

gst-launch-1.0 -v udpsrc port=$PORT ! 'application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264' !  rtph264depay ! avdec_h264 ! xvimagesink



Previous: GStreamer_Pipelines/Maximum_Number_of_Simultaneous_Streams Index Next: Deep_Learning