-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 native support for the Raspberry Pi camera #1057
Conversation
0640517
to
36b9341
Compare
3638b27
to
8b2fbc1
Compare
Codecov Report
@@ Coverage Diff @@
## main #1057 +/- ##
==========================================
- Coverage 65.58% 64.98% -0.60%
==========================================
Files 89 90 +1
Lines 7537 7606 +69
==========================================
Hits 4943 4943
- Misses 2172 2241 +69
Partials 422 422
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
4771f59
to
c4a4940
Compare
a530a1a
to
2f45415
Compare
@aler9 any idea when this will be made available on Docker hub? |
@cedricve the Docker version doesn't support the RPI camera natively, but the standard version does. Just take a look at the README in order to try the feature. |
ok thank you just wondering what this PR fixes then? Is it just support for libcamera (but outside a docker container)?
Kind regards,
Verstraeten Cédric
… On 16 Aug 2022, at 19:21, Alessandro Ros ***@***.***> wrote:
@cedricve the Docker version doesn't support the RPI camera natively, but the standard version does. Just take a look at the README in order to try the feature.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
This PR allows the server to interact with libcamera natively, skipping all the Gstreamer stack. GStreamer is not needed anymore. The Docker version may come in the future, but I have to check whether the camera can be accessed from a container. |
it does, is you inject the devices or make it previleged.
Kind regards,
Verstraeten Cédric
… On 16 Aug 2022, at 19:29, Alessandro Ros ***@***.***> wrote:
This PR allows the serve to interact with libcamera natively, skipping all the Gstreamer stack. GStreamer is not needed anymore.
The Docker version may come in the future, but I have to check whether the camera can be accessed from a container.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
Looks awesome, good job! I was wondering about those parameters, are there plans to support all of the native parameters with 1:1 names? I was thinking, maybe instead of hardcoding parameters for libcamera-vid, some kind of wrapper approach could be used instead? Right now it seems like most of true native Raspberry Pi Camera features/parameters are in fact unavailable, to some degree, but I might be completely wrong. :) IIRC the bitrate is VBR by default for libcamera |
In terms of accessing host device from within docker container, that is possible! |
Fixes #1011
Fixes #1010