Hello,
I'm not using a lot of options on zoneminder, but I would like to upload the mp4 file generated on the cloud without all the jpeg files to not consume a enormous amount of operation on the cloud provider of my choice.
For that what I would like to do is force zoneminder to create a new event when I desire.
Let me explain, currently zoneminder is creating files like this: I activate the camera and an event folder is created in /var/cache/zoneminder/events/MONITORID/DAY/EVENTID
It's not too hard to get the video from the folder but I would prefer for zoneminder to not be writing the mp4 file while i'm trying to upload it.
My conclusion is that I need to force it to generate a new event id and create the new folder. Does anyone knows how to do that? I search a bit on the forum and others resources and did not find it, may have missed it.
Thank you in advance.
Force a new event id
-
- Posts: 1210
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Force a new event id
I may misunderstand, but what you might want to do is wait for the file to complete - i.e., wait for end time to be non-null.
-
- Posts: 7
- Joined: Mon May 15, 2023 11:04 am
Re: Force a new event id
Yeah, but the idea is that I don't want to wait
I have found a way to force the id change by forcing the state to go from security to home(no recording) and then to security again to start recording again.
I did some testing and the event id can take a lot of time to change. I waited more than 15 minutes once and it never changed.
I have found a way to force the id change by forcing the state to go from security to home(no recording) and then to security again to start recording again.
I did some testing and the event id can take a lot of time to change. I waited more than 15 minutes once and it never changed.
-
- Posts: 1210
- Joined: Sat Aug 31, 2019 7:35 am
- Location: San Diego
Re: Force a new event id
IC.
Maybe look at Options->Config->EVENT_CLOSE_MODE?
Perhaps in some combo with Monitor->Misc->Section length?
Maybe look at Options->Config->EVENT_CLOSE_MODE?
Perhaps in some combo with Monitor->Misc->Section length?