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 …
Hi,
Please refer to Jetson Nano FAQ Q: Is there any example of running RTSP streaming?
If the pipeline can be launched through test-launch, it shall also work in gst-rtsp-launch.
You can replace uridecodebin with filesrc ! qtdemux ! h264parse ! nvv4l2decoder for a try.
But I am getting this error on building test-launch.c
gcc test-launch.c -o test-launch $(pkg-config --cflags --libs gstreamer-1.0 gstreamer-rtsp-server-1.0)
test-launch.c: In function main:
test-launch.c:77:3: warning: implicit declaration of function gst_rtsp_media_factory_set_enable_rtcp; did you mean gst_rtsp_media_factory_set_latency? [-Wimplicit-function-declaration]
gst_rtsp_media_factory_set_enable_rtcp (factory, !disable_rtcp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gst_rtsp_media_factory_set_latency
/tmp/cc4QmOHi.o: In function main': test-launch.c:(.text+0x154): undefined reference to gst_rtsp_media_factory_set_enable_rtcp’
collect2: error: ld returned 1 exit status
I googled it a bit, but couldn’t find anything useful.
Also, please can you share the complete pipeline with filesrc ! qtdemux ! h264parse ! nvv4l2decoder for launching file to RTSP server.
I am facing issues there as well.
Pardon me, but I am a beginner in GStream and deepstream.
Although I was getting the same issue even after installing the libraries.
/tmp/ccbSfg5x.o: In function `main':
test-launch.c:(.text+0x154): undefined reference to `gst_rtsp_media_factory_set_enable_rtcp'
collect2: error: ld returned 1 exit status
But gst-rtsp-launch ran successfully with filesrc and this command was able to run the server on Jetson nano
The problem you have is that u are probably using Gstreamer 14.5 and the test-launch is from a newer version.
you have two options,
check out the 14.1 branch or just comment the line
//gst_rtsp_media_factory_set_enable_rtcp (factory, !disable_rtcp);
in test-launch.c