motioneye-project / motioneye

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

Cameras not showing anything #2548

Open SimonRazorback opened 2 years ago

SimonRazorback commented 2 years ago

I installed motioneye on a raspberry 4 8GB. following this link

I have 2 cameras plugged in by USB a logitech C920 and a lenovo essential FHD. The cameras work when they are plugged in to the Raspberry pie and show video when I test them.

When I click to add cameras I see 3 cameras for the 2 that are plugged in and a bunch extra. Image

When i add one I get an error message "An error occurred, refresh is recommended" and no camera is added. After refreshing the camera is added, but it only loads for a bit and then shows a crossed-over camera symbol.

I have tried doing it with all the 6 "cameras". The same thing happens with all of them.

Any ideas of what I have done wrong?

Any more information you need to know to help me?

Edit: motionEye Version 0.42.1

MichaIng commented 2 years ago

The extra cameras are from the "modern" camera module stack. You can try to comment or remove the camera_auto_detect line in /boot/config.txt and reboot for the change to take effect.

The list of cameras is generally scraped from the output of this command:

v4l2-ctl --list-devices

There have been some issues and fixes done already in current dev branch, which I'd generally recommend over the "stable" release, since dev has a lot of old bugs addressed: https://github.com/motioneye-project/motioneye/tree/dev#installation