ONVIF http auth issue?

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
adderdawn
Posts: 3
Joined: Tue Jan 21, 2020 2:55 am

ONVIF http auth issue?

Post by adderdawn »

All -

I'm new to this, and really struggling to get my first camera setup. I have a western digital readyview camera which has zero documentation - either in the box, or on the web (as far I I can tell after extensive searching). I have a fresh install of ZoneMinder v1.33.16 on Debian Buster and use MariaDB.

I have assigned a static IP to my camera and am able to browse to the site to login.

When I use ONVIF Device Manager v2.2.250, I am able to log in and view information about the streams.

When I use ONVIF probe in ZoneMinder after selecting my camera and entering the same login details that I used in the ONVIF Device Manager, I receive a 'no profiles detected' message.

Any help troubleshooting is appreciated. I checked the /var/log/zm and all is empty. When I change Options|Logging|LOG_LEVEL_WEBLOG to Debug, I get a number of errors, but most of them seem to be related to the fact that ZM is managing a failed monitor.

thanks in advance.
bbunge
Posts: 2923
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: ONVIF http auth issue?

Post by bbunge »

This forum is for Zoneminder 1.34.x. Suggest you upgrade Zoneminder!
As for your issue, the ONVIF tool should give you the values to use. Also use VLC to test the settings and use those in zm. Use ffmpeg and use the resolution VLC reports.
fulvioth
Posts: 21
Joined: Wed Dec 18, 2019 5:27 pm

Re: ONVIF http auth issue?

Post by fulvioth »

Hi, i just wanna try to help because i had the same issue at the beginning. Onvif probe isn't able to enumerate the video profiles (same problem as yours) probably we're doing something wrong.
Anyway i solved this way.
Consider that i'm using v1.32.3 and i can't say if something is different in your version.

Create a new monitor and configure it like this:
onvif1.png
onvif1.png (24.1 KiB) Viewed 3326 times
Change "Name" and "Function" as you like
For the "Maximum FPS" and "Alarm maximum FPS" i guess you should leave the default values you have (this can cause problems as far as i know)

Move to the "Source" tab and configure it:
onvif2.png
onvif2.png (19.32 KiB) Viewed 3326 times
"Source path" is the key. build it up like this:

Code: Select all

rtsp://USER:PWD@CAMERAIPADDRESS:ONVIFPORT/PATH
for example:

Code: Select all

rtsp://admin:123456@192.168.1.1:81/ucast/11
You should be able to get all the information you need from ONVIF Manager.
Check the width and height of your streaming video and put the exact values in the "Capture Width (pixel)" and "Capture Height (pixel)" fields.
Save it and see what happens.

again i'm new to this as well, i'm just trying to share my findings.
good luck!
adderdawn
Posts: 3
Joined: Tue Jan 21, 2020 2:55 am

Re: ONVIF http auth issue?

Post by adderdawn »

Hi fulvioth and bbunge, Thank you very much for your help. I followed the advice you gave but unfortunately it didn't work out, entirely.. you did help me to figure out the address of my stream and I was able to view my camera's output in VLC, but still can't get ZM to connect with the same address. Per your and bbunge's advice, I made sure to use the same resolution as is reported in VLC and the ffmpeg source type. The codec reported in VLC is H264.

I'm going to upgrade and see if that helps. I'm sure it's something I'm doing wrong, but I'm out of other ideas at this point.

ps. sorry for posting in the wrong channel.. i didn't realize there were separate release channels until you pointed it out.
adderdawn
Posts: 3
Joined: Tue Jan 21, 2020 2:55 am

Re: ONVIF http auth issue?

Post by adderdawn »

Okay, as usual, it was something obvious... now. There's a switch in the top right where you can change the state of the whole system. It said 'STOP'... when I changed it to 'START' everything started working. I'm sure I must have toggled that early in my exploration of the package - back when I couldn't even view my camera's stream in VLC.

I'm still going to upgrade - the security and other updates in 1.34 look great - but for now, thank you for your help.
Post Reply