linux usb视频教程,linux USB音视频基础

UVC,全称为:USB video class 或USB video device class

UVC既电脑硬件在不需要安装任何的驱动程序下即插即用,因为其驱动程序已经固化在硬件的芯片里面。可以使用UVC技术的包括摄像头、数码相机、类比影像转换器、电视棒及静态影像相机等设备。

最新的UVC版本为UVC 1.1,由USB Implementers Forum定义包括基本协议及负载格式。

网络摄像头是第一个支持UVC而且也是数量最多的UVC设备,目前,操作系统只要是 Windows XP SP2 之后的版本都可以支持 UVC,当然 Vista 就更不用说了。使用 UVC 的好处 USB 在 Video这块也成为一项标准了之后,硬件在各个程序之间彼此运行会更加顺利,而且也省略了驱动程序安装这一环节。

gspca webcam drivers 是linux下摄像头支持的最广泛的一个驱动,  这是由一个法国医生([url][/url])所设计编写的.不过从2007年底开始,已经不再维护, 最后一个版本为20071224.

而从lwn.net([url][/url])得知, 从2.6.26开始, gspca已经合并到内核中间,

名称为UVC(USB Video Class Linux device driver), 在driver/media/video/gspca目录. 编译时只需勾选相关的模块即可.使用usb camera插入时即可自动加载模块.

V4L,其全称是Video4Linux(Video for Linux),是在linux内核中关于视频设备的API接口(网上有些帖子说是内核驱动,这种说法是不妥的),涉及开关视频设备、采集并处理视频图像信息。V4L从2.1.x版本的内核中开始出现。

V4L2其全称是Video4Linux2 (Video for Linux Two)。很显然,他是V4L的改进版,修复了第一代的部分设计bug。从2.5.x开始,V4L2就被集成到内核里面去了。尽管如此,还是有一部分设备的驱动不支持新版本的V4L2,所以,有时候我们会看到V4L跟V4L2同时出现在代码里面。

# v4l的支持软件相关分类:

1、 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

2、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

所以你需根据自已的摄像头类型安装相关软件才能正常工作

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值