motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.84k stars 649 forks source link

Motioneye not accepting more than 2 cameras at once #3018

Open rcho5840 opened 5 days ago

rcho5840 commented 5 days ago

image

I am using a raspberry pi 4 with bullseye and 0.42 for my motioneye version. As you can see above, anything above 2 cameras leads to issues with display. The leftmost camera just shows a gray icon with a crossed out camera. I don't believe this is an issue with the cameras, because if I remove a working camera, the grayed out camera will start working. Even when I reduce the cameras to 5 fps, the same issue still occurs.

Does anyone know where this issue is stemming from? I need to have a 5 camera system, so suggestions would also be appreciated.

MichaIng commented 3 days ago

First of all, please try it with the motionEye 0.43.1 pre-release.

2nd, please give some more details about the camera types. I guess these are all network cameras?

Generally this reads like a bandwidth and/or processing limitation. Note that for network cameras, every cam causes doubled bandwidth, first for retrieving the stream, motion detection on the host, then sending out out to browser. You can test this by adding the cams as simple MJPEG cameras, which are directly streamed from cam to browser, hence no traffic and processing at the motionEye host.

Aa for processing: check CPU usage. You might run better with a recent Debian/RPi OS Bookworm and more recent FFmpeg, for better hardware acceleration.