Problem: No connection with rtsp stream

SamsungCam

n3wb
Feb 16, 2017
5
2
Hello,
I use a HikVision DS-2CD2646G2T-IZS (Firmware V5.7.12 build 230131). I try to connect with the rtsp stream with VLC.
If I use the URL rtsp:/192.168.178.103:554/Streaming/Channels/101 I asked for user name and password and the it works.
If I use the URL rtsp:/admin:mypassword@192.168.178.103:554/Streaming/channels/101 it doesn't work. I don't understand why? Can you please help me?

VLC shows the following errors:

live555 error: Failed to connect with rtsp:/admin:554
main error: cannot resolve admin port 554 : Der angegebene Host ist unbekannt.
satip error: Failed to connect to RTSP server admin:554
main error: cannot resolve admin port 0 : Der angegebene Host ist unbekannt.
access_realrtsp error: cannot connect to admin:0

I need the access with the last URL to get a connection to my cctv program. Thanks in advance !
Here are some settings of the camera:


RTSP-Authent. basic/digest
RTSP Digest Algorithm MD5

ONVIF activated

WebSocket aktivieren
WebSockets aktivieren

SDK-Dienst aktivieren
Erweiterten SDK-Dienst aktivieren
Serverzertifikat

TLS1.1 aktivieren
TLS1.2 aktivieren
Enable TLS1.3
Enable Bonjour
Enable RTCP

all activated

Regards
Thomas
 
Last edited:
Have you tried changing the authentication from "basic/digest" to "digest"?
 
Last edited:
no more ideas?
I would reset the cam to factory defaults, log in to the default IP of 192.168.1.64, activate, create a new admin user and new password (per FAQ's the password set should contain 8 to 16 characters, including at least 2 of the following types: uppercase letters, lowercase letters, digits, and special characters. Password can not include the user name.) Set authentication to "basic/digest" and try again.

If no joy I'd consider upgrading the firmware if available.
 
  • Like
Reactions: looney2ns
main error: cannot resolve admin port 554
satip error: Failed to connect to RTSP server admin:554


I think the URL you used in VLC Player is wrong. Because it tries to connect admin:554 host. It should be 192.168.178.103:554.

The correct URL format should be like this:

rtsp:/admin:adminpasssword@192.168.178.103:554/Streaming/channels/101

Don't forget putting two "/" after "rtsp:"
 
thanks for the help
it works now, I made a complete camera reset and then the first try was succesful, so something with the camera was wrong....
Yep, like the ol' <CNTRL> <ALT>< DEL> on PC's for the past 40 years, it can resolve a multitude of issues, many unexplainable and illogical...:cool:
 
  • Like
Reactions: looney2ns