Skip to content
Discussion options

You must be logged in to vote

Hi, thanks for sending the test case. I think the main cause of this may be that you've included the cam_controls with your preview configuration. This means that, whenever your preview_config gets applied (either when you start the camera, or after the mode switch), it reapplies those controls. This includes the framerate of 30, which truncates that 1 second exposure time right back to approximately 33ms.

The other slight catch is that create_video_configuration will, unless you say otherwise, also give you 30fps by default.

So here's what I would do:

  1. No need to set those cam_controls with either the preview or capture config. They're all defaults anyway. If you want to set controls be…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@marsfan
Comment options

@marsfan
Comment options

@marsfan
Comment options

@marsfan
Comment options

@davidplowman
Comment options

Answer selected by marsfan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants