Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Bookworm with new rpicam-mjpeg backend #703

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

dylan-lom
Copy link

@dylan-lom dylan-lom commented Oct 25, 2024

The rpicam-mjpeg program is based off of the rpicam-apps project. It is designed as a replacement for the RaspiMJPEG program, which cannot be used on Bookworm due to the removal of MMAL APIs.

The project is still a WIP, with some more major bugs/issues highlighted in the Github issues, however it is functional as a proof of concept/starting point for switching to libcamera, supporting the preview stream, still image and motion detection functions.

To use the new program, run the ./bin/install-rpicam-mjpeg.sh script, which will

  • Install rpicam-mjpeg to the system
  • Create a symlink ./bin/raspimjpeg pointing to the rpicam-mjpeg program

Now the ./install.sh script can be run to install the web interface itself, and it will run rpicam-mjpeg by default (ie. when using start automatically, or ./start.sh).

The public source for rpicam-mjpeg is located: https://github.com/Windermere-Technology/rpicam-mjpeg

The project was completed as a part of university project, as discussed in #688, with contributions from @Yucheng-Yan, @ning-bao, @Pzhang768, @SheXinLim, @ching-cheng-lu, @Dinnicus, @Baiken1412, and mentorship from @wallarug 😊

dylan-lom and others added 8 commits October 21, 2024 16:04
This is an issue on bookworm, where the GPAC package is not available.

Resolves silvanmelchior#689
This flag *does not* behave like --prefix, like I thought it would.
As a result the program was actually being installed to
/usr/local/usr/local/...

Also use which(1) to figure out where rpicam-mjpeg got installed to,
in case the default prefix changes for some reason
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants