Hello to everyone
i'm new to zoneminder and i can't find a way to access my camera stream .
I know that the address (tested with ffmpeg and ffplay) is this: http://192.168.0.136/livestream/11 but the problem is that works only if i pass this custom header: -headers "Authorization: Basic YWRtaW46" , if i pass user:pass@ip won't work...
The full ffplay command that works well is: ffplay -headers "Authorization: Basic YWRtaW46" -i "http://192.168.0.136/livestream/11"
How could i pass this custom header to my source?
Usually if you have the stream right and the cam doesn't work it is the resolution you enter in Zoneminder. VLC is a great tool to prove if a cam will work in Zoneminder. To see the resolution you need to use: VLC (Tools, Media Information, Codec) to check camera Display Resolution.
You can also halve the listed resolution to lower the load on the server.
The OP is saying that putting the username and password in the URL does not work. He wants to use an HTTP connection and pass the credentials in the headers, like you’d do with an API.
Unless it can be done as part of the FFMPEG command, I can’t see how this would happen in ZM without a code change.
wes93 wrote: ↑Wed Apr 28, 2021 8:48 am
Hello to everyone
i'm new to zoneminder and i can't find a way to access my camera stream .
I know that the address (tested with ffmpeg and ffplay) is this: http://192.168.0.136/livestream/11 but the problem is that works only if i pass this custom header: -headers "Authorization: Basic YWRtaW46" , if i pass user:pass@ip won't work...
The full ffplay command that works well is: ffplay -headers "Authorization: Basic YWRtaW46" -i "http://192.168.0.136/livestream/11"
How could i pass this custom header to my source?
Thanks a lot
Stefano
In the 'Source" tab for that monitor under 'Options', have you tried putting: