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

Work with RPi4? #26

Open
wallarug opened this issue Nov 23, 2023 · 3 comments
Open

Work with RPi4? #26

wallarug opened this issue Nov 23, 2023 · 3 comments

Comments

@wallarug
Copy link

wallarug commented Nov 23, 2023

Hey there @wkeeling63 ,

I am looking at starting a project that may involve MMAL.

I'm just wondering if you have had any experience with the new setup in the RPi4's GPU and the new libcamera library?

I want to try and resurrect the RPi_Web_Interface project but utilizing the latest and greatest improvements in the new RPi GPU.

I note your forum there here that discusses the challenges changing things over.

Any tips on where to get started based on your experience?

@wkeeling63
Copy link
Owner

All these projects are pre pandemic and written before Pi can out with PI/OS its own Debian version.

Since then, PI has moved completely away from MMAL and running things on GPU. I think MMAL is either still on image or can be added to the image, but Pi is not supporting it going forward. So not a good idea to develop for it.

This video talks about the new/current software direction https://www.youtube.com/watch?v=haO95921zpA

I have not yet started to code for the new environment as the libcamera and rpicam_apps are written in C++ not C, so I have taken to try and learn C++ from the Bjarne Stroustrup book and either I am stupid, he is not a great teacher or C++ suxs.

I plan to rewrite the RaceCam project on the new software and hardware infrastructure as soon as I have a Pi 5 in hand and get up to speed on C++

@wallarug
Copy link
Author

That's awesome @wkeeling63 . Let me know if you find any good resources for the libcamera stuff.

C is way cooler than C++.

@wkeeling63
Copy link
Owner

best I am finding is doxygen pages https://libcamera.org/api-html/index.html -- we get what we pay for.

same for FFMPEG https://ffmpeg.org/doxygen/3.4/index.html but they have examples, it is still C and have used it before in my projects so not new to me.

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

No branches or pull requests

2 participants