Alarm Frame Count

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
ruralcdn
Posts: 1
Joined: Mon Feb 10, 2020 3:36 pm

Alarm Frame Count

Post by ruralcdn »

Alarm Frame Count, found under the buffers tab in my source. What should this be set to?

I currently have it set to 5 and I get many videos with 1 alarm frame only.

Typical capture will be...

Alarm Frames 1
Total Score 1
Avg. Score 1
Max. Score 1

It's usually a snowflake that passed very quickly past close to my camera.
User avatar
iconnor
Posts: 2900
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Alarm Frame Count

Post by iconnor »

It is supposed to act so that it takes 5 alarmed frames before triggering recording. I have seen some cases where it seems to trigger after just 1... but when I look closely I havn't been able to figure out why. Kindof a known bug. Hopefully I'll figure it out soon.
fontiano
Posts: 68
Joined: Wed Dec 25, 2019 10:29 am

Alarm Frame Count

Post by fontiano »

Same problem here:
Attachments
Cattura2.JPG
Cattura2.JPG (37.49 KiB) Viewed 10433 times
Cattura.JPG
Cattura.JPG (58.86 KiB) Viewed 10433 times
Production: zm 1.34.26 - Debian 11 | Test: zm 1.36.33 - Debian 12
User avatar
iconnor
Posts: 2900
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Alarm Frame Count

Post by iconnor »

User avatar
iconnor
Posts: 2900
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Alarm Frame Count

Post by iconnor »

I've fixed this in master, will include it in 1.34.22.

The exact case that caused it was alarm_frame_count > 1, preeventcount=0.
fontiano
Posts: 68
Joined: Wed Dec 25, 2019 10:29 am

Re: Alarm Frame Count

Post by fontiano »

thank you very much
Production: zm 1.34.26 - Debian 11 | Test: zm 1.36.33 - Debian 12
mrd
Posts: 269
Joined: Wed Apr 26, 2006 12:39 am
Location: Boston USA

Re: Alarm Frame Count

Post by mrd »

Old thread, I know, but I think I'm seeing the same behavior on 1.37.42

Any chance this regressed?

I have two active zones for the monitor.
I was getting false alarms and raised the alarm frame count to 3, but still see the same type of false alarms with alarm frames < 3. These are the exact events I was trying to get rid of. Mostly rain, fog and morning light. It seems like if this worked as I expected it to, I would have solved my problem, but maybe I misunderstand its functionality?
MRD
User avatar
iconnor
Posts: 2900
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Alarm Frame Count

Post by iconnor »

Are you doing detection on every frame, or a say 2fps or something? There is an issue where, if we are skipping frames and doing every third frame, then we get to the alarm frame count value very quickly because we skipped 3 frames.
mrd
Posts: 269
Joined: Wed Apr 26, 2006 12:39 am
Location: Boston USA

Re: Alarm Frame Count

Post by mrd »

I see that the default under the "Analysis" settings is set to "Analysis FPS = 2".
I did not change this setting from the default. What should it be set to for a stream sending 15fps?

Thanks
MRD
User avatar
iconnor
Posts: 2900
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Alarm Frame Count

Post by iconnor »

It can be anything you want. Clear it if you want to do detection on every frame. I find that 2fps is sufficient to detect motion and saves a lot of cpu.
mrd
Posts: 269
Joined: Wed Apr 26, 2006 12:39 am
Location: Boston USA

Re: Alarm Frame Count

Post by mrd »

Thanks
MRD
mrd
Posts: 269
Joined: Wed Apr 26, 2006 12:39 am
Location: Boston USA

Re: Alarm Frame Count

Post by mrd »

I know this a dead horse, but it is so painful for my setup. I get hundreds of alarms from rain and snow and they are all below the currently configured Alarm Frame count = 5.

Is this a bug still? I can't seem to work around it on 1.37.46
MRD
User avatar
iconnor
Posts: 2900
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Alarm Frame Count

Post by iconnor »

The answer to rain and snow is object detection.
mrd
Posts: 269
Joined: Wed Apr 26, 2006 12:39 am
Location: Boston USA

Re: Alarm Frame Count

Post by mrd »

Agreed, but it isn't built in yet correct?

Also, this still seems like key functionality that at least doesn't work as expected for me. Am I doing something wrong? I must be if no one else is feeling this pain.
MRD
Post Reply