We are getting good results from the new imx768 sensor on VIM4 with NPU.
But I can’t find a way to set the frame rate on the imx678 sensor. It defaults to 60fps.
What is the recommended way to set this to 30fps ?
The example code in v4l2_test_raw.cpp doesn’t show how.
Is this the driver source code? Or a Library? Or the demo app? I can’t see a method I can call to set the frame rate in the APIs the v4l2_test_raw uses. Can you please give me a hint where to look?
In the meantime I have a work-around where I drop half the frames before passing them to the encoder, which works but is inefficient and ugly
@steely-glint it’s part of the imx678 init driver code, you’ll have to modify the registers responsible for the frame rate (vts timing probably) according to the datasheet