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:
also I run zoneminder 34.9 on a server to capture movments (modect) with following settings:
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?
hints for set up ZM24.9 + raspi Motion
Re: hints for set up ZM24.9 + raspi Motion
further screenshots to cam settings:
Re: hints for set up ZM24.9 + raspi Motion
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.
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl
If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl
If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
Re: hints for set up ZM24.9 + raspi Motion
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?
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
http://wiki.zoneminder.com/Single_Board_Computers
https://wiki.zoneminder.com/Single_Boar ... neral_Tips
https://wiki.zoneminder.com/Single_Boar ... neral_Tips
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl
If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl
If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide