Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Mv series camera appnotes 4 rpi/zh
(view source)
Revision as of 14:48, 26 March 2023
1,052 bytes added
,
14:48, 26 March 2023
→MV-MIPI-IMX287M
Line 416:
Line 416:
图片格式请参考下面:raw data图片格式说明 章节。
图片格式请参考下面:raw data图片格式说明 章节。
+
+
===== 实时预览 =====
+
<code>export DISPLAY=:0</code>
+
+
为了方便进行安装和调试,MV系列相机提供了UYVY模式。UYVY模式支持的最大宽度为2880,使用如下命令可以进行实时预览。
+
+
====== MV-MIPI-IMX178M======
+
<code>v4l2-ctl -d /dev/video0 --set-fmt-video=width=2816,height=2064,pixelformat=UYVY</code>
+
+
<code>gst-launch-1.0 v4l2src device=/dev/video0 ! "video/x-raw,format=(string)UYVY, width=(int)2816, height=(int)2064, framerate=(fraction)22/1" ! v4l2convert ! "video/x-raw,format=(string)NV12" ! autovideosink sync=false -v</code>
+
======MV-MIPI-SC130M, MV-MIPI-IMX296M, MV-MIPI-IMX265M,MV-MIPI-IMX264M,MV-MIPI-IMX287M======
+
<code>v4l2-ctl --set-selection=target=crop,top=0,left=0,width=$WIDTH,height=$HEIGHT</code>
+
+
<code>v4l2-ctl --set-ctrl frame_rate=$FPS</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" ! v4l2convert ! "video/x-raw,format=(string)NV12" ! autovideosink sync=false -v</code>
==== 触发模式 ====
==== 触发模式 ====
Admin
Bureaucrats
,
Administrators
1,602
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Links
VEYE IMAGING Website
VEYE IMAGING WIKI
VEYE IMAGING Github
VEYE IMAGING Forum
Offical Store
TAOBAO(淘宝网店)
AliExpress Shop
Amazon US. Shop
Amazon Canda Shop
WIKI Main Page
Main Page
Support
Support
Tools
Special pages
Printable version