Page 1 of 1
Discontinuity in event Record mode
Posted: Mon Mar 18, 2013 1:46 pm
by arkhchance
Hi,
My ZoneMinder System include 11 cctv-cameras in record mode. All cameras run at 25 fps with frame skip set to 1.
Everything is recorded on a NAS with 2x 4to HDD in raid 1.
Each event is 10 minutes long with about 7500 frames per event.
My problem is sometimes events are not recorded on the database.
I checked inside events directory and everything is there but it's missing in the database.
tof.canardpc[dot]com/view/785b9cf1-cab8-4a2f-ae36-2b1d10fb356a.jpg
(replace [dot] by . spam filter prevent me :p )
Code: Select all
SELECT *
FROM `Frames`
WHERE `EventId` =49821
returns nothing (it should return something)
I have repair all tables & tried to read something from zm's log but nothing seems wrong.
System is far from being overload, and diskspace for mysql is 500go.
If someone have any idea
Thanks in advance.
Re: Discontinuity in event Record mode
Posted: Tue Mar 19, 2013 2:51 am
by bb99
I believe you want mocord instead of record.
Re: Discontinuity in event Record mode
Posted: Tue Mar 19, 2013 1:10 pm
by arkhchance
Why would I want mocord ?
Re: Discontinuity in event Record mode
Posted: Tue Mar 19, 2013 11:41 pm
by bb99
Record is just that recording with no analysis; mocord is recording with analysis to give you the events you are looking for. In record = no events
From the wiki:
Record – In this case continuous events of a fixed length are generated regardless of motion which is analogous to a convention time-lapse video recorder. No motion detection takes place in this mode.
Mocord – This is a hybrid of Modect and Record and results in both fixed length events being recorded and also any motion being highlighted within those events.
Or maybe I'm not understanding what you're looking for.
Re: Discontinuity in event Record mode
Posted: Thu Mar 21, 2013 8:02 pm
by arkhchance
No that's not my problem.
How to explain it. Sometimes I miss 20min to 1 hour of frames. They are record inside the hard drive(until zmaudit clean them) , but they are not in the database. It's anoying. And I can't find where is it comming from...
Re: Discontinuity in event Record mode
Posted: Sun Mar 24, 2013 11:35 am
by jameswilson
I'm stumped. In the error log are there any MySQL issues. Plus what load is the box under normally?
Re: Discontinuity in event Record mode
Posted: Wed Mar 27, 2013 4:44 pm
by arkhchance
Well load is normal i think, 10 cctv @ 24fps @ 720*540 load is average 3.90 on a socket 1155 Intel Core i7 3770K
I tried to enable ZMF to write frame to hard drive, and logs go crazy with "Incomplete read of frame image data, 16024 bytes only"
ZMF no longer create discontinuity but I can't read past events as sometimes frame are not recorded. By that I mean inside directory there is 001-capture.jpg 002-capture.jpg 004-capture.jpg number 3 miss and cause zms to stop playing events. Each event is 7500frames store for 10 minutes each and each directory miss about 200 frames not record. TO patch thing up I have write a perl script to correct the situation by filling the gap between those "holes".
I have another system with less camera and everything is fine, the only difference is the capture card. And I believe the problem is there. One of the camera is gone completly crazy, so my guess is the capture cards are not working well somehow. I will change them tomorow and continue to monitor the situation.