Changes

Jump to navigation Jump to search
Line 582: Line 582:  
<code>v4l2-ctl --set-ctrl frame_rate=$FPS</code>
 
<code>v4l2-ctl --set-ctrl frame_rate=$FPS</code>
   −
如为MV-MIPI-IMX178M,3088*2064:
+
如有必要,设置合适的preferred_stride.
 +
 
 +
比如,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>
 +
 +
比如,MV-MIPI-IMX296M,1440*1088:
 +
 +
<code>v4l2-ctl -d /dev/video0 --set-ctrl preferred_stride=1472</code>
    
===== 软触发 =====
 
===== 软触发 =====
Line 603: Line 609:     
<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>
 
======进行软触发操作======
 
======进行软触发操作======
 
在其他的shell终端,可以多次执行下面命令进行多次触发。
 
在其他的shell终端,可以多次执行下面命令进行多次触发。

Navigation menu