Capture every minute
Capture every minute
Hi all, I'm looking to just use zoneminder to do a single capture from a camera every minute. Is there a command I can run with cron to achieve this? Or a full reference to what exactly each zm command does?
Cheers
Cheers
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
just set the monitor to 0.016 fps or 1 fps and a frame skip of 59
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
This works but we there are serious performance issues, mainly due to the fact that we require to record at realtime for security and one frame per minute for general users.
Defining two sources locks up the cpu and delays recording, ie the timer on the source will show that it's capturing every second but the image will refresh every 4 seconds.
Any ideas?
Defining two sources locks up the cpu and delays recording, ie the timer on the source will show that it's capturing every second but the image will refresh every 4 seconds.
Any ideas?
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
i dont understand, maybe a full explaination of what your tring to achieve?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
You can set a cron job on the web server to wget an image from the ZM machine with:
wget http://<your_IP_for_ZM>/cgi-bin/nph-zms?mode=single&monitor=2&scale=100
This will pull the current image from the zm monitorID 2.
You can also use zmu to pull one image on the ZM macine it self.
zmu -m2 -i [-U<username> -P<password>]
wget http://<your_IP_for_ZM>/cgi-bin/nph-zms?mode=single&monitor=2&scale=100
This will pull the current image from the zm monitorID 2.
You can also use zmu to pull one image on the ZM macine it self.
zmu -m2 -i [-U<username> -P<password>]
Capture every minute
When I enter http://<your_ip_for_zm>/cgi-bin/nph-zms?mode=single&monitor=2&scale=100
into my browser I get a blank page. Trying wget http://<your_ip_for_zm>/cgi-bin/nph-zms?mode=single&monitor=2&scale=100 just gives an empty file. Is there something else I am missing. I would love to get a capture every minute.
Program working fine otherwise. Just trying to fine tune out cloud shadows and fine tune in cars pulling into the driveway Using 1.23.2 on Ubuntu installed from a .deb package.
Thx.
into my browser I get a blank page. Trying wget http://<your_ip_for_zm>/cgi-bin/nph-zms?mode=single&monitor=2&scale=100 just gives an empty file. Is there something else I am missing. I would love to get a capture every minute.
Program working fine otherwise. Just trying to fine tune out cloud shadows and fine tune in cars pulling into the driveway Using 1.23.2 on Ubuntu installed from a .deb package.
Thx.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
do you have auth enabled?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
when you view a live image through the console, right click on the image ot view the path and post it here
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk