Changes

Jump to navigation Jump to search
Line 534: Line 534:  
<code>v4l2-ctl -d /dev/video0 --set-ctrl preferred_stride=1472</code>
 
<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>
+
<code>v4l2-ctl -d /dev/video0 --set-fmt-video=width=1440,height=1088,pixelformat=GREY --stream-mmap --stream-count=1 --stream-to=y8-1472x1088.raw</code>
    
* raw10格式
 
* raw10格式
   −
<code>v4l2-ctl --set-fmt-video=width=1440,height=1088,pixelformat=XY10 --stream-mmap --stream-count=1 --stream-to=y10-1440x1088.raw</code>
+
<code>v4l2-ctl -d /dev/video0 --set-fmt-video=width=1440,height=1088,pixelformat=XY10 --stream-mmap --stream-count=1 --stream-to=y10-1440x1088.raw</code>
    
====== MV-MIPI-IMX265M ======
 
====== MV-MIPI-IMX265M ======
Line 553: Line 553:     
<code>v4l2-ctl -d /dev/video0 --set-fmt-video=width=2048,height=1544,pixelformat=XY12 --stream-mmap --stream-count=1 --stream-to=y12-2048x1544.raw</code>
 
<code>v4l2-ctl -d /dev/video0 --set-fmt-video=width=2048,height=1544,pixelformat=XY12 --stream-mmap --stream-count=1 --stream-to=y12-2048x1544.raw</code>
 +
====== RAW-MIPI-SC132M ======
 +
 +
* raw8格式
 +
 +
<code>v4l2-ctl -d /dev/video0 --set-ctrl preferred_stride=1088</code>
 +
 +
<code>v4l2-ctl -d /dev/video0 --set-fmt-video=width=1080,height=1280,pixelformat=GREY --stream-mmap --stream-count=1 --stream-to=y8-1088x1280.raw</code>
 +
 +
* raw10格式
 +
 +
<code>v4l2-ctl -d /dev/video0 --set-fmt-video=width=1080,height=1280,pixelformat=XY10 --stream-mmap --stream-count=1 --stream-to=y10-1080x1280.raw</code>
    
图片格式请参考上面:raw data图片格式说明 章节。
 
图片格式请参考上面:raw data图片格式说明 章节。

Navigation menu