wkeeling63 / PiPIPflv

Pi 2 cam PIP to stream a flash container -- this is a dead project -- work has been moved racecam project
5 stars 0 forks source link

Work with RPi4? #26

Open wallarug opened 7 months ago

wallarug commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

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

C is way cooler than C++.

wkeeling63 commented 7 months ago

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.