Save pre-event from external command

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
camalau
Posts: 2
Joined: Wed Apr 01, 2015 1:26 pm

Save pre-event from external command

Post by camalau »

Hello everybody!

I configured a camera's buffer to 20 seconds pre-event, I would like to externally save these 20 seconds, is there any way to do this via command or something? Because when I use "zmtrigger" it only generates the moment I send the command, not saving the 20 seconds before the command.

Thanks
Maximo1970
Posts: 97
Joined: Sun May 28, 2017 4:29 pm

Re: Save pre-event from external command

Post by Maximo1970 »

I don't think there is an easy way to capture the pre-event frames. Well not within Zoneminder, you could manipulate the event output post capture with a script.
User avatar
iconnor
Posts: 3335
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Save pre-event from external command

Post by iconnor »

A triggered event SHOULD have the pre-event frames. I'll take a look at the code... but.. unless there is some other misconfig, they SHOULD be there.

Ugh... the code too hairy for me to grasp tonight.
Post Reply