Line 586: |
Line 586: |
| <code>v4l2-ctl --set-fmt-video=width=$WIDTH,height=$HEIGHT,pixelformat=GREY</code> | | <code>v4l2-ctl --set-fmt-video=width=$WIDTH,height=$HEIGHT,pixelformat=GREY</code> |
| | | |
− | If useMV-MIPI-IMX178M, 3088*2064:
| + | Set proper preferred_stride if necessary. |
| + | |
| + | For MV-MIPI-IMX178M,3088*2064: |
| | | |
| <code>v4l2-ctl -d /dev/video0 --set-ctrl preferred_stride=3136</code> | | <code>v4l2-ctl -d /dev/video0 --set-ctrl preferred_stride=3136</code> |
| + | |
| + | For MV-MIPI-IMX296M,1440*1088: |
| + | |
| + | <code>v4l2-ctl -d /dev/video0 --set-ctrl preferred_stride=1472</code> |
| =====Software trigger mode ===== | | =====Software trigger mode ===== |
| ======Set mode====== | | ======Set mode====== |
Line 605: |
Line 611: |
| | | |
| <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 --set-fmt-video=width=1280,height=1024,pixelformat=GREY --stream-mmap --stream-count=-1 --stream-to=y8-1280x1024.raw</code> |
| + | |
| + | *MV-MIPI-IMX296M |
| + | |
| + | <code>v4l2-ctl --set-fmt-video=width=1440,height=1088,pixelformat=GREY --stream-mmap --stream-count=1 --stream-to=y8-1472x1088.raw</code> |
| + | |
| + | *MV-MIPI-IMX265M |
| + | |
| + | <code>v4l2-ctl -d /dev/video0 --set-fmt-video=width=2048,height=1544,pixelformat=GREY --stream-mmap --stream-count=1 --stream-to=y8-2048x1544.raw</code> |
| ====== Perform soft trigger operation ====== | | ====== Perform soft trigger operation ====== |
| In other shell terminals, you can execute the following command multiple times for multiple triggers. | | In other shell terminals, you can execute the following command multiple times for multiple triggers. |