-
Notifications
You must be signed in to change notification settings - Fork 54
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
Camera framerate is not fixed. #233
Comments
I think we should get some sort of live statistics in QGC and/or companion in order to explore this more under various conditions and with different cameras. |
I think a good test will be using a simple pipeline. I suspect some uv4l settings are probably to blame |
Although in the video that I attached in the BlueRobotics forum I did not a good job on keeping the camera with the same field of view, I thought that I tried under same conditions over the repetitions of the same experiments, but apparently not. I did another test with the spare camera I have, and indeed, it is the auto exposure that does not constrain the maximum exposure time according to the framerate set. In particular, the experiment involves camera without any obstruction, and camera with my hands covering the field of view to make it darker, and indeed the framerate drops, when the auto exposure is set to the default value which according to the get command of And just to test this hypothesis, I also tried to change |
I suggest adding
The framerate still drops in low light, but in bright light |
That is right, but note that the rtpjitterbuffer will likely add some latency to the stream, too. |
I just checked if Perhaps also worth noting that the sink/src options don't have I'm at least somewhat heartened by
Not sure how to add a filtered cap, or whether it's feasible to do so, but might be worth looking into as a next step. |
On an unrelated note, I had a bit more of a play and it seems plausible that this might be a gstreamer-specific issue. I tried the V4L2 stream rate testing described here and it's very consistent, either at or just above 30fps, or at the highest it can be by the set exposure level. In comparison, when I'm using gstreamer to my surface computer the framerate in |
The issue was previously open in bluerobotics/qgroundcontrol#217.
Discussion was started here.
The framerate can be checked by playing the video with this gstreamer pipeline:
I was unable to make it fixed by playing with the camera settings.
Also while increasing exposure time gives us a low framerate, I was unable to get 30fps even with manual minimum exposure.
The text was updated successfully, but these errors were encountered: