end trigger if not re-triggered within - short clips

scoob8000

Getting the hang of it
Dec 28, 2018
123
55
PA
I've been trying to wrap my head around this for awhile.

One cam for example I have end trigger if not re-triggered within set to 20s, and max trigger time to 120s. I'm using zones and hotspot for motion. I can't figure out why my clips/alerts on some of these are coming up so short. I am recording continuous sub + triggered

On this cam for example this morning I have a car driving slowly thru the camera view. I have two alerts, one 4s long, and one 3s long. The first one is picking up just the headlights on the ground. The second alert you can see the car coming into frame, but the clip ends while the car is still in the middle of the frame and moving. Watching the clips with "analyze with motion" on, it's clearly detecting motion the whole time.

One setting I don't understand which is missing from help is on the trigger tab. Trigger until reset.

1731153461884.png
1731153480287.png
1731153513240.png


And the last frame of the alert
1731153621633.png
 
I would suggest that you turn off the setting under Motion Sensor for "Blackout" and set it to "Do not blackout", I just use "Highlight" "Show object rectangles" and see if it makes a difference!
Also without the timing of the first trigger and any following triggers it is hard to confirm if the first trigger is being retriggered or not, are you using CPAI by any chance, have you looked at the log files to see what is actually going on from BI's perspective?
 
I don't have blackout on. The blacked out areas are areas not inside of a motion zone.

I am running codeproject, but nothing in the logs for that one specific example I shared. There were two triggers and two clips. The first one was just the headlights of the car, then the second trigger and clip started as the car came into frame.
I just can't wrap my head around why the clip cut short though.

I've seen this before on all of my cams occasionally but never really dug into it. And it doesn't always occur, so hard to re-create.

I keep coming back to "break time" under the trigger tab. All of my cams are set to 20s. I would think from the way the docs read, every clip should be at least 20s long. longer if there was a re-trigger.
 
Last edited:
Sorry it was not blackout that I meant to say; you must have Highlight set to "Highlight and rectangles", change it to "Show object rectangles", the highlight is possibly confusing things!
 
I ran into this exact situation and lost a lot of time over it. In my case. some camera settings got out of sync because of the order I went about changing them. I had some cameras that worked ok, and some with the short clips, and every related setting in the GUI was identical. I got it "fixed" by fiddling with registry settings, and had a little back-and-forth with BI support. In the end the cleanest fix was to delete the camera and set it up again from scratch. If that doesn't work, I can tell you what registry setting I changed to make it work, but I don't see that as a clean solution.
 
I ran into this exact situation and lost a lot of time over it. In my case. some camera settings got out of sync because of the order I went about changing them. I had some cameras that worked ok, and some with the short clips, and every related setting in the GUI was identical. I got it "fixed" by fiddling with registry settings, and had a little back-and-forth with BI support. In the end the cleanest fix was to delete the camera and set it up again from scratch. If that doesn't work, I can tell you what registry setting I changed to make it work, but I don't see that as a clean solution.
Interesting. I think I've run into this before actually chatting with support. Not about the trigger time issue, but something else now that I'm thinking about it.

I sent support an email about this one to see what they say.

But I'm curious about your registry settings. More to verify than to tweak settings.
 
What fixed my short clip problem was changing in the registry:

Cameras\<camera name>\Alerts\<profile #>\retriggers from 1 to 0

I found this by comparing the registry values of a correct clip camera to the short clip camera.

In the back and forth with Ken at BI (very responsive I will add) he pointed out that this registry key is set from the camera's Alert tab, on the 2nd line of the When setting. What he said: "0 would be "new triggers only." If it's set for "new and all re-triggers" then yes the alert can be cut short (2 seconds etc) as it's preparing for another (overlapping) alert.
" After hearing this I though I could fix the short clip problem from the UI, but it didn't work, I gave up and deleted/recreated the camera.
 
  • Like
Reactions: scoob8000
What fixed my short clip problem was changing in the registry:

Cameras\<camera name>\Alerts\<profile #>\retriggers from 1 to 0

I found this by comparing the registry values of a correct clip camera to the short clip camera.

In the back and forth with Ken at BI (very responsive I will add) he pointed out that this registry key is set from the camera's Alert tab, on the 2nd line of the When setting. What he said: "0 would be "new triggers only." If it's set for "new and all re-triggers" then yes the alert can be cut short (2 seconds etc) as it's preparing for another (overlapping) alert.
" After hearing this I though I could fix the short clip problem from the UI, but it didn't work, I gave up and deleted/recreated the camera.

I'm waiting to hear back from Ken, but I think I may have found something.
If I do a trigger now, on a cam with a 20s break time I expect to see a 20s alert clip. However I get 3s. In the log I see the camera trigger, and about 3 seconds later the alert is canceled by AI. That's fine, but even though the alert is nothing found, I'd like it to be more than 3 seconds.

Here I tried turning off "New alert/analysis on re-trigger after cancellation" under the cam ai settings. Now I get a full 20s clip with "nothing found".

From the PDF:
By default, the option for New alert/analysis on re-trigger after cancellation is enabled.
If an alert is canceled, yet the trigger and motion continue, you may want to automatically
create additional alerts to analysis continuing motion. Otherwise, a new alert can not be
analyzed until the current trigger ends.

[EDIT/Update]
It was indeed that new alert/analysis on re-trigger causing the short clips.
 
Last edited: