树莓派摄像头,音频驱动
来源:互联网 发布:软件开发技术方案 编辑:程序博客网 时间:2024/06/08 13:29
树莓派确实让我折腾了好久
- 树莓派确实让我折腾了好久
- 相机驱动安装
- 测试
- 音频
相机驱动安装
可能有时候直接用csi摄像头的话有一点问题,似乎是有个驱动没安装好
shell中执行
curl http://www.linux-projects.org/listing/uv4l_repo/lrkey.asc | sudo apt-key add -
在/etc/apt/sources.list中加入
deb http://www.linux-projects.org/listing/uv4l_repo/raspbian/ wheezy main
如果是Raspbian Jessie
deb http://www.linux-projects.org/listing/uv4l_repo/raspbian/ jessie main
执行
$ sudo apt-get update$ sudo apt-get install uv4l uv4l-raspicam$ sudo apt-get install uv4l-raspicam-extras$ sudo service uv4l_raspicam restart
推荐把GPU Memory 设置为大于128MB
在
/boot/config.txt
最后可以升级一下固件
$ sudo rpi-update
测试
$ uv4l --driver raspicam --auto-video_nr --width 640 --height 480 --encoding jpeg
照一张像
$ dd if=/dev/video0 of=snapshot.jpeg bs=11M count=1
音频
Raspbian Jessie
创建或者编辑/etc/asound.conf
pcm.!default { type asym playback.pcm "plug:hw:0" capture.pcm "plug:dsnoop:1"}
0表示自建声卡
1表示USB声卡
0 0
- 树莓派摄像头,音频驱动
- 摄像头驱动
- 音频驱动
- 使用DirectShow驱动摄像头
- 使用DirectShow驱动摄像头
- 使用DirectShow驱动摄像头
- 使用DirectShow驱动摄像头
- 使用DirectShow驱动摄像头
- Ubuntu 摄像头驱动安装
- Linux下摄像头驱动
- 使用DirectShow驱动摄像头
- 驱动摄像头的类
- 使用DirectShow驱动摄像头
- 使用DirectShow驱动摄像头
- DirectShow驱动摄像头
- wince摄像头驱动
- 不知品牌摄像头驱动
- 使用DirectShow驱动摄像头
-  |"|&|<|>等html字符转义
- 安卓音乐播放器 路径设置错误
- Mybatis中oracle、mysql、db2、sql server的like模糊查询
- MSP430G2553 WDT的NMI中断例子
- 聚焦CSDN技术主题月:深度学习框架的重构与思考专场回顾
- 树莓派摄像头,音频驱动
- dialog显示位置
- Eval 绑定数据,小数点后保留两位
- 简单几步让vs2010支持html5
- Aandroid中https请求的单向认证和双向认证
- Android中的GraphicBuffer同步机制-Fence
- MongoDB回收空间问题
- java 如何以\s\n等分割字符串
- Spring data JPA遇到有大写的不规范的MySQL命名字段