Unable access rtsp streams from DVR

Hi

I m using a Jetson NX and access video streams

I’m unable access the video feed with uri - rtsp:://admin:xxx@2011@11.11.11.20:554

Cameras are hikvision NVR

I m able access this from a laptop and python.

I m guessing the uri format im using might incorrect, is the @ in the password the problem.

Regards

Gautam

The error message I get is 401: Unauthorised

Hi,
You may try

gst-launch-1.0 rtspsrc location=rtsp://admin:xxx@2011@11.11.11.20:554 ! fakesink

to check if the URI is valid. If it works, please try

gst-launch-1.0 uridecodebin uri=rtsp://admin:xxx@2011@11.11.11.20:554 ! nvoverlaysink

Hi,

I tried the URI as mentioned above, getting the error as “No valid RTSP URL was provided”

I tried as - gst-launch-1.0 rtspsrc location=rtsp://admin:xxx@2011@11.11.11.20:554 ! fakesink
for this i get error as
gst_rtspsrc_send (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Unauthorized (401)

Regards

Gautam

Hi,
You may check with vendor to have a valid URI.

FYR. We have a Hikvision IP camera and the URI is

rtsp://admin:hello123@10.24.238.156:554/ISAPI/Streaming/channels/101

Hi

I checked but the URI’s were correct.

However, I tried encoding the URI while passing it (instead of @ - used %40) and it worked !!!
rtsp://admin:xxx%402011@11.11.11.20:554

Not sure if this is standard but it worked… Thanks

Regards

Gautam

1 Like