Xavier/GStreamer Pipelines/Compositor: Difference between revisions
(Created page with "<noinclude> {{Xavier/Head|previous=GStreamer_Pipelines/Maximum_Number_of_Simultaneous_Streams|next=Deep_Learning|keywords=processors,audio,video,audio video subsystem,hd audio...") |
mNo edit summary |
||
(2 intermediate revisions 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| | {{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}} | ||
{{DISPLAYTITLE:NVIDIA Jetson Xavier - Compositor GStreamer pipelines|noerror}} | |||
{{DISPLAYTITLE:NVIDIA Jetson Xavier - | |||
=Composition and Display= | __TOC__ | ||
==Composition and Display== | |||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
gst-launch-1.0 nvcompositor \ | gst-launch-1.0 nvcompositor \ | ||
Line 22: | Line 21: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=Composition and Streaming= | ==Composition and Streaming== | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
HOST=10.251.101.33 # Where the video will be received | HOST=10.251.101.33 # Where the video will be received |
Latest revision as of 17:52, 13 February 2023
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