Is there a way programmatically, using the mipi camera driver, to capture images in Mode 1 (8112 x 3040) vs. the default of Mode 0 (4056 x 3040).
I know this is possible using the command line using ./arducamstill -t 5000 -m 1 -o image.jpg, but I would like to modify something like the provided capture.py file (in MIPI_Camera/RPI/python) to trigger this capture at the higher resolution
1.Which seller did you purchase the product(s) from?
UCTRONICS
2.The Model number of the product(s) you have purchased?
B0265R Arducam 12MP*2 Synchronized Stereo Camera Bundle Kit for Raspberry Pi, Two 12.3MP IMX477 Camera Modules with CS Lens and Camarray Stereo Camera HAT
3.Which Platform are you using the product(s) on?
Raspberry Pi 4B 4gb
4.Which instruction are you following?
online
5.Has your product ever worked properly?
yes
6.What problems are you experiencing?
outlined above
7.What attempts at troubleshooting have you already made?
I changed gpu_mem to 400, but that (alone) did not fix the issue and I continued to get the same error.
I found I also had to increase the limit of the contiguous memory allocator. In /boot/cmdline.txt I added the option cma=400M. Then rebooted and it worked.