-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
No autofocus with rpiCamera source and rpiCameraAfMode: auto #2326
Comments
one up for this, I have the same problem |
Hello, in order to control the RPI camera, the server uses the same API behind libcamera-vid. Try using libcamera-vid with If autofocus works with libcamera-vid, then there's a bug inside the server that can be solved, otherwise it's an issue that should be reported to libcamera maintainers. |
That's Fair enough, I will try as soon as I can |
I made a mistake and wrote However, |
Agreed, same behavior observable here. Camera Module 3 + PI 4 |
Same here. Using rpiCameraAfMode: |
i took another look at the sample libcamera apps and i found out that auto focus needs an initial scan, that was not triggered. Please try this nightly release and let me know if it fixes the issue. @kanehekili your issue is off topic here, please open another issue and provide details on how to replicate. [link removed] |
@aler9 Your nightly release does indeed fix this issue, thank you for working on it! |
added in v1.2.1 |
This issue is being locked automatically because it has been closed for more than 6 months. |
Which version are you using?
v1.0.3
Which operating system are you using?
Describe the issue
Autofocus mode
auto
withrpiCamera
source doesn't seem to work i.e.: settingrpiCameraAfMode
toauto
doesn't achieve focus. I'm using a Raspberry Camera Module 3 connected to a RPi Zero W. SettingrpiCameraAfWindow
to something like0.25,0.25,0.5,0.5
didn't change anything. Using manual focus and setting the lens position works however and so does thecontinuous
setting.Server logs don't show anything suspicious.
Versions:
OS:
Raspbian GNU/Linux 11 (bullseye)
libcamera:
v0.0.5+83-bde9b04f
libfreetype6:
2.10.4+dfsg-1+deb11u1
Describe how to replicate the issue
rtsp://<SERVER_IP>:554/live
Did you attach the server logs?
no
Did you attach a network dump?
no
The text was updated successfully, but these errors were encountered: