I'm working on a project with Raspberry Pi 3 and camera module v2.
I'm using OpenCV and raspicam.
I want to know the maximum resolution I can use. The datasheet says 3280*2464, but I get errors when using that resolution:
mmal: mmal_vc_port_enable: failed to enable port vc.ril.camera:out:1(BGR3): ENOSPC
mmal: mmal_port_enable: failed to enable port vc.ril.camera:out:1(BGR3)(0x2022b60) (ENOSPC)
camera video callback2 erroropen Failed to create camera component/home/pi/repo/raspicam/src/private/private_impl.cpp 103
1920*1920 works fine, but I would like to know exactly how high my resolution can be before I get the error.
How can I debug the error message provided? And how can I know the the maximum resolution of the camera before I get the error message? (Please don't suggest trial-and-error)