Ov2311-monochrome-uvc webcam RPI-4B save RAW image

Hi,

How can I record RAW (8/10Bit) images with a set FPS (5,10) on a Pi-4B?
I’m using this camera module:

I’m quite new to all this and I have been trying to work with python/opencv/gstreamer etc. to write uncompressed (maybe even pickled numpy.arrays) for each image taken by the camera.
Is it possible to utilize one of the .cfg files from the USB-MIPI Camera shield .git repository?

If there are any codes/guides or how-tos available, I would greatly appreciate your help.
Thanks

Hi,
May you try the command below:

v4l2-ctl -d /dev/video0 --set-fmt-video=width=1600,height=1200,pixelformat='Y10 ' --stream-mmap 2 --stream-count=1 --stream-to=test.raw --verbose

Hi,
I get the following output for your command.
```
VIDIOC_QUERYCAP: ok
VIDIOC_G_FMT: ok
The pixelformat 'Y10 ’ is invalid
VIDIOC_REQBUFS returned 0 (Success)
VIDIOC_QUERYBUF returned 0 (Success)
VIDIOC_QUERYBUF returned 0 (Success)
VIDIOC_QBUF returned 0 (Success)
VIDIOC_QBUF returned 0 (Success)
VIDIOC_STREAMON returned 0 (Success)
cap dqbuf : 0 seq: 0 bytesused: 3840000 ts: 720.037772 delta: 720037.772 ms (ts-monotonic, ts-src-soe)

Hi,
Please run the command to check a valid pixel format.

v4l2-ctl --list-formats-ext

Then run the command

v4l2-ctl -d /dev/video0 --set-fmt-video=width=1600,height=1200,pixelformat='**valid pixelformat**' --stream-mmap 2 --stream-count=1 --stream-to=test.raw --verbose