I tried to take picture through v4l2-ctl using below command
v4l2-ctl -d /dev/video0 --set-fmt-video=pixelformat=RG10 --stream-count=1 --stream-to=pic.raw
but a get too dark image.
I use raw2rgb to convert data. May be conversion works not very well with RG10, but i have more problem with other pixel formats:
if I use pixelformat=RGGB, output file has only zero values.
if I try to set pixelformat=RG12, result is:
VIDIOC_S_FMT: failed: Invalid argument
Can someone tell me, what is wrong?
P.S. I use L4T 24.2