motioneye-project / motioneye

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

Install on Raspi 5 #2906

Open womihako opened 8 months ago

womihako commented 8 months ago

Hello, first I will thanks all for making and support this very very nice project!!! it run by me on raspi 4, but can't install on raspy 5. I tried installation instructions #2780 and other. Can someone help me pls? Thanks a lot

ddawley22 commented 8 months ago

I installed it yesterday on RPi 5 using the instructions posted here:

https://github.com/motioneye-project/motioneye/tree/dev

I might add that video recording doesn't work on this version ( 0.43.1b1) nor on another similar version from a year ago that I installed on a Libre le Potato. The snapshots record but video doesn't. It's not an issue for my situation but someone might want to check into it.

Edit: Those instructions are for both 32 and 64 bit installations. Use care in selecting the right directions because a misstep will break the process. I ended up starting over with a fresh install of bookworm because I messed up the process.

Edit 2: regarding the video not working, I changed the Motion Detection/Capture Before setting from 1 (default) to 2, and video recording started working

MichaIng commented 8 months ago

Use care in selecting the right directions because a misstep will break the process. I ended up starting over with a fresh install of bookworm because I messed up the process.

How did you break the process? It should be possible to redo/fix everything without doing a fresh install.

ddawley22 commented 8 months ago

I cross installed a part of the 32 bit instructions on my 64 bit version and I got errors trying to overwrite using the 64 bit instructions. I probably could have reversed the part I accidentally installed but since it was a fresh test to see if it would work, I decided a clean install wasn't a big deal.

On another note, regarding the video not working, I changed the Motion Detection Capture Before setting from 1 (default) to 2, and video recording started working.

MichaIng commented 8 months ago

Do you remember the error you faced, and at which step exactly?

In case of the dependencies, the 32-bit instructions contain just less dependencies, so installing the ones for 64-bit afterwards should fix that part.

In case of adding the piwheels index, AFAIK it should be just ignored on 64-bit systems since the wheels it provides should be tagged a way that they are not pulled/installed from there, if for 32-bit only. Otherwise, you can just remove it:

sudo sed -i '/piwheels/d' /etc/pip.conf
ddawley22 commented 8 months ago

Thanks for that. I don't remember exactly where I erred, sorry.

rahul1906 commented 3 days ago

@ddawley22 How Is the performance of motion eye on pi5 compared to pi4? Asking this since h264 h/w codec has been removed in pi5.