Gstreamer RTSP Missing authentication protocol

Hello Experts,

I’m trying to use gstreamer for reading the RTSP streaming. I am facing an authentication plugin missing issue. Any Fix ?

Not Working:

gst-launch-1.0 rtspsrc location=rtspt://user:psw@192.168.1.2 ! decodebin ! nvvidconv ! video/x-raw, format=BGRx ! videoconvert ! xvimagsink

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

Simple capture using CPU is Working but it consumes CPU load.

cv2.VideoCapture('rtsp://test:test@192.168.1.2:554')

Hi,
Looks like the URI is invalid. Please try

gst-launch-1.0 rtspsrc location=rtsp://test:test@192.168.1.2:554 ! fakesink

Hi @DaneLLL

Still, the pipeline doesn’t work as expected, and the same error.

gst-launch-1.0 rtspsrc location=rtsp://test:test@192.168.1.2:554 ! fakesink

But the following works

cv2.VideoCapture('rtsp://test:test@192.168.1.2:554')

Hi,
Maybe you need RTSP_ADDRESS like

location='rtsp://test:test@192.168.1.2:554'