motioneye-project / motioneyeos

A Video Surveillance OS For Single-board Computers
Other
7.88k stars 902 forks source link

motioneyeos does not recognize a V4L2 camera #2908

Open bad-friday opened 2 years ago

bad-friday commented 2 years ago

I am running motionEyeOS version 20201026 On a Raspberry Pi 4B 4GB Camera is a Raspberry Pi V2 Raspbian 11

Now i would like to go to motioneye.eo Unfortunately the camera is not recognised. motionEye Version 22.3.1 Motion Version 4.3.2 Camera Device: /dev/video10 Camera Type: V4L2 Camera

On motioneyeos it Works as it should. motionEye Version | 0.42.1 Motion Version 4.3.1 Camera Device: vc.nil.camera Camera Type: MMAL Camera

starbasessd commented 2 years ago

Try with Raspbian10(Buster/Legacy)

bad-friday commented 2 years ago

But that would really be a step backwards. And the camera I have in mind (Arducam Camera) would not work with it. In any case, I have not yet received an answer from them in this regard.

starbasessd commented 2 years ago

One of the issues with Bullseye (11) vs Buster (10) is the number of changes made in Python and the camera apps that RPiFoundation made when they came out with the new Bullseye image. They first dropped all support for the old camera system, shifting to their new camera system. A big stink was raised when most apps failed. They then added back some of the support, but it is still broken, and even Buster Legacy has shown some apps are still broken since they put in their new fixes. It is well documented over on their forums.

starbasessd commented 2 years ago

RPiFoundation v4l2 rtsp server breaks libcamera

bad-friday commented 2 years ago

I now have a system with Raspbian Buster Unfortunately, the installation of MotionEye.eo does not work as expected. The following happens after sudo apt-get install python3-tornado python3-jinja2 python3-pillow python3-pycurl python3-babel python3-numpy python3-boto3 has run through satisfactorily. Then: /home/swe/ sudo pip install motioneye.eo Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting motioneye.eo Could not find a version that satisfies the requirement motioneye.eo (from versions: ) No matching distribution found for motioneye.eo /home/swe/

starbasessd commented 2 years ago

I am not sure where you are getting 'motioneye.eo', I do not see any mention of it on the motioneye github. It sounds like you may have found a forked version. I would look at this thread: 2373 which discusses how to get the 0.43.0 motionEye installed. They are discussing how to get it available in Pypi, too. If you post in the motionEye issues github, a new developer may be able to help you further.

bad-friday commented 2 years ago

I've found it here: https://jmichault.github.io/motioneye.eo-dok/en/

starbasessd commented 2 years ago

It is definitely a fork, and I would try to contact the author.

starbasessd commented 2 years ago

This is the specific github repository for motioneye.eo with their issues: motioneye.eo

bad-friday commented 2 years ago

It is definitely a fork, and I would try to contact the author.

What's a «fork» ?

starbasessd commented 2 years ago

A fork is where someone takes a package (like motionEye) or OS and makes their own proprietary changes for a specific use case or fix. RaspberryPiOS is a fork of Debian, as is Ubuntu, Mint and many others. When some one or some group forks a package, they assume responsibility for any changes they make.

bad-friday commented 2 years ago

This is the specific github repository for motioneye.eo with their issues: motioneye.eo

I am not at all versed in the use of github!

starbasessd commented 2 years ago

If you click on this link: motioneye.eo you can add an issue there that the author of motioneye.eo JMichault can respond to more easily. Or, you can follow the install instructions for motionEye on RaspberryPIOS Buster on a clean install of RaspberryPiOS Buster (Legacy) Or you can use motionEyeOS which you state works...

starbasessd commented 2 years ago

BTW, thinking a bit, did you enable the camera in

sudo raspi-config Interfaces Camera

In your RaspberryPiOS Buster? What does

vcgencmd get-camera

report when you are running Buster?

bad-friday commented 2 years ago

Thanks a lot for your kind help.

bad-friday commented 2 years ago

vcgencmd get-camera error=1 error_msg="Command not registered" Use 'vcgencmd commands' to get a list of commands

No idea what you'd like to know and there's no man-page

starbasessd commented 2 years ago

Sorry, my bad. It's

vcgencmd get_camera

typo on my part...

bad-friday commented 2 years ago

vcgencmd get_camera supported=1 detected=1

starbasessd commented 2 years ago

The RaspberryPiOS sees the camera. motionEyeOS sees the camera and works. At this point, I would bet if you used the motionEye install instructions on a clean install, it would work. Help for motioneye.eo would have to come from them.

bad-friday commented 2 years ago

The RaspberryPiOS sees the camera. motionEyeOS sees the camera and works. At this point, I would bet if you used the motionEye install instructions on a clean install, it would work. Help for motioneye.eo would have to come from them. I'm not sure about the state of my Buster-Raspberry. I've installed it according to this: https://jmichault.github.io/motioneye.eo-dok/en/instalado_en_debian/ But I'm not sure if the backup I've restore rightnow was drawn right after the install. I'll see. Anyway thanks a lot.

starbasessd commented 2 years ago

I assume you are doing the motioneye.eo install for a specific language translation. If it were me, I'd work with the developers here to get your specific language added in the official package. @michalng @cclauss and others are doing the new dev work on motioneye. I know they would appreciate any input you can give on the translation, over on the motioneye pages.