Page 1 of 1

hints for set up ZM24.9 + raspi Motion

Posted: Mon Sep 28, 2020 4:08 pm
by gdh
hi folks,

i bought a raspberry pi 4 with 4gb and a raspi cam v2.1. on the PI i installey motioneye os with the following camera settings:
sgreg.JPG
sgreg.JPG (181.18 KiB) Viewed 4349 times
also I run zoneminder 34.9 on a server to capture movments (modect) with following settings:
sgreg.4JPG.JPG
sgreg.4JPG.JPG (74.31 KiB) Viewed 4348 times
sgreg.3JPG.JPG
sgreg.3JPG.JPG (74.04 KiB) Viewed 4348 times

I have several issues.
sometimes it is not recording but it should (not detecting)
if light goes on it detects (false positive)
if detecting correct motion video is smooth at the beginning but after 5 seconds it lags for like 3 seconds and continues afterwards smooth

appreciate help to those 3 issues
Is there is already a best practice for raspi 4 combined with the pi cam?

Re: hints for set up ZM24.9 + raspi Motion

Posted: Mon Sep 28, 2020 4:10 pm
by gdh
further screenshots to cam settings:
sgreg.2JPG.JPG
sgreg.2JPG.JPG (99.26 KiB) Viewed 4347 times
sgreg.5JPG.JPG
sgreg.5JPG.JPG (49.79 KiB) Viewed 4347 times
sgreg.6JPG.JPG
sgreg.6JPG.JPG (93.16 KiB) Viewed 4347 times

Re: hints for set up ZM24.9 + raspi Motion

Posted: Mon Sep 28, 2020 10:43 pm
by burger
gdh wrote: Mon Sep 28, 2020 4:08 pm sometimes it is not recording but it should (not detecting)
if light goes on it detects (false positive)
if detecting correct motion video is smooth at the beginning but after 5 seconds it lags for like 3 seconds and continues afterwards smooth
RPI is covered in http://wiki.zoneminder.com/Single_Board_Computers

You will want to set GPU_MEM. This may resolve some of the lag issues. If that doesn't work, lower resolution and or FPS. Disable JPEG saving, and use passthrough. FYI, it's best to do modect on a low res stream, and then record / nodect the high res stream. Especially with cpu limited devices such as RPI. You can do linked_monitors.

For your 1st and 2nd question, you can tune the zones see: https://wiki.zoneminder.com/Understandi ... or_Dummies It's not easy to get them to be 100% reliable.

Re: hints for set up ZM24.9 + raspi Motion

Posted: Wed Sep 30, 2020 8:19 pm
by gdh
the 2 issues i can tackle with defining zones and playing around with the settings.

but i am lost regarding 2-4s of freezing picture after an event got captured.

i checked on motioneye os via webbrowser, the video is very smooth, no hanging etc.

so i think this issue is with zoneminder. for some reason the video hangs.
I downloaded it, just to make sure it is not the browser. The downloaded video is also hanging.

any idea?

Re: hints for set up ZM24.9 + raspi Motion

Posted: Tue Oct 06, 2020 2:23 am
by burger