Code: Select all
v4l2-ctl --device /dev/video11 --set-fmt-video=width=1280,height=720,pixelformat=NV21 --stream-mmap --stream-to=frame2.yuv --stream-count=1
Code: Select all
v4l2-ctl --device /dev/video11 --set-fmt-video=width=1280,height=720,pixelformat=NV21 --stream-mmap --stream-to=frame2.yuv --stream-count=1
torchris4 wrote: ↑2024-03-20 0:24 I have had some success in getting a single image using this command at the command prompt:
I can import it into the YUView utility and see the image, but it always seems to come up as black and white. Are there other parameters I should be setting on the command line?Code: Select all
v4l2-ctl --device /dev/video11 --set-fmt-video=width=1280,height=720,pixelformat=NV21 --stream-mmap --stream-to=frame2.yuv --stream-count=1