Motion - Support Question 2013x 08x 29x 183514

What determines when the %v (event) counter resets?

Question

I'm having issues where the event counter is being reset. I can't figure out what determines when the counter is reset -- ideally (for my uses) it would increment until midnight, then reset at the new day. However, this is not the case for me. I rotate images out of the target_dir using the on_event_end directive, so that could be the cause. However, this is less than ideal. In my verbatim field, images are named like this: % Y % m%d-%t-%v- % H % M%S-%q . As you can see, an event occurred at 11:56 am, and was assigned event id 01. Another event occurred at 13:26, and was also assigned event ID of 01. How can this be prevented? I would very much prefer to rotate images out of my target_dir as soon as as the event ends, since I do things with them.
[1] [NTC] [EVT] [Aug 29 11:56:14] event_newfile: File of type 1 saved to: /mnt/locallen/motion/20130829-1-01-115613-04.jpg
[1] [NTC] [EVT] [Aug 29 11:56:14] event_newfile: File of type 1 saved to: /mnt/locallen/motion/20130829-1-01-115614-00.jpg
[1] [NTC] [EVT] [Aug 29 11:56:14] event_newfile: File of type 1 saved to: /mnt/locallen/motion/20130829-1-01-115614-01.jpg
[1] [NTC] [EVT] [Aug 29 13:26:05] event_newfile: File of type 1 saved to: /mnt/locallen/motion/20130829-1-01-132604-04.jpg
[1] [NTC] [EVT] [Aug 29 13:26:05] event_newfile: File of type 1 saved to: /mnt/locallen/motion/20130829-1-01-132605-00.jpg
[1] [NTC] [EVT] [Aug 29 13:26:05] event_newfile: File of type 1 saved to: /mnt/locallen/motion/20130829-1-01-132605-01.jpg

Environment

Motion version: 3.3.0
ffmpeg version:  
Libraries: ffmpeg, mysql, postgresql
Server OS: fedora 18
-- KeeganMorrison - 29 Aug 2013

Answer

Topic revision: r1 - 29 Aug 2013, KeeganMorrison
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.