Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mocord and bulk frames just don't work, small events are recorded, many frames are lost #2084

Open
marcmerlin opened this issue Apr 20, 2018 · 16 comments
Labels

Comments

@marcmerlin
Copy link

ZoneMinder Version (zmaudit.pl -v):
gargamel:~# zmaudit.pl -v
1.30.4
Debian Source: zoneminder-dmo
Version: 2:1.30.4-dmo4

Many details were posted on
https://forums.zoneminder.com/viewtopic.php?p=105498

I'm supposed to get events of 10mn, unless there was an alarm. In real life, I'm getting totally weird event lengths and interval between frames that can be 10, sometimes 60 seconds+ !
Basically it seems that mocord was not tested and does not work :-/

Excerpt from the post referenced above:

All frames are marked as normal, so they were not bulk'ed. Yet, I get 10 seconds between frames, and then it jumps from frame 25 to 55 with a 45 second jump. What's going on?

Frame Id Type Time Stamp Time Delta Score
Frames - 5076676
(frame1-19 cut out by me)
20 Normal 23:09:35 10.24 0
21 Normal 23:09:35 10.88 0
22 Normal 23:09:36 11.43 0
23 Normal 23:09:37 11.97 0
24 Normal 23:09:37 12.38 0
25 Normal 23:09:37 12.88 0
55 Normal 23:10:10 45.85 0

then the next event is exactly 2 frames. 2 frames only, really?
Frames - 5076692
Frame Id Type Time Stamp Time Delta Score
1 Normal 23:10:01 0.00 0
2 Normal 23:10:14 12.69 0

But wait, 23:10:01 < 23:10:10, so the next 2 frame only event overlaps with the previous one.

Then the next event looks like this:
Frames - 5076695
Frame Id Type Time Stamp Time Delta Score
1 Alarm 23:10:24 0.00 92
2 Alarm 23:10:24 0.10 92
3 Alarm 23:10:25 0.21 90
4 Alarm 23:10:25 0.32 88
5 Alarm 23:10:25 0.43 90
6 Alarm 23:10:25 0.65 89

6 frames, all alarm, and then it jumps to the next event that 159 frames, and after a 2mn gap, which is a big deal again.
Frames - 5076712
Frame Id Type Time Stamp Time Delta Score
1 Normal 23:12:14 0.00 0
2 Normal 23:12:15 0.48 0
3 Normal 23:12:16 1.10 0
4 Normal 23:12:16 1.51 0

@mccrobie2000
Copy link

Sorry, left a comment in the other Issue #1698

@stale
Copy link

stale bot commented Jul 4, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 4, 2018
@marcmerlin
Copy link
Author

I worked around this problem by having events last 10mn and not create new events even if mocord found an alarm.
Still broken, but I found a way around it

@stale stale bot removed the stale label Jul 5, 2018
@asantaga
Copy link

@marcmerlin Can u explain your workaround?

@marcmerlin
Copy link
Author

@asantaga , what I wrote "I worked around this problem by having events last 10mn and not create new events even if mocord found an alarm."

@asantaga
Copy link

hey thanks for reporting..

OK Im being a little thick here, or a noob :-) , but by having the event last 10min you are setting the Section length to be 600 (isnt that default) and then how are you forcing no new event even if there is an alarm?

Sorry for being thick.. :-(

@stale
Copy link

stale bot commented Nov 19, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 19, 2018
@marcmerlin
Copy link
Author

still a problem

@stale stale bot removed the stale label Nov 19, 2018
@stale
Copy link

stale bot commented Jan 18, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 18, 2019
@marcmerlin
Copy link
Author

still a problem

@stale stale bot removed the stale label Jan 19, 2019
@stale
Copy link

stale bot commented Mar 20, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 20, 2019
@marcmerlin
Copy link
Author

still not stale

@stale stale bot removed the stale label Mar 20, 2019
@stale
Copy link

stale bot commented May 19, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added stale and removed stale labels May 19, 2019
@marcmerlin
Copy link
Author

still not stale
Sigh

@connortechnology
Copy link
Member

Have you tested with latest master? Not that much has changed around this code, but there HAVE been changes. 1.30.4 is pretty old.

@connortechnology
Copy link
Member

Please report if this is still an issue with 1.34.23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 participants