USB 3.0 Video Output Stream

Hello,
we want to capture video via csi interface and stream it via USB3.0 to the host pc. How can we achieve this? Is there an example application? Does gstreamer support streaming via USB3.0?

Thanks in advance

Marc

I don’t believe the USB3 port can be put into a device mode. I think it only allows the port to be used as a host. So you can stream video to the Jetson Nano, but not from it. At least not that with that port. There might be some way to connect a Cypress FX3 to the Nano to have it do the streaming, but I haven’t looked into it.

The only option I see that can be easily implemented is streaming video via the Gigabit Ethernet port. That’s likely how I’ll do it.

Thanks for your answer. We want to use gstreamer which should generate a network rtp stream from a csi camera connected to the nano. We need a rtsp server on the nano which works together with the gstreamer. I saw that ridgeRun provides a rtspsink element for gstreamer. Do you know any other solution for a rtsp server on the nano?

Thanks

You can try gst-rtp-server I tested this as a solution previously on a different embedded platform to stream H264 video encoded from a camera.

Great, thanks.

I am playing around with some example streaming pipelines at the moment. The streams are generated and are sent out to the network, but on the receiver side gstreamer produces an error.

Nano:

gst-launch-1.0 -e nvarguscamerasrc ! ‘video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1’ ! nvv4l2h264enc bitrate=8000000 insert-sps-pps=true ! rtph264pay mtu=1400 ! udpsink host=192.168.3.221 port=5000 sync=false async=false

Desktop:

gst-launch-1.0 udpsrc port=5000 ! application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! queue ! avdec_h264 ! autovideosink sync=false async=false -e

marc@marc-VirtualBox:~$ gst-launch-1.0 udpsrc port=5000 ! application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! h264parse ! queue ! avdec_h264 ! autovideosink sync=false async=false -e
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Setting pipeline to PLAYING …
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(2865): gst_base_src_loop (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
streaming task paused, reason not-negotiated (-4)
EOS on shutdown enabled – waiting for EOS after Error
Waiting for EOS…

Do you have any example pipelines for rtp network streaming?

It would be fine to receive the stream in vlc under Windows.

Thanks a lot

Marc

Hi,
Here is a post about udp:
https://devtalk.nvidia.com/default/topic/1027423/jetson-tx2/gstreamer-issue-on-tx2/post/5225972/#5225972