Line 285: |
Line 285: |
| | | |
| <code>export HEIGHT=2064</code> | | <code>export HEIGHT=2064</code> |
| + | |
| + | <code>export FPS=22</code> |
| | | |
| *MV-MIPI-SC130M | | *MV-MIPI-SC130M |
Line 291: |
Line 293: |
| | | |
| <code>export HEIGHT=1024</code> | | <code>export HEIGHT=1024</code> |
| + | |
| + | <code>export FPS=108</code> |
| | | |
| *MV-MIPI-IMX296M | | *MV-MIPI-IMX296M |
Line 297: |
Line 301: |
| | | |
| <code>export HEIGHT=1088</code> | | <code>export HEIGHT=1088</code> |
| + | |
| + | <code>export FPS=60</code> |
| | | |
| *MV-MIPI-IMX265M | | *MV-MIPI-IMX265M |
Line 303: |
Line 309: |
| | | |
| <code>export HEIGHT=1544</code> | | <code>export HEIGHT=1544</code> |
| + | |
| + | <code>export FPS=45</code> |
| === v4l2-ctl Application Examples === | | === v4l2-ctl Application Examples === |
| | | |
Line 485: |
Line 493: |
| | | |
| <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> |
| + | |
| + | <code>v4l2-ctl --set-ctrl frame_rate=$FPS</code> |
| =====Frame rate statistics===== | | =====Frame rate statistics===== |
| In streaming mode, the following commands can be used for frame rate statistics. | | In streaming mode, the following commands can be used for frame rate statistics. |
Line 534: |
Line 544: |
| The maximum width supported by UYVY mode is 2880. | | The maximum width supported by UYVY mode is 2880. |
| | | |
− | ====== MV-MIPI-SC130M ====== | + | ====== MV-MIPI-SC130M, MV-MIPI-IMX296M, MV-MIPI-IMX265M ====== |
− | <code>v4l2-ctl -d /dev/video0 --set-fmt-video=width=1280,height=1024,pixelformat=UYVY</code> | + | <code>v4l2-ctl -d /dev/video0 --set-fmt-video=width=$WIDTH,height=$HEIGHT,pixelformat=UYVY</code> |
| | | |
− | <code>v4l2-ctl -d /dev/video0 --set-ctrl frame_rate=108</code> | + | <code>v4l2-ctl -d /dev/video0 --set-ctrl frame_rate=$FPS</code> |
| | | |
− | <code>gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,format=(string)UYVY, width=(int)1280, height=(int)1024, framerate=(fraction)108/1" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! nv3dsink sync=false</code> | + | <code>gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,format=(string)UYVY, width=(int)$WIDTH, height=(int)$HEIGHT, framerate=(fraction)$FPS/1" ! nvvidconv ! "video/x-raw(memory:NVMM),format=(string)I420" ! nv3dsink sync=false</code> |
| ==== Trigger mode ==== | | ==== Trigger mode ==== |
| | | |