-
Notifications
You must be signed in to change notification settings - Fork 183
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
[HOW-TO] Improve streaming quality of Raspberry Pi Camera v3 during drone flight #1075
Comments
I don't know if you're able to share the rest of the camera configuration? Important things will include not only the output resolution, but also the camera mode that's being selected (make sure you get a 2304x1296 mode). I assume you've set a reasonably high bitrate for the encoder. Setting the lens to "infinity" sounds right, but of course it's still on the end of a spring so some degree of wobble is still likely. I assume the camera is in a glass housing of some sort as wind vibrations can cause trouble. We also know some folks who have actually glued the lenses in place at "infinity" - but be warned that this is clearly a warranty voiding procedure, and when we tried it, we destroyed several camera modules before being successful! |
Yes of course! Here all my camera configuration:
I create the encoder this way:
|
I think your H264 bitrate seems a bit low - 1.5Mbps isn't huge - though looking at your images I'm not sure it's a big problem. But it might be worth increasing it just as an experiment. I think probably the Also, can you say what kind of a Pi this is? Thanks. |
Oh ok! I'll try with an higher bitrate value and removing Right now I'm using the industrial Raspberry cm4 EDIT: |
I am using the Raspberry Pi Camera v3 for live streaming during a drone flight. During a comparison test between the v2 and v3 cameras, I noticed that the v2 camera produced higher quality video. Since the v3 camera has autofocus, I need to disable it as the drone's vibrations may interfere with it. Here is how I configure the camera:
camera.set_controls({"FrameDurationLimits": (33000, 45000), "AfMode": controls.AfModeEnum.Manual, "LensPosition": 0})
Is there anything else I should adjust to improve the streaming quality?
I attached two screenshots taken from the live streams of both cameras for comparison.
Camera v2:
Camera v3:
The text was updated successfully, but these errors were encountered: