RTSP authentication

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
anotheruser
Posts: 2
Joined: Mon Jun 02, 2025 8:00 am

RTSP authentication

Post by anotheruser »

Hi all!

On the CLI, this works perfectly:

ffplay rtsp://admin:password@192.168.15.100:554/Streaming/channels/101


In the "Source Path" field I have this:

rtsp://admin:password@192.168.15.100:554/Streaming/channels/101

However, the log says this:

Unable to open input rtsp://192.168.15.100/Streaming/channels/101 due to: Permission denied

How can I persuade zoneminder to pass the credentials to the camera?
User avatar
iconnor
Posts: 3362
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: RTSP authentication

Post by iconnor »

ZM does pass them. The logs are automatically sanitised.

Are there weird characters in the password?
anotheruser
Posts: 2
Joined: Mon Jun 02, 2025 8:00 am

Re: RTSP authentication

Post by anotheruser »

No.

Does ZM offer any way to debug this, or do I need to fall back to externnal tools like tcpdump?
User avatar
iconnor
Posts: 3362
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: RTSP authentication

Post by iconnor »

You can turn on debug logging and it will be very verbose. I can see that this is a Hikvision/clone.. they have a feature that locks you out after a few bad login attempts.
You can check the logs in the camera itself, it might give a clue.
Post Reply