Page 1 of 1

Storing RTSP Events

Posted: Wed Feb 01, 2023 7:40 pm
by trolin
I have some Eufy cameras that feature good motion detection. I'd like to use ZoneMinder to simply store the events identified by the cameras - as opposed to ZM doing its own motion detection from a continuous stream. (I've been working in that mode and ZM events often do not match up with the cameras' events.)
I've changed one camera from Continuous Recording to Events. I lose the live feed but that's not a problem. When the camera triggers an event, ZM records it, but the first several seconds are missing. I assume ZM polls the camera at some interval. I'd like to shorten that interval, but it's not clear what parameter(s) need adjusting.
Any assistance is appreciated, and feel free to just point me at relevant documentation.

Re: Storing RTSP Events

Posted: Fri Feb 03, 2023 2:46 pm
by Maximo1970
Have a look in the Buffers section of the camera configuration and play around with the values.

Here's what I'm currently using and seem to capture what's needed.

mage Buffer Size (frames) - 5
Maximum Image Buffer Size - 101
Warmup Frames - 25
Pre Event Image Count - 30
Post Event Image Count - 60
Stream Replay Image Buffer - 30
Alarm Frame Count - 5

Re: Storing RTSP Events

Posted: Fri Feb 03, 2023 2:53 pm
by Magic919
I presume this is 1.37 not 1.36.

Re: Storing RTSP Events

Posted: Thu Feb 09, 2023 1:39 pm
by trolin
Maximo1970 wrote: Fri Feb 03, 2023 2:46 pm Have a look in the Buffers section of the camera configuration and play around with the values.

Here's what I'm currently using and seem to capture what's needed.

mage Buffer Size (frames) - 5
Maximum Image Buffer Size - 101
Warmup Frames - 25
Pre Event Image Count - 30
Post Event Image Count - 60
Stream Replay Image Buffer - 30
Alarm Frame Count - 5
I'll play with this. Thanks!

Re: Storing RTSP Events

Posted: Thu Feb 09, 2023 1:42 pm
by trolin
Magic919 wrote: Fri Feb 03, 2023 2:53 pm I presume this is 1.37 not 1.36.
I'm running 1.36.

Re: Storing RTSP Events

Posted: Thu Feb 09, 2023 5:19 pm
by Magic919
How does the camera trigger events?

Re: Storing RTSP Events

Posted: Thu Feb 09, 2023 5:49 pm
by trolin
Magic919 wrote: Thu Feb 09, 2023 5:19 pm How does the camera trigger events?
I've done no research nor analysis of what the camera is doing. In its RTSP configuration, it provides 2 options for "Video type store to NAS":

* Events
* Continuous Recording

The latter allows a live stream in ZM, but then ZM is doing its own event detection. I simply want remote storage of on-camera events. Other cameras I've used have supported storage of event clips to an FTP server, which is what I'm really looking for. With this camera, RTSP is the only option.

Re: Storing RTSP Events

Posted: Thu Feb 09, 2023 7:45 pm
by Magic919
Ok. Zoneminder doesn’t support what you describe.

Re: Storing RTSP Events

Posted: Fri Feb 10, 2023 1:44 am
by trolin
Magic919 wrote: Thu Feb 09, 2023 7:45 pm Ok. Zoneminder doesn’t support what you describe.
Somehow, it seems to be doing just that. The only problem is getting it to start recording a couple seconds earlier than it does.

Re: Storing RTSP Events

Posted: Fri Feb 10, 2023 7:37 am
by Magic919
As I said, ZM doesn’t support the Eufy RTSP event push mode. You need a compatible NAS.

ZM is seeing a stream burst into life and then, shortly after, triggers on motion and creates an event.

You can try to make ZM more sensitive to motion and increase buffers as suggested.

Re: Storing RTSP Events

Posted: Fri Feb 10, 2023 1:16 pm
by trolin
Magic919 wrote: Fri Feb 10, 2023 7:37 am As I said, ZM doesn’t support the Eufy RTSP event push mode. You need a compatible NAS.

ZM is seeing a stream burst into life and then, shortly after, triggers on motion and creates an event.

You can try to make ZM more sensitive to motion and increase buffers as suggested.
That makes sense. Thanks.