RTSP and HTTP streaming over network

Presently We are using L4T 23.2 SDK for TX1 processor and we are very new to this SDK.
So We have couple of queries -

Our requirements are to have RTSP and HTTP streaming over network.

  1. Does it have support both RTSP and HTTP streaming protocols.
  2. If it has then please let me know the exact gst-lunch commands for both RTSP and HTTP streaming over network.

Please Let us know the appropriate commands to be used.

Thanks-
Dinesh

I know very little about this, but from what I can see, Jetson and the kernel do not need anything special…it seems that we’re talking about standard networking protocols (possibly needing kernel config, but very little in networking is not set by default in most kernel configs); those protocols are used from a user space application. So some sort of streaming user space application is what is needed (something analogous to a web server). Some links:
[url]http://www.ietf.org/rfc/rfc2326.txt[/url]
[url]https://tools.ietf.org/html/rfc4566[/url]
[url]http://www.ietf.org/rfc/rfc3550.txt[/url]

For streaming RTSP there is an implementation from the GStreamer guys, called gst-rtsp-server: https://gstreamer.freedesktop.org/modules/gst-rtsp-server.html
Its actually a library with some example c programs, a manual can be found here: https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-rtsp-server/html/GstRTSPServer.html
You can use ./test-launch followed by your pipeline, or ./test-mp4 and point it to an mp4 file.

I dont know what you mean by HTTP streaming. For HLS it can be done relatively easy with a gst-launch command (replace the ip of your tx1 for ‘playlist-root’):

sudo chown ubuntu:ubuntu /var/www

gst-launch-1.0 videotestsrc is-live=true ! 'video/x-raw, width=1280, height=720' ! omxh264enc ! h264parse ! mpegtsmux ! hlssink max-files=5 playlist-location=/var/www/playlist.m3u8 location=/var/www/segment%05d.ts playlist-root=http://192.168.0.1

./test-launch “v4l2src device=/dev/video1 ! video/x-raw,format=YUY2,width=640,height=480 ! videoconvert ! video/x-raw,format=I420 ! omxh264enc ! rtph264pay name=pay0 pt=96”

hello ALL my rtsp streaming working with single camera [/dev/video 0]. if i want to stream two USB camera simultaneously for rtsp streaming , what i need to change ??
ex: "v4l2src device=/dev/video1 --???

Thnaks in advance

Hi spahune,

What’s your Jetson platform? TX1 or TK1? BSP version?
Please filed a new topic with clear info of your issue into the right board.

Thanks