首页 > 服务器 > openwrt挂摄像头

作者:ghostry 发布时间:2018-01-20 浏览: 3479

转载注明出处: https://blog.ghostry.cn/server/836.html

感觉openwrt的挂摄像头很容易。

安装

opkg install kmod-usb-video
opkg install kmod-video-uvc 

这两个,最好编译时候编固件里去。

opkg install luci-app-mjpg-streamer

然后就可以在luci网页配置了。
input选uvc,output选http。
重点是uvcinput下边的设置,
设备要选对,一般是video0,除非挂的摄像头多。
Resolution和Frames per second要按摄像头原生支持的设置。
可以用Linux上的luvcview软件查看,终端里输入luvcview -l 。如果成功出现画面,则摄像头可用。并且终端中会显示出来支持的分辨率,帧率,和是否支持yuyv,MJPEG等信息。
按照这里的信息设置Resolution , Frames per second和Enable YUYV format这三个。

标签: openwrt

上一篇: Ubuntu 16.04安装retroarch
下一篇: Ubuntu1604创建gitweb服务器

添加新评论 »

*
*

欢迎评论!歡迎評論!Comments welcome!komentoj bonvenaj!댓글 오신 것을 환영합니다!
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: :cold: :cryy: :cute: :shy: :sleep: :struggle: :tea: :yahou: