-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Motion detection, crashes, detection stops in 1.37 #4178
Comments
Not going to be able to help without a debug log. No one else is experiencing this. We don't necessarily need the entire log, a snippet of a few hundred lines may do. |
Need level 3 debugging? |
After disabling ONVIF on the camera, there are no problems so far (for 20 hours). It is possible that ONVIF events transmitted from the camera interfere with the analysis of ZM detection. |
So, today's behavior: |
You could try https://cloud.zoneminder.com/upload/upload_center.html Or I can setup and ftp account |
The archived file is lightweight. |
There were definitely movements between these two events that were not detected by ZM |
Not sure if this is the problem yet, but because you are analysing at 5fps but only decoding keyframes... you may skip over keyframes and generally not achieve any analysis. If you are going to only decode keyframes, then you really should not set an analysis limit so that it will analyze every keyframe. |
Now I completely stopped understanding what the "Analysis FPS" parameter means when "Decoding = Keyframes + Ondemand"
That is, if the camera broadcasts with FPS=20 and Keyframes are transmitted every 2 seconds, then it will be like this:
Am I wrong in my reasoning? |
Decoding=Keyframes means only keyframes are decoded. So you may skip over the only frame that was decoded. If a frame was not decoded then we can't analyze it. |
So, in theory, the "Analysis FPS" parameter should not affect the analysis at all when Decoding=Keyframes? I cleared the "Analysis FPS" parameter and will continue to monitor. |
Ideally. I have a patch where if decoding=KEYFRAMES and the packet is decoded it will analyse it, but that's not good enough. analysis fps could be set to 1/s but keyframe interval could be 2/s and so then we would be analysing at 2/s. |
With the "Analysis FPS" parameter unset (empty), events started to be recorded constantly (but there were also event skips!!!). More precisely, this is what happened:
Although they shouldn't be there, because there was no movement.... Log: https://cloud.kentavr.com.ru/s/CKgyFiDZTdei2p7/download/_debug_02133.zip It turns out that if you clear the "Analysis FPS" parameter, it still gets set to "2" when you save. I've set it to "90" now and will observe. |
Oh... that's a problem. I'll fix it. |
Describe Your Environment
If the issue concerns a camera
Detection area settings
Alarm Check Method: Blobs
Min/Max Pixel Threshold (0-255): 10
Filter Width/Height (pixels): 3 - 15
Zone Area: 100%
Min/Max Alarmed Area: 0.12%
Min/Max Filtered Area: 0.12%
Min/Max Blob Area: 0.12%
Min/Max Blobs: 1
I tried changing Alarmed Area, Filtered Area, Blob Area, but this only affects the size of the detection area. The problem remains.
Describe the bug
Initially, detection works correctly, but after recording from 2 to 10 events, the camera starts recording continuously and stops analyzing movements. Then it can stop recording altogether! If you go to the camera settings and simply re-save, the camera works correctly for some time.
No errors. Free memory ~30Gb out of 64Gb, CPU load does not exceed 40%
I understand that there is little information, but if you run debugging level 3, there will be a huge file.
I have not been able to solve this problem for several weeks, it is probably a bug.
The text was updated successfully, but these errors were encountered: