Auto login RTSP stream from Dahua

Falcon

n3wb
Joined
Jan 23, 2017
Messages
25
Reaction score
4
I'm trying to determine the RTSP URL for a Dahua IPC-HDW5231R-Z that will auto login for a Raspberry Pi
Using VLC Media Player, I'm able to see the video using either of the following URLs but with a manual login:

rtsp://192.168.4.82:554/cam/realmonitor?channel=1&subtype=1
or
rtsp://192.168.4.82:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif


When I insert my (actual) ID and password I get a login fail: "VLC is unable to open the MRL"

rtsp://admin:password@192.168.4.82:554/cam/realmonitor?channel=1&subtype=1
or
rtsp://admin:password@192.168.4.82:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif

Do I have the ID and password formatting correct?

Falcon
 

0blar

Getting the hang of it
Joined
May 17, 2017
Messages
281
Reaction score
34
Hi
Using vlc on windows pc with
Code:
rtsp://admin:password@192.168.1.108/cam/realmonitor?channel=0&subtype=0
:working fine for me
 

Falcon

n3wb
Joined
Jan 23, 2017
Messages
25
Reaction score
4
I appreciate you checking. My password is pretty long and has some special characters. Perhaps that's the issue.

I did also check it with and without the port after the IP, but that didn't make a difference.

Falcon
 
Top