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

Fluiddpi missing input_raspicam.so #28

Open
ilektron opened this issue Mar 11, 2022 · 7 comments
Open

Fluiddpi missing input_raspicam.so #28

ilektron opened this issue Mar 11, 2022 · 7 comments
Labels
GH - Bug Something isn't working

Comments

@ilektron
Copy link

Something is happening causing mjpg-streamer to be compiled without the input_raspicam plugin due to unmet dependencies. If I had to guess, something changed with the location of /opt/vc/include that isn't being installed on the root image causing the plugin to have unmet dependencies. The raspi camera doesn't work out of the box because it's missing the so associated with the plugin.

@matmen matmen added the GH - Bug Something isn't working label Mar 11, 2022
@thisiscam
Copy link

@ilektron
Copy link
Author

As a workaround I was able to just change the CMakeLists.txt for the input_raspicam to look in /usr/include/interface for the required library headers and then update all the /opt/vc filepaths to /usr/include/interface. After the change and recompiling, make install, everything things to be working.

I think in the latest releases of pi base images the pi specific headers were moved from /opt/vc into /usr/include

@thisiscam
Copy link

It appears that in this issue, the developer of mjpg_streamer said it's better to deprecate the input_raspicam plugin, and just resort to using the pi camera as a regular webcam instead (by using the input_uvc plugin).

To do that in fluidd, I basically changed my webcam.txt config to use usb, and enabled the legacy raspicam interface through sudo raspi-config -> interface -> enable legacy camera interface.

I have no idea how this affect performance though.

Also, the new interface libcamera is not yet integrate into mjpg_streamer but here's the discussion.

@alucryd
Copy link

alucryd commented Jun 9, 2022

Gave the libcamera fork a try, afraid it's not a viable option at the moment, even at 640x480 it completely pegs a 3B+, let alone a Zero 2. UVC uses so little CPU, even at 1080p on a NoIR v2 that I don't think raspicam will be missed.

@kbingham
Copy link

@alucryd Did you try https://github.com/ArduCAM/mjpg-streamer ? or something else?

@alucryd
Copy link

alucryd commented Jun 10, 2022

That's the one I tried, yes.

@kbingham
Copy link

Could you tell me what you mean by 'pegs a 3b+'?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GH - Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants