Page 1 of 1

Save pre-event from external command

Posted: Mon Dec 20, 2021 8:23 pm
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

Re: Save pre-event from external command

Posted: Tue Dec 21, 2021 11:31 am
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.

Re: Save pre-event from external command

Posted: Wed Dec 22, 2021 1:22 am
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.