Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
VEYE MIPI 290/327 for Raspberry Pi/zh
(view source)
Revision as of 10:15, 19 August 2019
878 bytes added
,
10:15, 19 August 2019
增加网络连接视频的说明
Line 67:
Line 67:
将t调节成 -1 ,可以实现视频持续输出显示到HDMI输出。
将t调节成 -1 ,可以实现视频持续输出显示到HDMI输出。
−
*veye_raspivid
+
*veye_raspivid
录像
<code>./veye_raspivid -t 5000 -o ~/test.h264</code>
<code>./veye_raspivid -t 5000 -o ~/test.h264</code>
实现录像5s,录像文件保存到~/test.h264。可以自行调节t的大小来选择录制时间的长短。
实现录像5s,录像文件保存到~/test.h264。可以自行调节t的大小来选择录制时间的长短。
+
+
*veye_raspivid 网络传输(direct tcp stream with netcat)
+
+
'''树莓派一侧执行'''
+
+
<code>./veye_raspivid -b 4000000 -t 0 -o - | nc -l -p 5000</code>
+
+
码流带宽为4Mbps,持续传输,监听端口为5000。
+
+
'''电脑一侧使用gstreamer'''
+
+
<code>./gst-launch-1.0 -v tcpclientsrc host=x.x.x.x port=5000 ! decodebin ! autovideosink</code>
+
+
其中x.x.x.x为树莓派的IP地址
+
+
[https://gstreamer.freedesktop.org gstreamer]的windows版本[https://gstreamer.freedesktop.org/documentation/installing/on-windows.html?gi-language=c 下载地址]。只安装runtime files即可。
+
+
'''电脑一侧使用mplayer'''
+
+
<code>./mplayer -x 1280 -y 720 -geometry 0:0 -fps 200 -demuxer h264es -noborder ffmpeg://tcp://x.x.x.x:5000</code>
+
+
其中x.x.x.x为树莓派的IP地址
+
+
mplayer for windows [http://mplayerwin.sourceforge.net/downloads.html 下载地址]。
+
+
<br />
*veye_raspividyuv
*veye_raspividyuv
Xumm
Administrators
2,021
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