Page 1 of 1

Limit motion detect FPS

Posted: Tue Apr 01, 2014 9:12 am
by kristoffer
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?

Re: Limit motion detect FPS

Posted: Tue Apr 01, 2014 6:08 pm
by PacoLM
Hi,

In the monitor General tab set:

Maximum FPS to 1
Alarm Maximum FPS to 5

Hope it helps,

PacoLM

Re: Limit motion detect FPS

Posted: Wed Apr 02, 2014 8:04 am
by kristoffer
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%!

Re: Limit motion detect FPS

Posted: Tue Apr 08, 2014 7:01 am
by Christo
Hello kristoffer,

For more information see: http://www.zoneminder.com/wiki/index.php/Managing_Load

Good luck, Christo

Re: Limit motion detect FPS

Posted: Sat Jun 07, 2014 3:36 pm
by mastertheknife
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.

Re: Limit motion detect FPS

Posted: Wed Jul 23, 2014 12:23 am
by carcachute
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.

Re: Limit motion detect FPS

Posted: Wed Jul 23, 2014 10:21 am
by BiloxiGeek
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.
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.

Re: Limit motion detect FPS

Posted: Sun Aug 17, 2014 8:08 pm
by carcachute
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.
Linked monitors is exactly what I need. Thanks!