博客
关于我
ubuntu下安装摄像头应用程序xawtv
阅读量:677 次
发布时间:2019-03-16

本文共 611 字,大约阅读时间需要 2 分钟。

准备工作:安装xawtv应用程序

方法一、

源码xawtv-3.95.tar.gz  

xawtv官网下载: http://www.kraxel.org/releases/xawtv/     下载后上传到Ubuntu上解压安装。

./configure   && make && make install     这个方法太麻烦,不提倡。

方法二、

sudo apt-get install xawtv    /* 在线获取安装包,如果你的的ubuntu版本是太老的话,这里就不能正确安装,只能采取第三种方法 */

方法三、其实和方法二是一样的,但是我们需要修改成适合自己版本的列表。

在这个网站创建新的sources.list      网址:http://repogen.simplylinux.ch/     配置如下图所示。

1. 选择国家                            

2.选择相邻的ubuntu版本
3. 选择"Ubuntu Branches"

4.配置好后点击最下面的 Generate List   将生成下面这个图片

5. 把得到地址替换到ubuntu下/etc/apt/sources.list文件下

6. 然后执行sudo apt-get update

   sudo apt-get install xawtv

现在这个xawtv就安装成功了。

测试USB摄像头:

1.让VMWAER处于前台,接上USB摄像头,可以看到生成了/dev/video0

2.执行 xawtv 即可看到图像

你可能感兴趣的文章
NN&DL4.8 What does this have to do with the brain?
查看>>
nnU-Net 终极指南
查看>>
No 'Access-Control-Allow-Origin' header is present on the requested resource.
查看>>
No 'Access-Control-Allow-Origin' header is present on the requested resource.
查看>>
NO 157 去掉禅道访问地址中的zentao
查看>>
no available service ‘default‘ found, please make sure registry config corre seata
查看>>
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
查看>>
no connection could be made because the target machine actively refused it.问题解决
查看>>
No Datastore Session bound to thread, and configuration does not allow creation of non-transactional
查看>>
No fallbackFactory instance of type class com.ruoyi---SpringCloud Alibaba_若依微服务框架改造---工作笔记005
查看>>
No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalanc
查看>>
No mapping found for HTTP request with URI [/...] in DispatcherServlet with name ...的解决方法
查看>>
No mapping found for HTTP request with URI [/logout.do] in DispatcherServlet with name 'springmvc'
查看>>
No module named 'crispy_forms'等使用pycharm开发
查看>>
No module named 'pandads'
查看>>
No module named cv2
查看>>
No module named tensorboard.main在安装tensorboardX的时候遇到的问题
查看>>
No module named ‘MySQLdb‘错误解决No module named ‘MySQLdb‘错误解决
查看>>
No new migrations found. Your system is up-to-date.
查看>>
No qualifying bean of type XXX found for dependency XXX.
查看>>