我试着从网络摄像头中实时运行一个简单的采集,并将其发送到to Video Display块。我使用Real-Time Windows Target选择rtwin.tlc作为系统目标文件,固定步长的离散求解器32-bit x86 compatible as device type (despite I use 64-bit Windows 7);当我尝试构建它时,返回错误:
Error(s) encountered while building model "untitled"
但没有指明错误的原因。我是不是漏掉了什么?
PS:我尝试用From Multimedia File块
环境
我使用Buildroot 'imx6-sabresd_qt5_defconfig',并添加了'openssh','gdb',一些'gstreamer‘来播放视频。
我的董事会是i.MX6Q。我将ov5640作为模块添加,并使用此命令安装ov5640模块
insmod /lib/modules/4.14.14/kernel/drivers/media/i2c/ov5640.ko
Test - Qt相机应用程序
然后运行Qt相机演示应用程序,它显示此错误
Unable to open the camera "" for
我想在linux上通过摄像头捕捉图像。所以我在网上搜索了一下,发现可以用mplayer或vlc来完成。
下面是mplayer采集画面的命令和对应的错误。
[root@localhost ~]# mplayer -vo png -frames 1 tv://
MPlayer SVN-r31628-4.4.4 (C) 2000-2010 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be a