Not able to acess the rtsp feed from the IP camera using gstreamer
gst-launch-1.0 rtspsrc location=rtsp://admin:Admin@123@192.168.1.65:554/Streaming/Channels/101/?transportmode=unicast ! fakesink
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://admin:Admin@123@192.168.1.65:554/Streaming/Channels/101/?transportmode=unicast
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not open resource for reading and writing.
Additional debug info:
gstrtspsrc.c(7469): gst_rtspsrc_retrieve_sdp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Failed to connect. (Generic error)
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …
gst-launch-1.0 rtspsrc location=‘rtsp://admin:Admin@123@192.168.1.65:554/Streaming/Channels/101/?transportmode=unicast’ ! fakesink
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://admin:Admin@123@192.168.1.65:554/Streaming/Channels/101/?transportmode=unicast
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not open resource for reading and writing.
Additional debug info:
gstrtspsrc.c(7469): gst_rtspsrc_retrieve_sdp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Failed to connect. (Generic error)
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …
gst-launch-1.0 rtspsrc location=‘rtsp://admin:Admin123@192.168.1.65:554/Streaming/Channels/101/?transportmode=unicast’ ! fakesink
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://admin:Admin123@192.168.1.65:554/Streaming/Channels/101/?transportmode=unicast
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not open resource for reading and writing.
Additional debug info:
gstrtspsrc.c(7469): gst_rtspsrc_retrieve_sdp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Failed to connect. (Generic error)
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …
sheel@sheel:~$ vlc
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
[0000564474954570] main libvlc: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface.
[00005644749584e0] main playlist: playlist is empty
Created new TCP socket 34 for connection
Created new TCP socket 34 for connection
[00007f7c38001120] live555 demux error: Failed to connect with rtsp://192.168.1.65:554/Streaming/Channels/101/?transportmode=unicast
[00007f7c38004b50] main stream error: connection failed: No route to host
[00007f7c38004b50] satip stream error: Failed to connect to RTSP server 192.168.1.65:554
[00007f7c38004b50] main stream error: connection failed: No route to host
[00007f7c38004b50] access_realrtsp stream error: cannot connect to 192.168.1.65:554
gst-launch-1.0 rtspsrc location=‘rtsp://admin:Admin123@192.168.1.65:554/Streaming/Channels/101/
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Progress: (open) Opening Stream
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Resource not found.
Additional debug info:
gstrtspsrc.c(7460): gst_rtspsrc_retrieve_sdp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
No valid RTSP URL was provided
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL
Freeing pipeline …
$ gst-launch-1.0 rtspsrc location=‘rtsp://admin:Admin123@192.168.1.65:554/Streaming/1?tcp’
Setting pipeline to PAUSED …
Pipeline is live and does not need PREROLL …
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://admin:Admin123@192.168.1.65:554/Streaming/1?tcp
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not open resource for reading and writing.
Additional debug info:
gstrtspsrc.c(7469): gst_rtspsrc_retrieve_sdp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Failed to connect. (Generic error)
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to PAUSED …
Setting pipeline to READY …
Setting pipeline to NULL …
Freeing pipeline …
Hi,
Please check with camera vendor to get valid URI in gstreamer. Since DeepStream SDK is based on gstreamer, have to let rtspsrc work with the source first.