Page 1 of 1

Zm 1.24.2 - How do I get single images or snapshots?

Posted: Thu Oct 07, 2010 6:33 pm
by jrpend
Forgive me if this is a well know issue, but it has me puzzled.

I need, like every hour or so, to extract a single timestamped image from one of the cameras. These are attached via a blue cherry bttv8 card.

From reading the forums I tried:

http://<ipaddr>/cgi-bin/zm/nph-zms?mode=single&monitor=3&scale=100&user=<name>&pass=<passwrd> thinking I could simply do wget on the localhost from my script. It fails with a

Oct 7 10:58:27 nelson zms[21219]: FAT [Unable to load monitor id 3 for streaming]
Oct 7 10:58:27 nelson zms[21219]: INF [Got signal 6 (Aborted), exiting and forcing backtrace]

Any suggestions on how to fix this and/or extract a single timestamped image from various cameras locally?

Thank you for your patience
Jerald

Posted: Thu Oct 07, 2010 7:47 pm
by kingofkya
http://<ipaddr>/cgi-bin/zm/nph-zms?mode=single&monitor=3&scale=100&user=<name>&pass=<passwrd>


the bold part looks wrong
Should it not be:
/cgi-bin/nph-zms?

Posted: Fri Oct 08, 2010 5:28 am
by jrpend
Hmmm. Ok - It should be the latest zoneminder - the installation is less than 7mos old and I check on the admin screen it tells me it is 1.24.2. The CGI path is being set in the conf.d/zoneminder file. Perhpas something in the fedora rpm?

Posted: Fri Oct 08, 2010 8:08 pm
by kingofkya
in zoneminder just right click on the image of the camera and click view image it will give you a hint about the corect path.

Posted: Sat Oct 09, 2010 9:15 pm
by jrpend
Solved!!!

Using a hint posted by kingofkya, I right clicked on the image while monitoring the camera of choice and discovered that even though I have only 4 camera, the monitor number has grown to a much larger value - in my case 15. I supply 15 as the monitor number and it all works!!.

Thank you everyone.

:D