Modect never stops recording after an Event

Forum for questions and support relating to the 1.25.x releases only.
Post Reply
mgc8
Posts: 8
Joined: Sat Dec 20, 2008 1:32 am

Modect never stops recording after an Event

Post by mgc8 » Thu Jul 25, 2013 11:35 am

Hello,

I've been using ZoneMinder for quite a number of years, mainly for monitoring remote locations, and it's been working great -- thanks everyone for the nice work!

Recently I wanted to start using its motion detection capabilities too, and unfortunately I've hit a problem that I can't seem to resolve.

In a nutshell, it all works perfectly until there is the first real motion event, but after that ZM considers absolutely every frame as an alarm frame; basically the event never ends and fills-up the whole storage space with gigabytes over gigabytes of data, which then becomes impossible to process into one file and has to be deleted.

The settings seem to be fine, because the actual recording doesn't start when there is no movement, and I can see frames coming in and being ignored. As soon as there is enough change to warrant an "alarm frame", the whole thing starts rolling. It looks like the system never "resets" the comparison frame and it keeps comparing to that first alarm frame, even when the object is long gone.

For example, if I put my hand in front of the camera, the event starts and records; then when I remove the hand, the recording continues indefinitely, even if the image is now static; looking at the Timeline it seems as if an increasing amount of alarm pixels happen as time progresses, while in reality all images look the same. If I manually stop the even and start the process again, everything is quiet until I move something in front of the camera, then the whole thing repeats.

At first I tried this with the default settings, and I thought I had mis-configured something. Then I started playing with various options, but nothing changed no matter what I selected:
  • Different presets (Fast/Best, Low/High sensitivity)
  • Buffers -- the default:
    Image Buffer Size (frames) 40
    Warmup Frames 25
    Pre Event Image Count 10
    Post Event Image Count 10
    Stream Replay Image Buffer 1000
    Alarm Frame Count 1
  • There is only one zone configured which covers the whole image area
  • Monitor set to "Modect", logs mainly green
Server: Debian Wheezy GNU/Linux, 64bit
  • ZM package from repositories: zoneminder-1.25.0-4
  • Hardware: Dual-Core i5-3210M CPU @ 2.50GHz w/SSD storage
  • Camera: Logitech OrbitAF PTZ over USB
  • Resolution: 800x600
Client:
  • Various devices on various OSs, all using Firefox 22.0 as the browser.
I'm looking forward to any ideas or suggestions on how to fix this, as I'd love to be using ZoneMinder to its full potential! Of course if you need more details I'll be happy to provide them.

Thank you,
Mihnea

mycam
Posts: 2
Joined: Fri Jul 26, 2013 9:11 pm

Re: Modect never stops recording after an Event

Post by mycam » Fri Jul 26, 2013 9:15 pm

New user and new install (debian pkg, 1.25.0).

Same problem with alarm not terminating.

Looking at the "scores" for each frame:

-initially 10 frames with score=0 (as expected).
-then some frames triggering the alarm, with score>0. When clicking on the score we the screen displays the details about how the score is computed (pixel diff,...)
-then some frames with score=50, (where it should have been 0). On those, clicking on the score, the message "There are no statistics recorded for this event/frame" is displayed. So it looks like it is using some default value set to 50.

Hope this helps...

bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Modect never stops recording after an Event

Post by bb99 » Fri Jul 26, 2013 10:54 pm

2 main reasons why this happens: Linked monitors, and zone setup one or more pixels outside of picture boundaries. For the linked monitors I recommend deleting all but one and check to see if problem persists. If not recreate other monitors one at a time being careful not to link them. For the zone issue delete all zones for a monitor and recreate them staying well inside frame boundaries.

mgc8
Posts: 8
Joined: Sat Dec 20, 2008 1:32 am

Re: Modect never stops recording after an Event

Post by mgc8 » Mon Jul 29, 2013 7:18 pm

Discussion moved here to prevent duplicates:
http://www.zoneminder.com/forums/viewto ... 29&t=21196

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests