I have been trying to launch rtsp stream using the command
gst-rtsp-launch '( uridecodebin uri=file:/home/nobita/deepstream/deepstream-5.0/samples/streams/sample_720p.mp4 ! videoconvert│··· ! queue ! x264enc tune="zerolatency" byte-stream=true bitrate=10000 ! rtph264pay name=pay0 payload=96 )
Gst-rtsp-launch is a very simple wrapper for creating the server, with source code here - https://github.com/sfalexrog/gst-rtsp-launch/blob/master/src/gst-rtsp-launch.cpp
Although the same command works fine for my laptop, nut gives the following error in jetson nano.
gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:8554/test ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! gtksink
Setting pipeline to PAUSED .
Pipeline is live and does not need PREROLL
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://127.0.0.1:8554/test
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not open resource for reading.
Additional debug info:
gstrtspsrc.c(5829): gst_rtspsrc_setup_auth (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
No supported authentication protocol was found
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …
What can be done to fix this issue?
Thanks in advance :)