ZM automatic filtering after event - continous recoring

Support and queries relating to all previous versions of ZoneMinder
Locked
rchurch
Posts: 31
Joined: Thu Feb 16, 2006 3:55 pm

ZM automatic filtering after event - continous recoring

Post by rchurch »

How often and when does ZoneMinder check that the conditions are set for a filter's to be run?

Is there also a way for ZoneMinder to know when an event has completed?

I am trying to do continuous recording which involves converting the evnt to video and deleting the jpegs after after the 15 minutes - 900 seconds have passed but I can't find an exact figure as the event counts is not always 900.

It seems that I may have to miss a few frames - being able to specify a precise after completion filterwould be better.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

why not chnage the filter to run on events over 1 hour old? that way you guarantee to get them, plus id run your filter at a uneventful time as vid creation can be hard on a machine. PObviously the school of thought is either
early hours of the morning when not a lot is happening but means you might drop jpegs if something did.
Or during the day when something can be less likely to happen!
your call
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
rchurch
Posts: 31
Joined: Thu Feb 16, 2006 3:55 pm

Post by rchurch »

This is what I am looking for. How do you define a filter to run after an event has completed? There doesn't appear to be any definition for it. Can the items and their criteria contain variables such as TimeStarted, Completed, TimeFinished etc, so that you can an expression suchs Now-TimeFinished > 20 minutes etc?

jameswilson wrote:why not chnage the filter to run on events over 1 hour old? that way you guarantee to get them, plus id run your filter at a uneventful time as vid creation can be hard on a machine. PObviously the school of thought is either
early hours of the morning when not a lot is happening but means you might drop jpegs if something did.
Or during the day when something can be less likely to happen!
your call
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

i think you can only filter on events that have finished anyway but you do have a start and end time
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
rchurch
Posts: 31
Joined: Thu Feb 16, 2006 3:55 pm

Post by rchurch »

Can you show me an example of this? Are there a list of keywords that the criteria field takes, it appears to me that only constants are entered there?

Do events only show up in the database when they are complete? If that is the case it will make things much easier for me. I can probably run a cron job to check it regularly and do whatever is required after the events how up.
jameswilson wrote:i think you can only filter on events that have finished anyway but you do have a start and end time
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Date/Time < -20 day would list only events older than 20 days
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
Locked