Performance Discrepancy between Picamera2 and libcamera-vid #1126
Unanswered
SebZachrau
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm experiencing a significant performance discrepancy between using Picamera2 and directly using libcamera-vid. I'm hoping to understand why this is happening and how I can achieve similar performance with Picamera2.
Using Picamera2, I'm only achieving about 10 FPS with the following code:
However, my sensor modes indicate that I should be able to achieve 40 FPS:
Interestingly, when I use libcamera-vid directly through a subprocess, I can achieve 30 FPS:
My questions are:
Why is there such a large performance gap between Picamera2 and directly using libcamera-vid?
Are there any optimizations or configurations I can apply to my Picamera2 code to achieve similar performance to libcamera-vid?
Is this performance difference expected, or could there be an issue with my setup or code?
Any insights or suggestions would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions