ArduCAM / Arducam-Pivariety-V4L2-Driver

This driver is used for Arducam mipi camera with Pivariety board
39 stars 22 forks source link

NV12 format for 10 bit mono raw? #32

Open cjf68 opened 2 years ago

cjf68 commented 2 years ago

Hello,

On a Raspberry Pi 4 I have installed the 64 bit OS (Bullseye) 5.15.61-v8+ #1579 and manually added dtoverlay=arducam-pivariety to config.txt. After installing libcamera-dev and libcamera-apps, the camera is detected (OV2311 pivariety) and libcamera-hello works.

When I run libcamera-raw, I am able to select two different 10 bit modes by setting --width and --height (1600x1300 and 1600x1080) but the output is in NV12 format rather than CSI2P as I expect. I can see that the two file sizes are different but they are too large because of the NV12 format. How can I change the output format?

When I try to use --mode 1600:1300:10:P, or any variation of --mode, I get an invalid configuration error.

Thanks