I just imaged a SDCard and inserted into an Pi4-2GB
I then ran the ollowing commands:
sudo su
apt update && apt upgrade && apt clean && apt autoclean && apt autoremove -y
1 apt-get install ffmpeg libmariadb3 libpq5 libmicrohttpd12 -y
2 wget
https://github.com/Motion-Project/motion/releases/download/release-4.3.2/buster_motion_4.3.2-1_arm64.deb 3 dpkg -i buster_motion_4.3.2-1_arm64.deb
4 systemctl stop motion
5 systemctl disable motion
6 apt-get install python2 python-dev-is-python2 -y
7 curl
https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
8 python2 get-pip.py
9 apt-get install libssl-dev libcurl4-openssl-dev libjpeg-dev zlib1g-dev -y
10 pip2 install motioneye
11 mkdir -p /etc/motioneye
12 cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
13 mkdir -p /var/lib/motioneye
14 cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service
15 systemctl daemon-reload
16 systemctl enable motioneye
17 systemctl start motioneye
Open web browser on the Pi4-2GB and go to URL:
Should take you to the motionEye web interface. Username is admin, all lower case, password is blank, I select the 'Remember Me'
It should prompt you to add a camera. Local V4l2 is USB. Local MMAL is the CSI ribbon cable, Network is any networkable camera, normal is http://<ip address>:port, if it supports rtsp then use rtsp://<ip address>:port it uses. The last two are for other motionEye systems or cameras like a d-link (old school)