Gstreamer pipeline error

Please provide complete information as applicable to your setup.

Hardware Platform (x86_64)
Ubunto 20.04 LTS

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

this es the sintax of the url:

I am debuging this pipeline:

My command pipeline is:

gst-launch-1.0 --gst-debug=rtspsrc:3 rtspsrc location=rtsp://userxxxx:pwdxxxxx@ ! 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@'

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')

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

    if cv2.waitKey(1) == 27:


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.