Line 508: |
Line 508: |
| <code>v4l2-ctl -d /dev/video0 --set-ctrl preferred_stride=3136</code> | | <code>v4l2-ctl -d /dev/video0 --set-ctrl preferred_stride=3136</code> |
| | | |
− | <code>v4l2-ctl --set-fmt-video=width=3088,height=2064,pixelformat=GREY --stream-mmap --stream-count=1 --stream-to=y8-3136x2064.raw</code> | + | <code>v4l2-ctl -d /dev/video0 --set-fmt-video=width=3088,height=2064,pixelformat=GREY --stream-mmap --stream-count=1 --stream-to=y8-3136x2064.raw</code> |
| | | |
| * raw10 | | * raw10 |
Line 514: |
Line 514: |
| <code>v4l2-ctl -d /dev/video0 --set-ctrl preferred_stride=6208</code> | | <code>v4l2-ctl -d /dev/video0 --set-ctrl preferred_stride=6208</code> |
| | | |
− | <code>v4l2-ctl --set-fmt-video=width=3088,height=2064,pixelformat=XY10 --stream-mmap --stream-count=1 --stream-to=y10-3104x2064.raw</code> | + | <code>v4l2-ctl -d /dev/video0 --set-fmt-video=width=3088,height=2064,pixelformat=XY10 --stream-mmap --stream-count=1 --stream-to=y10-3104x2064.raw</code> |
| | | |
| *raw12 | | *raw12 |
Line 520: |
Line 520: |
| <code>v4l2-ctl -d /dev/video0 --set-ctrl preferred_stride=6208</code> | | <code>v4l2-ctl -d /dev/video0 --set-ctrl preferred_stride=6208</code> |
| | | |
− | <code>v4l2-ctl --set-fmt-video=width=3088,height=2064,pixelformat=XY12 --stream-mmap --stream-count=1 --stream-to=y12-3104x2064.raw</code> | + | <code>v4l2-ctl -d /dev/video0 --set-fmt-video=width=3088,height=2064,pixelformat=XY12 --stream-mmap --stream-count=1 --stream-to=y12-3104x2064.raw</code> |
| | | |
| For the image format, please refer to the section above: Description of raw data image format. | | For the image format, please refer to the section above: Description of raw data image format. |
Line 529: |
Line 529: |
| *raw8 | | *raw8 |
| | | |
− | <code>v4l2-ctl --set-fmt-video=width=1280,height=1024,pixelformat=GREY --stream-mmap --stream-count=1 --stream-to=y8-1280x1024.raw</code> | + | <code>v4l2-ctl -d /dev/video0 --set-fmt-video=width=1280,height=1024,pixelformat=GREY --stream-mmap --stream-count=1 --stream-to=y8-1280x1024.raw</code> |
| | | |
| *raw10 | | *raw10 |
| | | |
− | <code>v4l2-ctl --set-fmt-video=width=1280,height=1024,pixelformat=XY10 --stream-mmap --stream-count=1 --stream-to=y10-1280x1024.</code> | + | <code>v4l2-ctl -d /dev/video0 --set-fmt-video=width=1280,height=1024,pixelformat=XY10 --stream-mmap --stream-count=1 --stream-to=y10-1280x1024.raw</code> |
| + | |
| + | ====== MV-MIPI-IMX296M ====== |
| + | |
| + | *raw8格式 |
| + | |
| + | <code>v4l2-ctl -d /dev/video0 --set-ctrl preferred_stride=1472</code> |
| + | |
| + | <code>v4l2-ctl --set-fmt-video=width=1440,height=1088,pixelformat=GREY --stream-mmap --stream-count=1 --stream-to=y8-1472x1088.raw</code> |
| + | |
| + | *raw10格式 |
| + | |
| + | <code>v4l2-ctl --set-fmt-video=width=1440,height=1088,pixelformat=XY10 --stream-mmap --stream-count=1 --stream-to=y10-1440x1088.raw</code> |
| =====Preview===== | | =====Preview===== |
| The camera can be previewed in real time using the following command: | | The camera can be previewed in real time using the following command: |