gspca驱动移植介绍
来源:互联网 发布:windows系统怎么录屏 编辑:程序博客网 时间:2024/05/02 06:10
原文:http://blog.csdn.net/linweig/article/details/5305334
gspca webcam drivers 是linux下摄像头支持的最广泛的一个驱动, 这是由一个法国医生(http://mxhaard.free.fr/)所设计编写的.不过从2007年底开始,已经不再维护, 最后一个版本为20071224.
ubuntu中可以在通过apt-get install gspca-source安装代码, 不过此代码再2.6.26以上内核会编译出错.
而从lwn.net(http://lwn.net/Articles/291054/)得知, 从2.6.26开始, gspca已经合并到内核中间,
名称为UVC(USB Video Class Linux device driver), 在driver/media/video/gspca目录. 编译时只需勾选相关的模块即可.
如果想使用最新的gspca代码可以从以下几个站点下载到:
http://linuxtv.org/hg/~jfrancois/gspca/
http://linuxtv.org/hg/~eandren/gspca-m5602/
http://linuxtv.org/hg/~pinchartl/uvcvideo/
建议下载最新的gspca代码, 可能修正了最新的bug.
# wget http://linuxtv.org/hg/~jfrancois/gspca/archive/tip.tar.bz2 -O gspca.tar.bz2
# tar -jxvf gspca.tar.bz2
# cd gspca-xxx
# make menuconfig # 选择编译选项
# make
# make install
使用usb camera插入时即可自动加载模块, 可通过v4l-info命令查看/dev/video相关信息.
# v4l-info
测试摄像头可用以下几个软件:
webcam
luvcview
spcaview
camorama
通过 aptitude install xxx 即可
示例:
# lucview -d /dev/video0 -L
查询设备的相关信息
相关引用:
http://lwn.net/Articles/291036/
http://mentors.debian.net/cgi-bin/sponsor-pkglist?action=details;package=libv4l
http://hansdegoede.livejournal.com/4789.html
http://fedoraproject.org/wiki/Features/BetterWebcamSupport#Documentation
Linux UVC driver and tools
QuickCam Team
Drivers
V4L2-compatible software
luvcview — by Martin Rubli — Small video capture program ideal for webcam testing and problem debugging.
- Ekiga — by Martin Rubli — Audio and video conferencing software supporting H.232 and SIP.
- FFmpeg — by Martin Rubli — Program suite to record and convert audio and video streams.
- fswebcam — by Martin Rubli — Command-line tool to capture webcam images.
- GStreamer — by Martin Rubli — V4L2 plugin for the GStreamer multimedia framework.
- MJPG-streamer and UVC-streamer — by Martin Rubli — Resource-friendly IP-based webcam streaming server
- uvccapture — by Martin Rubli — Command-line tool to capture webcam images.
- UVC incompatible software — by Martin Rubli — List of a few programs that have V4L2 support but do not work with the Linux UVC driver because of implementation limitations.
- unicap and ucview — by Martin Rubli — Video capture library with supporting GTK widgets
V4L1-only software
- GStreamer — by Martin Rubli — V4L plugin for the GStreamer multimedia framework.
- Motion — by Martin Rubli — Motion detection software.
- Camorama — by Martin Rubli — GTK+ application to display webcam streams.
- ZoneMinder — by Martin Rubli — Web-based camera surveillance and security solution.
- V4L1/V4L2 hybrid software — by Martin Rubli — A list of software that works with both, V4L1 and V4L2.
- JMF — by Martin Rubli — Java Media Framework
- gspca驱动移植介绍
- gspca驱动移植介绍
- gspca 摄像头驱动的移植(ZC3XX)
- 中星微摄像头驱动gspca(ZC3XX)移植
- gspca 摄像头驱动的移植(ZC3XX)
- linux gspca usb摄像头驱动添加对新型号的详细移植步骤
- 《华清远见学习手记》之 移植gspca摄像头驱动到FS2410
- 驱动移植
- 系统移植-驱动移植
- cs8900a驱动移植笔记
- LCD驱动移植笔记
- 网卡驱动移植成功
- USB 驱动移植心得
- USB 驱动移植心得
- 移植LCD驱动
- 移植SD卡驱动。
- USB驱动移植心得
- 2410移植触摸屏驱动
- openlayer通过SLD改变图层Feature的样式
- 一亿行删除或修改一千万行的思路总结续
- 使用事件驱动模型实现高效稳定的网络服务器程序
- 创新过程管理
- 使用正确的dtd声明和entityResolver避免saxReader联网验证
- gspca驱动移植介绍
- xml--dom4j SAXReader解析
- 利用openstreetmap在android应用中添加地图
- yuv和yCbCr的差异
- /mnt/sdcard/Android/data/<package> 卸载时自动删除这个目录(默认缓存目录)
- 体感技术:Microsoft Kinect SDK vs PrimeSense OpenNI
- 简明 Vim 练级攻略
- XML基础
- DEBUG下,VS 2010的vector和相关迭代器的安全检查和记录功能