Motion - Support Question 2009x 02x 03x 142324

Eventnumbers with Motion



I have a problem with the eventnumbers written by motion into the mysql-database. Every day at 6pm my motion is killed and restarted by a cronjob. This is because of performance problems with the physical machine. The problem of this is, that motion begins to count from 1 with the eventnumbers and it can happen, that I have multiple events with the same eventnumbers thrown over the day. This is a bit tricky to workaround in my webinterface, that I have scripted for my videoserver.

Now my question: Is it possible to give a random value to the eventnumber? Or an other option to make an event really unique?

Kind regards, S. Waigant

PS: Please apologize my english skills. smile

Paste in your error messages, config settings, terminal window output etc in this text field.


Motion version: 3.2.11
ffmpeg version:  
Libraries: ffmpeg, mysql, postgresql
Server OS:  

-- SergeiWaigant - 03 Feb 2009


Hi Sergei,

No way to give random values to events ... because we want that when motion start first event has 1 as value. The way to make unique a event is change to timestamp value , however you can use name of saved images / video that already you can setup as unique ( i.ex timestamp + number thread ) .

-- AngelCarpintero - 14 Feb 2009
Topic revision: r2 - 14 Feb 2009, AngelCarpintero
Copyright © 1999-2024 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.