Gstreamer pipeline error

Please provide complete information as applicable to your setup.

Hardware Platform (x86_64)
Ubunto 20.04 LTS
Gst-launch-1.0*

my rstpsrc url was previously tested in VLC ans works fine.

this es the sintax of the url:

rtsp://userxxxx:pwdxxxxx@192.168.5.66:554/cam/realmonitor?channel=3&subtype=0
I am debuging this pipeline:

My command pipeline is:

gst-launch-1.0 --gst-debug=rtspsrc:3 rtspsrc location=rtsp://userxxxx:pwdxxxxx@192.168.5.66:554/cam/realmonitor?channel=3&subtype=0 ! fakesink

and I am getting this information

0:00:00.108556646 11180 0x55c14cee0b60 WARN rtspsrc gstrtspsrc.c:6536:gst_rtspsrc_send: error: Not Found (404)
0:00:00.108717860 11180 0x55c14cee0b60 WARN rtspsrc gstrtspsrc.c:7973:gst_rtspsrc_open: can’t get sdp
0:00:00.108752681 11180 0x55c14cee0b60 WARN rtspsrc gstrtspsrc.c:6032:gst_rtspsrc_loop: we are not connected
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Not found
Additional debug info:
gstrtspsrc.c(6536): gst_rtspsrc_send (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Not Found (404)
ERROR: pipeline doesn’t want to preroll.
Setting pipeline to NULL …
Freeing pipeline …

i was trying using opencv and works fine with this code:

import cv2
import os
RTSP_URL = 'rtsp://userxxxx:pwdxxxxx@192.168.5.66:554/cam/realmonitor?channel=3&subtype=0'

os.environ['OPENCV_FFMPEG_CAPTURE_OPTIONS'] = 'rtsp_transport;udp'

cap = cv2.VideoCapture(RTSP_URL, cv2.CAP_FFMPEG)

if not cap.isOpened():
    print('Cannot open RTSP stream')
    exit(-1)

while True:
    _, frame = cap.read()
    cv2.imshow('RTSP stream', frame)

    if cv2.waitKey(1) == 27:
        break

cap.release()
cv2.destroyAllWindows()

Could you please help me to solve this issue?

The moderators prefer you only ask deepstream related questions here, but anyways.

Initially, i read your error details wrong.

It looks like your camera url may need some adjustments, each camera is different so i can’t say forsure what exactly is wrong with it.

this link may help you, they describe a similar issue.