Discontinuity in event Record mode

Forum for questions and support relating to the 1.25.x releases only.
Locked
arkhchance
Posts: 4
Joined: Mon Mar 18, 2013 1:27 pm

Discontinuity in event Record mode

Post 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.
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Discontinuity in event Record mode

Post by bb99 »

I believe you want mocord instead of record.
arkhchance
Posts: 4
Joined: Mon Mar 18, 2013 1:27 pm

Re: Discontinuity in event Record mode

Post by arkhchance »

Why would I want mocord ?
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Discontinuity in event Record mode

Post 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.
arkhchance
Posts: 4
Joined: Mon Mar 18, 2013 1:27 pm

Re: Discontinuity in event Record mode

Post 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...
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Re: Discontinuity in event Record mode

Post by jameswilson »

I'm stumped. In the error log are there any MySQL issues. Plus what load is the box under normally?
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
arkhchance
Posts: 4
Joined: Mon Mar 18, 2013 1:27 pm

Re: Discontinuity in event Record mode

Post 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.
Locked