I have had a hobby project of running Raspberry Pi to record video when detecting motion, mostly catching rabbits and such on the yard.
I'm using the upstream's default offering Raspbian (or nowadays called also Raspberry Pi OS) together with motion software, but there have been a few problems which would be interesting to see if can be get to working better using openSUSE.
Motivations to seek alternatives include:
- Raspbian buster (based on Debian 10) is stable, but the ffmpeg included is too old to support the hardware accelerated h.264 encoding. Software encoding speed is okayish with my RPi Zero 2 and RPi 3 Model A+, but still limiting.
- Raspbian bullseye (based on Debian 11) would be fresh, but the migration from MMAL to libcamera causes problems at minimum due to v4l compatibility layer seeming unstable - and libcamera, regardless of some of its merits, causes incompatibilities and is unusable for the motion software.
- If libcamera is in general stable eg in openSUSE (I have not checked yet whether openSUSE has migrated), other motion detection software could be considered as well - in the past there have been even interesting hacks utilizing the hardware encoder and reading its motion vectors to get essentially 0% CPU motion detection!
- My RPi Zero 2 installation seems a bit unstable for unknown reasons (the other installation is has 1y+ uptime), making a good candidate to replace the software.
Goal for this Hackweek
The goal is to prepare an alternate boot environment using the same hardware but different software. Initially the idea would be to use openSUSE Leap 15.4, for which there is a repository offering ffmpeg 4.4 which is recent enough. At least first goal would be to setup the same motion software with the same config as currently, if possible, but if openSUSE already uses libcamera then a different approach will be needed.
Ultimately, the goal is to learn about Raspberry Pi, video interfaces and motion detection on openSUSE.
If you want to try to setup something similar, whether migrating or simply wanting to setup motion detection video recording, we could work together by exchanging experiences or ideas of what software to use.
This project is part of:
Hack Week 21
For quite some time I a...
[Video Recording of openSUSE Conference sessio...
I'm running a simple home mirror, but I managed...
Let's do what we can to get https://github.com/...