ZoneMinder / zoneminder

ZoneMinder is a free, open source Closed-circuit television software application developed for Linux which supports IP, USB and Analog cameras.
http://www.zoneminder.com/
GNU General Public License v2.0
5.16k stars 1.23k forks source link

Linked monitors broken in latest releases #3091

Closed johncolby closed 3 years ago

johncolby commented 3 years ago

Describe Your Environment

If the issue concerns a camera N/A. The cams have worked fine previously, and continue to work fine for triggering events on their own.

Describe the bug Multiple users on the forum have reported this issue, so I just wanted to repost it here. https://forums.zoneminder.com/viewtopic.php?f=42&t=30198 Previously working linked monitors have stopped working in recent releases. Specifically, I use a Nodect monitor for the high res stream linked to a Modect monitor for the low res stream from the same cam. Two such setups have both stopped working for me (see screenshot; the few events that did record on the nodect monitors were just me confirming I could still force an alarm on them directly).

Messages Image(2821341219)

To Reproduce Upgrade a previously working master snapshot (e.g. 1.35.12~20201028131153-focal was the last one I confirmed was working personally) to one of the newer ones. I first noticed this behavior on 1.35.14~20201123104159-focal, and it is still broken on 1.35.15~20201204114937-focal. I have noticed some changes in the vicinity of linked monitor handling around this same timeframe, but I am not sure of the exact issue. https://github.com/ZoneMinder/zoneminder/blame/master/src/zm_monitor.cpp#L492-L523

Expected behavior Events on one monitor should trigger events on its linked monitor, as was the case previously.

Debug Logs

zma_m1 (high res nodect linked monitor) ``` ❯ cat zm_debug.log.1129958 11/30/20 00:00:52.265432 zma_m1[1129958].DB1-zm_logger.cpp/235 [LogOpts: level=DB1 effective=DB1, screen=OFF, database=WAR, logfile=DB1->/var/log/zm/zm_debug.log.1129958, syslog=WAR] 11/30/20 00:00:52.265851 zma_m1[1129958].DB1-zm_utils.cpp/240 [Detected a x86\x86-64 processor with AVX] 11/30/20 00:00:52.266360 zma_m1[1129958].DB1-zm_ffmpeg_camera.cpp/195 [ffmpegcamera: width 2592 height 1520 linesize 7776 colours 3 image linesize 7776 imagesize 11819520] 11/30/20 00:00:52.266435 zma_m1[1129958].DB1-zm_monitor.cpp/386 [encoder params # Lines beginning with # are a comment # For changing quality, use the crf option # 1 is best, 51 is worst quality #crf=23] 11/30/20 00:00:52.266485 zma_m1[1129958].DB1-zm_monitor.cpp/435 [mem.size(8) SharedData=616 TriggerData=560 VideoStoreData=4128 timestamps=800 images=50x11819520 = 590976000 total=590982168] 11/30/20 00:00:52.266497 zma_m1[1129958].DB1-zm_storage.cpp/94 [No id passed to Storage constructor. Using default path /mnt/Data/zoneminder/events instead] 11/30/20 00:00:52.266507 zma_m1[1129958].DB1-zm_monitor.cpp/444 [Storage path: /mnt/Data/zoneminder/events] 11/30/20 00:00:52.266527 zma_m1[1129958].DB1-zm_monitor.cpp/597 [Unable to map file /dev/shm/zm.mmap.1 (590982168 bytes) to locked memory, trying unlocked] 11/30/20 00:00:52.266540 zma_m1[1129958].DB1-zm_monitor.cpp/600 [Mapped file /dev/shm/zm.mmap.1 (590982168 bytes) to unlocked memory] 11/30/20 00:00:52.266597 zma_m1[1129958].DB1-zm_monitor.cpp/499 [Waiting for capture daemon shared_data(1) last_write_index(0), last_write_time(0)] 11/30/20 00:00:53.266804 zma_m1[1129958].DB1-zm_monitor.cpp/597 [Unable to map file /dev/shm/zm.mmap.1 (590982168 bytes) to locked memory, trying unlocked] 11/30/20 00:00:53.266878 zma_m1[1129958].DB1-zm_monitor.cpp/600 [Mapped file /dev/shm/zm.mmap.1 (590982168 bytes) to unlocked memory] 11/30/20 00:00:53.266938 zma_m1[1129958].DB1-zm_monitor.cpp/499 [Waiting for capture daemon shared_data(1) last_write_index(50), last_write_time(0)] 11/30/20 00:00:54.267111 zma_m1[1129958].DB1-zm_monitor.cpp/597 [Unable to map file /dev/shm/zm.mmap.1 (590982168 bytes) to locked memory, trying unlocked] 11/30/20 00:00:54.267149 zma_m1[1129958].DB1-zm_monitor.cpp/600 [Mapped file /dev/shm/zm.mmap.1 (590982168 bytes) to unlocked memory] 11/30/20 00:00:54.267176 zma_m1[1129958].DB1-zm_monitor.cpp/499 [Waiting for capture daemon shared_data(1) last_write_index(50), last_write_time(0)] 11/30/20 00:00:55.267354 zma_m1[1129958].DB1-zm_monitor.cpp/597 [Unable to map file /dev/shm/zm.mmap.1 (590982168 bytes) to locked memory, trying unlocked] 11/30/20 00:00:55.267433 zma_m1[1129958].DB1-zm_monitor.cpp/600 [Mapped file /dev/shm/zm.mmap.1 (590982168 bytes) to unlocked memory] 11/30/20 00:00:55.267498 zma_m1[1129958].DB1-zm_monitor.cpp/499 [Waiting for capture daemon shared_data(1) last_write_index(50), last_write_time(0)] 11/30/20 00:00:56.267665 zma_m1[1129958].DB1-zm_monitor.cpp/597 [Unable to map file /dev/shm/zm.mmap.1 (590982168 bytes) to locked memory, trying unlocked] 11/30/20 00:00:56.267714 zma_m1[1129958].DB1-zm_monitor.cpp/600 [Mapped file /dev/shm/zm.mmap.1 (590982168 bytes) to unlocked memory] 11/30/20 00:00:56.278332 zma_m1[1129958].DB1-zm_monitor.cpp/1939 [Reloading linked monitors for monitor Driveway, '2'] 11/30/20 00:00:56.278368 zma_m1[1129958].DB1-zm_monitor.cpp/1990 [Linking to 1 monitors] 11/30/20 00:00:56.278378 zma_m1[1129958].DB1-zm_monitor.cpp/1994 [Checking linked monitor 2] 11/30/20 00:00:56.279057 zma_m1[1129958].DB1-zm_monitor.cpp/2021 [Linking to monitor 2] 11/30/20 00:00:56.279073 zma_m1[1129958].DB1-zm_monitor.cpp/537 [Monitor Driveway has function 6, label format = '%N - %m/%d/%Y %H:%M:%S', label X = 0, label Y = 0, label size = 2, image buffer count = 50, warmup count = 25, pre-event count = 25, post-event count = 25, alarm frame count = 1, fps report interval = 1000, ref blend percentage = 6, alarm ref blend percentage = 6, track motion = 0] 11/30/20 00:00:56.279625 zma_m1[1129958].DB1-zm_zone.cpp/854 [Got 0 zones for monitor Driveway] 11/30/20 00:00:56.279640 zma_m1[1129958].DB1-zm_monitor.cpp/2456 [Loaded monitor 1(Driveway), 0 zones] 11/30/20 00:00:56.279706 zma_m1[1129958].INF-zma.cpp/136 [In mode 6/1, warming up] 11/30/20 00:02:34.213159 zma_m1[1129958].INF-zm_monitor.cpp/1338 [Driveway: 1000 - Analysing at 10.20 fps] 11/30/20 00:04:14.268854 zma_m1[1129958].INF-zm_monitor.cpp/1338 [Driveway: 2000 - Analysing at 10.00 fps] 11/30/20 00:05:54.285184 zma_m1[1129958].INF-zm_monitor.cpp/1338 [Driveway: 3000 - Analysing at 10.00 fps] 11/30/20 00:07:34.324030 zma_m1[1129958].INF-zm_monitor.cpp/1338 [Driveway: 4000 - Analysing at 10.00 fps] ```
zma_m2 (low res modect monitor) ``` ❯ cat zm_debug.log.1129966 11/30/20 00:00:52.535340 zma_m2[1129966].DB1-zm_logger.cpp/235 [LogOpts: level=DB1 effective=DB1, screen=OFF, database=WAR, logfile=DB1->/var/log/zm/zm_debug.log.1129966, syslog=WAR] 11/30/20 00:00:52.535447 zma_m2[1129966].DB1-zm_utils.cpp/240 [Detected a x86\x86-64 processor with AVX] 11/30/20 00:00:52.535779 zma_m2[1129966].DB1-zm_ffmpeg_camera.cpp/195 [ffmpegcamera: width 352 height 240 linesize 1056 colours 3 image linesize 1056 imagesize 253440] 11/30/20 00:00:52.535816 zma_m2[1129966].DB1-zm_monitor.cpp/386 [encoder params # Lines beginning with # are a comment # For changing quality, use the crf option # 1 is best, 51 is worst quality #crf=23] 11/30/20 00:00:52.535850 zma_m2[1129966].DB1-zm_monitor.cpp/435 [mem.size(8) SharedData=616 TriggerData=560 VideoStoreData=4128 timestamps=800 images=50x253440 = 12672000 total=12678168] 11/30/20 00:00:52.535859 zma_m2[1129966].DB1-zm_storage.cpp/94 [No id passed to Storage constructor. Using default path /mnt/Data/zoneminder/events instead] 11/30/20 00:00:52.535866 zma_m2[1129966].DB1-zm_monitor.cpp/444 [Storage path: /mnt/Data/zoneminder/events] 11/30/20 00:00:52.535882 zma_m2[1129966].DB1-zm_monitor.cpp/597 [Unable to map file /dev/shm/zm.mmap.2 (12678168 bytes) to locked memory, trying unlocked] 11/30/20 00:00:52.535893 zma_m2[1129966].DB1-zm_monitor.cpp/600 [Mapped file /dev/shm/zm.mmap.2 (12678168 bytes) to unlocked memory] 11/30/20 00:00:52.535939 zma_m2[1129966].DB1-zm_monitor.cpp/499 [Waiting for capture daemon shared_data(1) last_write_index(50), last_write_time(0)] 11/30/20 00:00:53.536055 zma_m2[1129966].DB1-zm_monitor.cpp/597 [Unable to map file /dev/shm/zm.mmap.2 (12678168 bytes) to locked memory, trying unlocked] 11/30/20 00:00:53.536093 zma_m2[1129966].DB1-zm_monitor.cpp/600 [Mapped file /dev/shm/zm.mmap.2 (12678168 bytes) to unlocked memory] 11/30/20 00:00:53.536120 zma_m2[1129966].DB1-zm_monitor.cpp/499 [Waiting for capture daemon shared_data(1) last_write_index(50), last_write_time(0)] 11/30/20 00:00:54.536327 zma_m2[1129966].DB1-zm_monitor.cpp/597 [Unable to map file /dev/shm/zm.mmap.2 (12678168 bytes) to locked memory, trying unlocked] 11/30/20 00:00:54.536399 zma_m2[1129966].DB1-zm_monitor.cpp/600 [Mapped file /dev/shm/zm.mmap.2 (12678168 bytes) to unlocked memory] 11/30/20 00:00:54.536460 zma_m2[1129966].DB1-zm_monitor.cpp/499 [Waiting for capture daemon shared_data(1) last_write_index(50), last_write_time(0)] 11/30/20 00:00:55.536686 zma_m2[1129966].DB1-zm_monitor.cpp/597 [Unable to map file /dev/shm/zm.mmap.2 (12678168 bytes) to locked memory, trying unlocked] 11/30/20 00:00:55.536722 zma_m2[1129966].DB1-zm_monitor.cpp/600 [Mapped file /dev/shm/zm.mmap.2 (12678168 bytes) to unlocked memory] 11/30/20 00:00:55.536755 zma_m2[1129966].DB1-zm_monitor.cpp/499 [Waiting for capture daemon shared_data(1) last_write_index(50), last_write_time(0)] 11/30/20 00:00:56.536968 zma_m2[1129966].DB1-zm_monitor.cpp/597 [Unable to map file /dev/shm/zm.mmap.2 (12678168 bytes) to locked memory, trying unlocked] 11/30/20 00:00:56.537036 zma_m2[1129966].DB1-zm_monitor.cpp/600 [Mapped file /dev/shm/zm.mmap.2 (12678168 bytes) to unlocked memory] 11/30/20 00:00:56.537097 zma_m2[1129966].DB1-zm_monitor.cpp/499 [Waiting for capture daemon shared_data(1) last_write_index(50), last_write_time(0)] 11/30/20 00:00:57.537347 zma_m2[1129966].DB1-zm_monitor.cpp/597 [Unable to map file /dev/shm/zm.mmap.2 (12678168 bytes) to locked memory, trying unlocked] 11/30/20 00:00:57.537419 zma_m2[1129966].DB1-zm_monitor.cpp/600 [Mapped file /dev/shm/zm.mmap.2 (12678168 bytes) to unlocked memory] 11/30/20 00:00:57.537483 zma_m2[1129966].DB1-zm_monitor.cpp/499 [Waiting for capture daemon shared_data(1) last_write_index(50), last_write_time(0)] 11/30/20 00:00:58.537744 zma_m2[1129966].DB1-zm_monitor.cpp/597 [Unable to map file /dev/shm/zm.mmap.2 (12678168 bytes) to locked memory, trying unlocked] 11/30/20 00:00:58.537818 zma_m2[1129966].DB1-zm_monitor.cpp/600 [Mapped file /dev/shm/zm.mmap.2 (12678168 bytes) to unlocked memory] 11/30/20 00:00:58.538248 zma_m2[1129966].DB1-zm_monitor.cpp/1939 [Reloading linked monitors for monitor Driveway lowres, '(null)'] 11/30/20 00:00:58.538293 zma_m2[1129966].DB1-zm_monitor.cpp/537 [Monitor Driveway lowres has function 3, label format = '%N - %m/%d/%y %H:%M:%S', label X = 0, label Y = 0, label size = 1, image buffer count = 50, warmup count = 25, pre-event count = 25, post-event count = 25, alarm frame count = 3, fps report interval = 1000, ref blend percentage = 6, alarm ref blend percentage = 6, track motion = 0] 11/30/20 00:00:58.539123 zma_m2[1129966].DB1-zm_zone.cpp/854 [Got 1 zones for monitor Driveway lowres] 11/30/20 00:00:58.540961 zma_m2[1129966].DB1-zm_monitor.cpp/2456 [Loaded monitor 2(Driveway lowres), 1 zones] 11/30/20 00:00:58.541044 zma_m2[1129966].INF-zma.cpp/136 [In mode 3/1, warming up] 11/30/20 00:04:13.227001 zma_m2[1129966].INF-zm_monitor.cpp/1338 [Driveway lowres: 1000 - Analysing at 5.13 fps] 11/30/20 00:06:36.907932 zma_m2[1129966].INF-zm_zone.cpp/211 [In overload mode, 10 frames of 10 remaining] 11/30/20 00:06:37.142368 zma_m2[1129966].INF-zm_zone.cpp/211 [In overload mode, 9 frames of 10 remaining] 11/30/20 00:06:37.310282 zma_m2[1129966].INF-zm_zone.cpp/211 [In overload mode, 8 frames of 10 remaining] 11/30/20 00:06:37.511992 zma_m2[1129966].INF-zm_zone.cpp/211 [In overload mode, 7 frames of 10 remaining] 11/30/20 00:06:37.680273 zma_m2[1129966].INF-zm_zone.cpp/211 [In overload mode, 6 frames of 10 remaining] 11/30/20 00:06:37.882251 zma_m2[1129966].INF-zm_zone.cpp/211 [In overload mode, 5 frames of 10 remaining] 11/30/20 00:06:38.083424 zma_m2[1129966].INF-zm_zone.cpp/211 [In overload mode, 4 frames of 10 remaining] 11/30/20 00:06:38.284936 zma_m2[1129966].INF-zm_zone.cpp/211 [In overload mode, 3 frames of 10 remaining] 11/30/20 00:06:38.486063 zma_m2[1129966].INF-zm_zone.cpp/211 [In overload mode, 2 frames of 10 remaining] 11/30/20 00:06:38.686950 zma_m2[1129966].INF-zm_zone.cpp/211 [In overload mode, 1 frames of 10 remaining] 11/30/20 00:06:38.889480 zma_m2[1129966].DB1-zm_zone.cpp/749 [All: Pixel Diff: 26, Alarm Pixels: 7564, Filter Pixels: 3690, Blob Pixels: 3297, Blobs: 8, Score: 8] 11/30/20 00:06:38.889534 zma_m2[1129966].INF-zm_monitor.cpp/1687 [Driveway lowres: 1728 - Gone into prealarm state] 11/30/20 00:06:39.160706 zma_m2[1129966].DB1-zm_zone.cpp/749 [All: Pixel Diff: 26, Alarm Pixels: 6864, Filter Pixels: 2829, Blob Pixels: 2392, Blobs: 5, Score: 5] 11/30/20 00:06:39.297773 zma_m2[1129966].DB1-zm_zone.cpp/749 [All: Pixel Diff: 26, Alarm Pixels: 5838, Filter Pixels: 2164, Blob Pixels: 1805, Blobs: 5, Score: 4] 11/30/20 00:06:39.297839 zma_m2[1129966].INF-zm_monitor.cpp/1603 [Driveway lowres: 1730 - Gone into alarm state PreAlarmCount: 2+this >= AlarmFrameCount:3 Cause:Motion All] 11/30/20 00:06:39.336290 zma_m2[1129966].DB1-zm_event.cpp/172 [Using storage area at /mnt/Data/zoneminder/events/2/2020-11-30/1100711] 11/30/20 00:06:39.336321 zma_m2[1129966].INF-zm_monitor.cpp/1654 [Driveway lowres: 1730 - Opening new event 1100711, alarm start] 11/30/20 00:06:39.336332 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 1] 11/30/20 00:06:39.337651 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 2] 11/30/20 00:06:39.338224 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 3] 11/30/20 00:06:39.338816 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 4] 11/30/20 00:06:39.339441 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 5] 11/30/20 00:06:39.340044 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 6] 11/30/20 00:06:39.340613 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 7] 11/30/20 00:06:39.341180 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 8] 11/30/20 00:06:39.341833 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 9] 11/30/20 00:06:39.342453 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 10] 11/30/20 00:06:39.343075 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 11] 11/30/20 00:06:39.343731 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 12] 11/30/20 00:06:39.344341 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 13] 11/30/20 00:06:39.344960 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 14] 11/30/20 00:06:39.345553 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 15] 11/30/20 00:06:39.346199 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 16] 11/30/20 00:06:39.346793 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 17] 11/30/20 00:06:39.347434 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 18] 11/30/20 00:06:39.348032 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 19] 11/30/20 00:06:39.348646 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 20] 11/30/20 00:06:39.349246 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 21] 11/30/20 00:06:39.349840 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 22] 11/30/20 00:06:39.350430 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 23] 11/30/20 00:06:39.351012 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 24] 11/30/20 00:06:39.351635 zma_m2[1129966].DB1-zm_event.cpp/516 [Writing pre-capture frame 25] 11/30/20 00:06:39.358117 zma_m2[1129966].DB1-zm_event.cpp/559 [INSERT 25/25 frames sql INSERT INTO `Frames` (`EventId`, `FrameId`, `Type`, `TimeStamp`, `Delta`, `Score`) VALUES ( 1100711, 1, 'Normal', from_unixtime(1606723593), 0.00, 0 ), ( 1100711, 2, 'Normal', from_unixtime(1606723594), 0.20, 0 ), ( 1100711, 3, 'Normal', from_unixtime(1606723594), 0.40, 0 ), ( 1100711, 4, 'Normal', from_unixtime(1606723594), 0.60, 0 ), ( 1100711, 5, 'Normal', from_unixtime(1606723594), 0.80, 0 ), ( 1100711, 6, 'Normal', from_unixtime(1606723594), 1.00, 0 ), ( 1100711, 7, 'Normal', from_unixtime(1606723595), 1.25, 0 ), ( 1100711, 8, 'Normal', from_unixtime(1606723595), 1.41, 0 ), ( 1100711, 9, 'Normal', from_unixtime(1606723595), 1.60, 0 ), ( 1100711, 10, 'Normal', from_unixtime(1606723595), 1.81, 0 ), ( 1100711, 11, 'Normal', from_unixtime(1606723595), 2.00, 0 ), ( 1100711, 12, 'Normal', from_unixtime(1606723596), 2.21, 0 ), ( 1100711, 13, 'Normal', from_unixtime(1606723596), 2.41, 0 ), ( 1100711, 14, 'Normal', from_unixtime(1606723596), 2.66, 0 ), ( 1100711, 15, 'Normal', from_unixtime(1606723596), 2.82, 0 ), ( 1100711, 16, 'Normal', from_unixtime(1606723596), 3.01, 0 ), ( 1100711, 17, 'Normal', from_unixtime(1606723597), 3.26, 0 ), ( 1100711, 18, 'Normal', from_unixtime(1606723597), 3.41, 0 ), ( 1100711, 19, 'Normal', from_unixtime(1606723597), 3.61, 0 ), ( 1100711, 20, 'Normal', from_unixtime(1606723597), 3.81, 0 ), ( 1100711, 21, 'Normal', from_unixtime(1606723597), 4.00, 0 ), ( 1100711, 22, 'Normal', from_unixtime(1606723598), 4.21, 0 ), ( 1100711, 23, 'Normal', from_unixtime(1606723598), 4.41, 0 ), ( 1100711, 24, 'Normal', from_unixtime(1606723598), 4.61, 0 ), ( 1100711, 25, 'Normal', from_unixtime(1606723598), 4.81, 0 )] 11/30/20 00:06:39.358137 zma_m2[1129966].DB1-zm_monitor.cpp/1681 [alarm frame count so SavePreAlarmFrames] 11/30/20 00:06:39.358147 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 26 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00026-capture.jpg] 11/30/20 00:06:39.360022 zma_m2[1129966].DB1-zm_event.cpp/666 [Writing analysis frame 26] 11/30/20 00:06:39.360666 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723598.879402 = 5.0] 11/30/20 00:06:39.360678 zma_m2[1129966].DB1-zm_event.cpp/698 [Adding 1 frames to DB because write_to_db:1 or frames > analysis fps 5.128205 or BULK(0)] 11/30/20 00:06:39.360692 zma_m2[1129966].DB1-zm_event.cpp/573 [Inserting 1 frames] 11/30/20 00:06:39.364081 zma_m2[1129966].DB1-zm_event.cpp/598 [INSERT FRAMES: sql was INSERT INTO `Frames` (`EventId`, `FrameId`, `Type`, `TimeStamp`, `Delta`, `Score`) VALUES ( 1100711, 26, 'Alarm', from_unixtime( 1606723598 ), 5.00, 8 )] 11/30/20 00:06:39.368181 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 27 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00027-capture.jpg] 11/30/20 00:06:39.369214 zma_m2[1129966].DB1-zm_event.cpp/666 [Writing analysis frame 27] 11/30/20 00:06:39.370175 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723599.141487 = 5.27] 11/30/20 00:06:39.370193 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 1 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:39.372930 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 28 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00028-capture.jpg] 11/30/20 00:06:39.373597 zma_m2[1129966].DB1-zm_event.cpp/666 [Writing analysis frame 28] 11/30/20 00:06:39.374243 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723599.287335 = 5.42] 11/30/20 00:06:39.374253 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 2 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:39.510873 zma_m2[1129966].DB1-zm_zone.cpp/749 [All: Pixel Diff: 25, Alarm Pixels: 4819, Filter Pixels: 1465, Blob Pixels: 1168, Blobs: 10, Score: 2] 11/30/20 00:06:39.515381 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 29 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00029-capture.jpg] 11/30/20 00:06:39.516308 zma_m2[1129966].DB1-zm_event.cpp/666 [Writing analysis frame 29] 11/30/20 00:06:39.517115 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723599.487636 = 5.62] 11/30/20 00:06:39.517140 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 3 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:39.719975 zma_m2[1129966].DB1-zm_zone.cpp/749 [All: Pixel Diff: 25, Alarm Pixels: 3948, Filter Pixels: 904, Blob Pixels: 587, Blobs: 6, Score: 1] 11/30/20 00:06:39.724138 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 30 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00030-capture.jpg] 11/30/20 00:06:39.725431 zma_m2[1129966].DB1-zm_event.cpp/666 [Writing analysis frame 30] 11/30/20 00:06:39.726373 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723599.691130 = 5.82] 11/30/20 00:06:39.726392 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 4 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:39.894851 zma_m2[1129966].DB1-zm_zone.cpp/749 [All: Pixel Diff: 25, Alarm Pixels: 3158, Filter Pixels: 498, Blob Pixels: 318, Blobs: 3, Score: 1] 11/30/20 00:06:39.899072 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 31 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00031-capture.jpg] 11/30/20 00:06:39.899780 zma_m2[1129966].DB1-zm_event.cpp/666 [Writing analysis frame 31] 11/30/20 00:06:39.900416 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723599.887800 = 6.1] 11/30/20 00:06:39.900426 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 5 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:40.102469 zma_m2[1129966].DB1-zm_zone.cpp/749 [All: Pixel Diff: 26, Alarm Pixels: 2539, Filter Pixels: 324, Blob Pixels: 175, Blobs: 2, Score: 1] 11/30/20 00:06:40.106286 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 32 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00032-capture.jpg] 11/30/20 00:06:40.107039 zma_m2[1129966].DB1-zm_event.cpp/666 [Writing analysis frame 32] 11/30/20 00:06:40.107782 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723600.91721 = 6.22] 11/30/20 00:06:40.107796 zma_m2[1129966].DB1-zm_event.cpp/698 [Adding 6 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK(0)] 11/30/20 00:06:40.107810 zma_m2[1129966].DB1-zm_event.cpp/573 [Inserting 6 frames] 11/30/20 00:06:40.112154 zma_m2[1129966].DB1-zm_event.cpp/598 [INSERT FRAMES: sql was INSERT INTO `Frames` (`EventId`, `FrameId`, `Type`, `TimeStamp`, `Delta`, `Score`) VALUES ( 1100711, 27, 'Alarm', from_unixtime( 1606723599 ), 5.27, 5 ), ( 1100711, 28, 'Alarm', from_unixtime( 1606723599 ), 5.42, 4 ), ( 1100711, 29, 'Alarm', from_unixtime( 1606723599 ), 5.62, 2 ), ( 1100711, 30, 'Alarm', from_unixtime( 1606723599 ), 5.82, 1 ), ( 1100711, 31, 'Alarm', from_unixtime( 1606723599 ), 6.01, 1 ), ( 1100711, 32, 'Alarm', from_unixtime( 1606723600 ), 6.22, 1 )] 11/30/20 00:06:40.320127 zma_m2[1129966].DB1-zm_zone.cpp/749 [All: Pixel Diff: 26, Alarm Pixels: 1946, Filter Pixels: 249, Blob Pixels: 136, Blobs: 2, Score: 1] 11/30/20 00:06:40.324776 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 33 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00033-capture.jpg] 11/30/20 00:06:40.325558 zma_m2[1129966].DB1-zm_event.cpp/666 [Writing analysis frame 33] 11/30/20 00:06:40.326247 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723600.287810 = 6.42] 11/30/20 00:06:40.326260 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 1 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:40.495881 zma_m2[1129966].DB1-zm_zone.cpp/749 [All: Pixel Diff: 27, Alarm Pixels: 1459, Filter Pixels: 158, Blob Pixels: 37, Blobs: 1, Score: 1] 11/30/20 00:06:40.500124 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 34 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00034-capture.jpg] 11/30/20 00:06:40.500715 zma_m2[1129966].DB1-zm_event.cpp/666 [Writing analysis frame 34] 11/30/20 00:06:40.501211 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723600.487716 = 6.62] 11/30/20 00:06:40.501219 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 2 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:40.703078 zma_m2[1129966].INF-zm_monitor.cpp/1697 [Driveway lowres: 1737 - Gone into alert state] 11/30/20 00:06:40.703120 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 35 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00035-capture.jpg] 11/30/20 00:06:40.703679 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723600.688388 = 6.82] 11/30/20 00:06:40.703689 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 3 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:40.906615 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1738)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723600) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:40.906702 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 36 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00036-capture.jpg] 11/30/20 00:06:40.908007 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723600.889443 = 7.1] 11/30/20 00:06:40.908029 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 4 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:41.210904 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1739)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723601) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:41.210975 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 37 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00037-capture.jpg] 11/30/20 00:06:41.212642 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723601.183818 = 7.32] 11/30/20 00:06:41.212694 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 5 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:41.314983 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1740)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723601) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:41.315083 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 38 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00038-capture.jpg] 11/30/20 00:06:41.316588 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723601.286083 = 7.42] 11/30/20 00:06:41.316616 zma_m2[1129966].DB1-zm_event.cpp/698 [Adding 6 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK(0)] 11/30/20 00:06:41.316655 zma_m2[1129966].DB1-zm_event.cpp/573 [Inserting 6 frames] 11/30/20 00:06:41.321288 zma_m2[1129966].DB1-zm_event.cpp/598 [INSERT FRAMES: sql was INSERT INTO `Frames` (`EventId`, `FrameId`, `Type`, `TimeStamp`, `Delta`, `Score`) VALUES ( 1100711, 33, 'Alarm', from_unixtime( 1606723600 ), 6.42, 1 ), ( 1100711, 34, 'Alarm', from_unixtime( 1606723600 ), 6.62, 1 ), ( 1100711, 35, 'Normal', from_unixtime( 1606723600 ), 6.82, 0 ), ( 1100711, 36, 'Normal', from_unixtime( 1606723600 ), 7.01, 0 ), ( 1100711, 37, 'Normal', from_unixtime( 1606723601 ), 7.32, 0 ), ( 1100711, 38, 'Normal', from_unixtime( 1606723601 ), 7.42, 0 )] 11/30/20 00:06:41.492039 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1741)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723601) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:41.492084 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 39 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00039-capture.jpg] 11/30/20 00:06:41.492621 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723601.486787 = 7.62] 11/30/20 00:06:41.492631 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 1 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:41.693944 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1742)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723601) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:41.693990 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 40 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00040-capture.jpg] 11/30/20 00:06:41.694654 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723601.686628 = 7.82] 11/30/20 00:06:41.694678 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 2 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:41.896078 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1743)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723601) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:41.896133 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 41 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00041-capture.jpg] 11/30/20 00:06:41.896854 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723601.886705 = 8.1] 11/30/20 00:06:41.896867 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 3 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:42.098131 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1744)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723602) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:42.098182 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 42 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00042-capture.jpg] 11/30/20 00:06:42.098874 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723602.86095 = 8.22] 11/30/20 00:06:42.098885 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 4 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:42.300374 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1745)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723602) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:42.300429 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 43 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00043-capture.jpg] 11/30/20 00:06:42.301174 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723602.283668 = 8.42] 11/30/20 00:06:42.301186 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 5 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:42.502615 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1746)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723602) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:42.502674 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 44 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00044-capture.jpg] 11/30/20 00:06:42.503702 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723602.493704 = 8.63] 11/30/20 00:06:42.503720 zma_m2[1129966].DB1-zm_event.cpp/698 [Adding 6 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK(0)] 11/30/20 00:06:42.503739 zma_m2[1129966].DB1-zm_event.cpp/573 [Inserting 6 frames] 11/30/20 00:06:42.508011 zma_m2[1129966].DB1-zm_event.cpp/598 [INSERT FRAMES: sql was INSERT INTO `Frames` (`EventId`, `FrameId`, `Type`, `TimeStamp`, `Delta`, `Score`) VALUES ( 1100711, 39, 'Normal', from_unixtime( 1606723601 ), 7.62, 0 ), ( 1100711, 40, 'Normal', from_unixtime( 1606723601 ), 7.82, 0 ), ( 1100711, 41, 'Normal', from_unixtime( 1606723601 ), 8.01, 0 ), ( 1100711, 42, 'Normal', from_unixtime( 1606723602 ), 8.22, 0 ), ( 1100711, 43, 'Normal', from_unixtime( 1606723602 ), 8.42, 0 ), ( 1100711, 44, 'Normal', from_unixtime( 1606723602 ), 8.63, 0 )] 11/30/20 00:06:42.713604 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1747)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723602) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:42.713687 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 45 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00045-capture.jpg] 11/30/20 00:06:42.715159 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723602.682739 = 8.82] 11/30/20 00:06:42.715185 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 1 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:42.883714 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1748)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723602) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:42.883796 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 46 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00046-capture.jpg] 11/30/20 00:06:42.885288 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723602.880083 = 9.0] 11/30/20 00:06:42.885314 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 2 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:43.154256 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1749)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723603) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:43.154324 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 47 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00047-capture.jpg] 11/30/20 00:06:43.155372 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723603.145632 = 9.28] 11/30/20 00:06:43.155392 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 3 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:43.290668 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1750)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723603) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:43.290751 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 48 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00048-capture.jpg] 11/30/20 00:06:43.291980 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723603.287007 = 9.42] 11/30/20 00:06:43.291999 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 4 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:43.494117 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1751)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723603) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:43.494227 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 49 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00049-capture.jpg] 11/30/20 00:06:43.495730 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723603.483566 = 9.62] 11/30/20 00:06:43.495758 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 5 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:43.697836 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1752)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723603) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:43.697916 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 50 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00050-capture.jpg] 11/30/20 00:06:43.699404 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723603.683273 = 9.82] 11/30/20 00:06:43.699423 zma_m2[1129966].DB1-zm_event.cpp/698 [Adding 6 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK(0)] 11/30/20 00:06:43.699442 zma_m2[1129966].DB1-zm_event.cpp/573 [Inserting 6 frames] 11/30/20 00:06:43.703275 zma_m2[1129966].DB1-zm_event.cpp/598 [INSERT FRAMES: sql was INSERT INTO `Frames` (`EventId`, `FrameId`, `Type`, `TimeStamp`, `Delta`, `Score`) VALUES ( 1100711, 45, 'Normal', from_unixtime( 1606723602 ), 8.82, 0 ), ( 1100711, 46, 'Normal', from_unixtime( 1606723602 ), 9.00, 0 ), ( 1100711, 47, 'Normal', from_unixtime( 1606723603 ), 9.28, 0 ), ( 1100711, 48, 'Normal', from_unixtime( 1606723603 ), 9.42, 0 ), ( 1100711, 49, 'Normal', from_unixtime( 1606723603 ), 9.62, 0 ), ( 1100711, 50, 'Normal', from_unixtime( 1606723603 ), 9.82, 0 )] 11/30/20 00:06:43.909105 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1753)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723603) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:43.909188 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 51 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00051-capture.jpg] 11/30/20 00:06:43.910659 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723603.885477 = 10.1] 11/30/20 00:06:43.910685 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 1 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:44.112901 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1754)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723604) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:44.112995 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 52 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00052-capture.jpg] 11/30/20 00:06:44.114489 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723604.85425 = 10.22] 11/30/20 00:06:44.114515 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 2 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:44.316620 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1755)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723604) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:44.316700 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 53 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00053-capture.jpg] 11/30/20 00:06:44.318171 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723604.284987 = 10.42] 11/30/20 00:06:44.318197 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 3 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:44.485985 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1756)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723604) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:44.486051 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 54 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00054-capture.jpg] 11/30/20 00:06:44.486729 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723604.485045 = 10.62] 11/30/20 00:06:44.486740 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 4 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:44.688397 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1757)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723604) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:44.688467 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 55 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00055-capture.jpg] 11/30/20 00:06:44.689807 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723604.683122 = 10.82] 11/30/20 00:06:44.689830 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 5 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:44.890873 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1758)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723604) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:44.890919 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 56 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00056-capture.jpg] 11/30/20 00:06:44.891584 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723604.881893 = 11.0] 11/30/20 00:06:44.891598 zma_m2[1129966].DB1-zm_event.cpp/698 [Adding 6 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK(0)] 11/30/20 00:06:44.891610 zma_m2[1129966].DB1-zm_event.cpp/573 [Inserting 6 frames] 11/30/20 00:06:44.895823 zma_m2[1129966].DB1-zm_event.cpp/598 [INSERT FRAMES: sql was INSERT INTO `Frames` (`EventId`, `FrameId`, `Type`, `TimeStamp`, `Delta`, `Score`) VALUES ( 1100711, 51, 'Normal', from_unixtime( 1606723603 ), 10.01, 0 ), ( 1100711, 52, 'Normal', from_unixtime( 1606723604 ), 10.22, 0 ), ( 1100711, 53, 'Normal', from_unixtime( 1606723604 ), 10.42, 0 ), ( 1100711, 54, 'Normal', from_unixtime( 1606723604 ), 10.62, 0 ), ( 1100711, 55, 'Normal', from_unixtime( 1606723604 ), 10.82, 0 ), ( 1100711, 56, 'Normal', from_unixtime( 1606723604 ), 11.00, 0 )] 11/30/20 00:06:45.168207 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1759)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723605) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:45.168284 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 57 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00057-capture.jpg] 11/30/20 00:06:45.169110 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723605.158957 = 11.29] 11/30/20 00:06:45.169137 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 1 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:45.304275 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1760)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723605) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:45.304361 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 58 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00058-capture.jpg] 11/30/20 00:06:45.305824 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723605.287351 = 11.42] 11/30/20 00:06:45.305849 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 2 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:45.507835 zma_m2[1129966].DB1-zm_monitor.cpp/1716 [Not leaving ALERT beacuse image_count(1761)-last_alarm_count(1736) > post_event_count(25) and timestamp.tv_sec(1606723605) - recording.tv_src(1606723593) >= min_section_length(10)] 11/30/20 00:06:45.507944 zma_m2[1129966].DB1-zm_event.cpp/637 [Writing capture frame 59 to /mnt/Data/zoneminder/events/2/2020-11-30/1100711/00059-capture.jpg] 11/30/20 00:06:45.509429 zma_m2[1129966].DB1-zm_event.cpp/680 [Frame delta is 1606723593.872324 - 1606723605.477776 = 11.61] 11/30/20 00:06:45.509455 zma_m2[1129966].DB1-zm_event.cpp/724 [Not Adding 3 frames to DB because write_to_db:0 or frames > analysis fps 5.128205 or BULK] 11/30/20 00:06:45.711500 zma_m2[1129966].INF-zm_monitor.cpp/1704 [Driveway lowres: 1762 - Left alarm state (1100711) - 59(9) images] 11/30/20 00:06:45.711571 zma_m2[1129966].INF-zm_monitor.cpp/1709 [Driveway lowres: 1762 - Closing event 1100711, alarm end] 11/30/20 00:06:45.711595 zma_m2[1129966].DB1-zm_event.cpp/573 [Inserting 3 frames] 11/30/20 00:06:45.718414 zma_m2[1129966].DB1-zm_event.cpp/598 [INSERT FRAMES: sql was INSERT INTO `Frames` (`EventId`, `FrameId`, `Type`, `TimeStamp`, `Delta`, `Score`) VALUES ( 1100711, 57, 'Normal', from_unixtime( 1606723605 ), 11.29, 0 ), ( 1100711, 58, 'Normal', from_unixtime( 1606723605 ), 11.42, 0 ), ( 1100711, 59, 'Normal', from_unixtime( 1606723605 ), 11.61, 0 )] 11/30/20 00:06:45.718466 zma_m2[1129966].DB1-zm_event.cpp/271 [Updating frames delta by 0 sec 0 usec] 11/30/20 00:07:33.310726 zma_m2[1129966].INF-zm_monitor.cpp/1338 [Driveway lowres: 2000 - Analysing at 5.00 fps] ```

Any others needed?

welcome[bot] commented 3 years ago

Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template!

xefil commented 3 years ago

Same here on zoneminder 1.35.14~20201129162543-focal on Ubuntu 20.04.1 LTS (Focal Fossa). Following.

shanepcs commented 3 years ago

same issue with 1.35.15~20201204114937-focal. The issue started for me with 1.35.14~20201129162543-focal.

cotman commented 3 years ago

Ditto on linked monitors being broken - I had to reinstall due to a failed hard drive, and so started again from a recent master PPA. I'm currently on 1.35.15~20201204114937-focal and, as above, that's not working with high resolution/fps Nodect monitors linked to low resolution/fps Modect monitors. Forced events on the Nodect monitors work correctly, and I get events on the Modect monitors they're linked too, but I get no linked events on Nodect monitors.

As an aside from the issue itself, it would be great if the documentation could be updated to state what the minimal requirements are for linked monitors to work correctly e.g. if the Modect monitor needs/doesn't need to have a video writer enabled, whether the Nodect monitor needs/doesn't need to have any motion detection zones etc. etc.

johncolby commented 3 years ago

Awesome, thanks Isaac!!!

dangelsaurus commented 3 years ago

has this issue come up again in 1.36.5?

ferengi82 commented 3 years ago

same Problem here on 1.36.5

synsi23b commented 3 years ago

I have the same Problem, I only noticed it, because there is a problem with my new camera. The camera needs to be restarted every once in a while, which causes the zmc_mX process to be restarted or lose its association in some way.

If the high-res linked monitor starts new first, ( I guess ) it is linking to the old low-res process and doesn't get the events from the now restarted low-res MoCord process.

The temporary fix is, to switch the NoDect linked monitor to the None function and than enable it again. Or restarting zoneminder.service entirely.

Ubuntu 20.04 lxc container

maddios commented 2 years ago

I have the same issue apparently in the 1.36.10 also, I've not done much debugging yet, but i regularly have no recordings in my linked nodect monitors while the modect ones record tons

virnik0 commented 11 months ago

Same issue on 1.37.48

Linked monitors misses too many triggers, not even recording. ZME reacts, but as the monitor isn't recording, it doesn't analyze. Solved for now by forcing lower res on full hd monitor, and doing analysis on it. This way, records are still full hd, but viewing the monitor ses downscaled picture and analysis happens on low-res as well. Win-Win scenario. Worked fine on 1.36