motioneye-project / motioneye

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

Unable to open Video Camera #3022

Open martbrad11 opened 5 months ago

martbrad11 commented 5 months ago

Pi4B Bullseye Arducam 'Night Day' (OV5647) I can capture jpg with libcamera-jpeg and I can stream raw h264 to a VLC player so I know my camera is connected and working. However when I try to add it in MotionEye I get this in the logs vid_start: V4L2 device failed to open I'm trying to add it as a Local V4L2 camera. If I try as MMAL I just get 'An error has occured try refreshing@ Can someone point me in the direction to get my camera working in MotionEye?

MichaIng commented 5 months ago

motion does not support libcamera. Hence you need to either switch to legacy camera support, and use MMAL driver, or use libcamerify to start motionEye with libcamera=>V4L2 API. See some examples here: https://github.com/motioneye-project/motioneye/issues?q=is%3Aissue+is%3Aopen+libcamerify