Project Description

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.

Resources

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.

https://en.wikipedia.org/wiki/Raspberry_Pi#Specifications

https://github.com/Motion-Project/motion/

https://github.com/raspberrypi/rpi-imager

http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSELeap15.4/Essentials/aarch64/

http://billw2.github.io/pikrellcam/pikrellcam.html

Looking for hackers with the skills:

raspberrypi videoprocessing motiondetection opensuse

This project is part of:

Hack Week 21

Activity

  • 1 day ago: ptesarik liked this project.
  • 2 days ago: mbrugger liked this project.
  • 3 days ago: tjyrinki_suse added keyword "opensuse" to this project.
  • 3 days ago: tjyrinki_suse added keyword "raspberrypi" to this project.
  • 3 days ago: tjyrinki_suse added keyword "videoprocessing" to this project.
  • 3 days ago: tjyrinki_suse added keyword "motiondetection" to this project.
  • 3 days ago: tjyrinki_suse liked this project.
  • 3 days ago: tjyrinki_suse started this project.
  • 3 days ago: tjyrinki_suse originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    Home mirror 101 refresh of hotstuff by lkocman

    I'm running a simple home mirror, but I managed...


    Migrate suntorytimed/resourcespace container to an openSUSE base by suntorytimed

    Project Description

    For quite some time I a...


    MicroOS Desktop by RBrownSUSE

    [Video Recording of openSUSE Conference sessio...


    Home mirror 101 refresh of hotstuff by lkocman

    I'm running a simple home mirror, but I managed...


    ignite.opensuse.org by lkocman

    Let's do what we can to get https://github.com/...