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

Unable to Compile against an external libcamera #32

Open
daPREdaTOR opened this issue Nov 5, 2024 · 1 comment
Open

Unable to Compile against an external libcamera #32

daPREdaTOR opened this issue Nov 5, 2024 · 1 comment
Labels
question Further information is requested

Comments

@daPREdaTOR
Copy link

Hi all, first time using github so hopefully I haven't done anything silly but here goes:
I am attempting to setup mediamtx using an arducam 16MP autofocus camera.
Everything works as expected up until I get to step 4 of 'Compile against an external libcamera', where it says to enter the command:
"meson_ setup --wrap-mode=default build && DESTDIR=./prefix ninja -C build install"
When I do this I get an error: "Neither directory contains a build file meson.build."

I am an experienced beginner when it comes to linux but never compiled my own software or used meson etc.

Is there a simple solution (or easy to follow instructions for getting the autofocus to work with the arducam camera in metiamtx)?
I have managed to get it to work using the standard libcamera install but got autofocus errors (and no autofocus).
Thanks.

@aler9 aler9 added the question Further information is requested label Nov 24, 2024
@aler9
Copy link
Member

aler9 commented Nov 24, 2024

Hello, first of all you can check whether autofocus works by using the libcamera-vid / rpicam-vid executable that is provided by Arducam, without recompiling the server.

If autofocus and all of its parameters work with no issues, it means that a custom libcamera is required for MediaMTX to use these feature too, and you need to recompile the server (and this component too).

Otherwise, autofocus might be completely managed by Arducam and impossible to control through software.

Error Neither directory contains a build file meson.build means that you are not launching the command from the mediamtx-rpicamera folder, but from another folder. First you have to build mediamtx-rpicamera, then mediamtx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants