Page 1 of 1
ZM automatic filtering after event - continous recoring
Posted: Tue May 23, 2006 7:45 am
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.
Posted: Tue May 23, 2006 9:08 am
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
Posted: Wed May 24, 2006 7:24 am
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
Posted: Wed May 24, 2006 8:27 am
by jameswilson
i think you can only filter on events that have finished anyway but you do have a start and end time
Posted: Wed May 24, 2006 10:25 am
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
Posted: Wed May 24, 2006 12:54 pm
by jameswilson
Date/Time < -20 day would list only events older than 20 days