Jetson Nano/Gstreamer/Example Pipelines/Streaming: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
</noinclude> | </noinclude> | ||
= | =UDP Streaming= | ||
== | == H.264 == | ||
=== | === OMX === | ||
<pre style="background:#d6e4f1"> | <pre style="background:#d6e4f1"> | ||
CLIENT_IP=<IP_ADDRESS> | CLIENT_IP=<IP_ADDRESS> | ||
Line 14: | Line 14: | ||
</pre> | </pre> | ||
==V4L2== | === V4L2 === | ||
<pre style="background:#d6e4f1"> | <pre style="background:#d6e4f1"> | ||
CLIENT_IP=<IP_ADDRESS> | CLIENT_IP=<IP_ADDRESS> | ||
Line 22: | Line 21: | ||
</pre> | </pre> | ||
===PC Client | === PC Client === | ||
<pre style="background:#d6e4f1"> | <pre style="background:#d6e4f1"> | ||
gst-launch-1.0 udpsrc port=5000 ! application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! queue ! avdec_h264 ! xvimagesink sync=false async=false -e | gst-launch-1.0 udpsrc port=5000 ! application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! queue ! avdec_h264 ! xvimagesink sync=false async=false -e | ||
</pre> | </pre> | ||
=H.265= | ==H.265== | ||
==OMX== | ===OMX=== | ||
<pre style="background:#d6e4f1"> | <pre style="background:#d6e4f1"> | ||
CLIENT_IP=127.0.0.1 | CLIENT_IP=127.0.0.1 | ||
Line 37: | Line 35: | ||
</pre> | </pre> | ||
==V4L2 | ===V4L2=== | ||
<pre style="background:#d6e4f1"> | <pre style="background:#d6e4f1"> | ||
Line 46: | Line 42: | ||
</pre> | </pre> | ||
===PC Client | ===PC Client=== | ||
<pre style="background:#d6e4f1"> | <pre style="background:#d6e4f1"> | ||
gst-launch-1.0 udpsrc port=5000 ! application/x-rtp,encoding-name=H265,payload=96 ! rtph265depay ! h265parse ! queue ! avdec_h265 ! xvimagesink sync=false async=false -e | gst-launch-1.0 udpsrc port=5000 ! application/x-rtp,encoding-name=H265,payload=96 ! rtph265depay ! h265parse ! queue ! avdec_h265 ! xvimagesink sync=false async=false -e |
Revision as of 22:58, 4 July 2019
NVIDIA®Jetson Nano™ | |||
---|---|---|---|
Introduction | |||
|
|||
Development | |||
|
|||
GStreamer | |||
|
|||
Contact Us |
UDP Streaming
H.264
OMX
CLIENT_IP=<IP_ADDRESS> gst-launch-1.0 -e nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1' ! nvvidconv ! 'video/x-raw(memory:NVMM), format=(string)I420' ! omxh264enc control-rate=2 bitrate=4000000 ! 'video/x-h264, stream-format=(string)byte-stream' ! h264parse ! rtph264pay mtu=1400 ! udpsink host=$CLIENT_IP port=5000 sync=false async=false
V4L2
CLIENT_IP=<IP_ADDRESS> gst-launch-1.0 -e nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1' ! nvv4l2h264enc bitrate=8000000 ! h264parse ! rtph264pay mtu=1400 ! udpsink host=$CLIENT_IP port=5000 sync=false async=false
PC Client
gst-launch-1.0 udpsrc port=5000 ! application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! queue ! avdec_h264 ! xvimagesink sync=false async=false -e
H.265
OMX
CLIENT_IP=127.0.0.1 gst-launch-1.0 -e nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1' ! nvvidconv ! 'video/x-raw(memory:NVMM), format=(string)I420' ! omxh265enc control-rate=2 bitrate=4000000 ! 'video/x-h265, stream-format=(string)byte-stream' ! h265parse ! rtph265pay mtu=1400 ! udpsink host=$CLIENT_IP port=5000 sync=false async=false
V4L2
CLIENT_IP=<IP_ADDRESS> gst-launch-1.0 -e nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, format=(string)NV12, framerate=(fraction)30/1' ! nvv4l2h265enc bitrate=8000000 ! h265parse ! rtph265pay mtu=1400 ! udpsink host=$CLIENT_IP port=5000 sync=false async=false
PC Client
gst-launch-1.0 udpsrc port=5000 ! application/x-rtp,encoding-name=H265,payload=96 ! rtph265depay ! h265parse ! queue ! avdec_h265 ! xvimagesink sync=false async=false -e