I'm referring to the modes listed here.

When capturing video with raspivid, the -md option allows overriding the default mode selection heuristic.

I need to find out how to achieve the same when using the V4L2 driver, since that's what the streaming solution I have set up uses. Poring over the hundreds of options of v4l2-ctl yielded no enlightenment...


Official word is that sensor mode selection is not possible through V4L2, because the API does not offer the appropriate control. See this Raspberry PI forum answer.

  • Please accept your own answer with a click on the tick on its left side. Only this will finish the question and it will not pop up again year for year.
    – Ingo
    Jan 3 '20 at 22:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.