Not really an answer, but would it help to compare your code against the "rpicam-hello --list-cameras" code (which presumably does find the right sizes and formats)? If you haven't found it, it's here: https://github.com/raspberrypi/rpicam-a ... s.cpp#L431
Statistics: Posted by therealdavidp — Thu Apr 17, 2025 2:45 pm