IMO my server is chewing a bit much CPU. This seems to be mostly because of motion-detection.
Is there perhaps a way to limit the motion detection to only process 1 FPS; even though i still want to record at 5FPS?
Limit motion detect FPS
Re: Limit motion detect FPS
Hi,
In the monitor General tab set:
Maximum FPS to 1
Alarm Maximum FPS to 5
Hope it helps,
PacoLM
In the monitor General tab set:
Maximum FPS to 1
Alarm Maximum FPS to 5
Hope it helps,
PacoLM
After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
-
- Posts: 15
- Joined: Thu Mar 06, 2014 5:18 pm
Re: Limit motion detect FPS
thanks,
But wouldn't i limit the recorded FPS too?
To elaborate abit; i use Mocord mode for a few cameras.
All cameras record at 5FPS constantly; both in alarmed state and normal.
I want to keep recording videos at 5FPS, so that when i watch them they at least reminds me of a video
But imo; the motion detection could process every 5 images, and i would still detect motion within a second of when the motion actually occured. This is good enough for me and would lower CPU usage by motion detection by 500%!
But wouldn't i limit the recorded FPS too?
To elaborate abit; i use Mocord mode for a few cameras.
All cameras record at 5FPS constantly; both in alarmed state and normal.
I want to keep recording videos at 5FPS, so that when i watch them they at least reminds me of a video
But imo; the motion detection could process every 5 images, and i would still detect motion within a second of when the motion actually occured. This is good enough for me and would lower CPU usage by motion detection by 500%!
Re: Limit motion detect FPS
Hello kristoffer,
For more information see: http://www.zoneminder.com/wiki/index.php/Managing_Load
Good luck, Christo
For more information see: http://www.zoneminder.com/wiki/index.php/Managing_Load
Good luck, Christo
-
- Posts: 678
- Joined: Wed Dec 16, 2009 4:32 pm
- Location: Israel
Re: Limit motion detect FPS
This is now possible in zm v1.27.1 (not yet released).
There is a new option called "Motion Frame Skip" which works like the "Write Frame Skip" option but this one is for motion detection.
There is a new option called "Motion Frame Skip" which works like the "Write Frame Skip" option but this one is for motion detection.
Kfir Itzhak.
-
- Posts: 38
- Joined: Wed Jul 23, 2014 12:21 am
Re: Limit motion detect FPS
Along the same lines, my cameras can produce multiple streams simultaneously--1080p and 320x180 at a lower frame rate for example. Can ZoneMinder use the low-res feed for motion detection and the high-res stream for capture? Seems like that would cut the CPU load drastically.
-
- Posts: 271
- Joined: Tue Feb 11, 2014 2:04 pm
Re: Limit motion detect FPS
In 1.27 it can, not sure about earlier versions. I have Grandstream IP cams that have a lowres and a highres feed. I set the lowres feed to modect, the highres to nodect and then linked the highres to the lowres so when the lowres detection goes to start recording the highres is also recorded. So the motion detection is done on the smaller images and you get events for both streams.carcachute wrote:Along the same lines, my cameras can produce multiple streams simultaneously--1080p and 320x180 at a lower frame rate for example. Can ZoneMinder use the low-res feed for motion detection and the high-res stream for capture? Seems like that would cut the CPU load drastically.
Currently for 5 IP cams, 2 streams on each my idle load average is usually between 1.5 and 2.0. That's using a Core I7-3770, 3.4GHz, 16GB memory.
-
- Posts: 38
- Joined: Wed Jul 23, 2014 12:21 am
Re: Limit motion detect FPS
Linked monitors is exactly what I need. Thanks!BiloxiGeek wrote: In 1.27 it can, not sure about earlier versions. I have Grandstream IP cams that have a lowres and a highres feed. I set the lowres feed to modect, the highres to nodect and then linked the highres to the lowres so when the lowres detection goes to start recording the highres is also recorded. So the motion detection is done on the smaller images and you get events for both streams.
Currently for 5 IP cams, 2 streams on each my idle load average is usually between 1.5 and 2.0. That's using a Core I7-3770, 3.4GHz, 16GB memory.