Difference between revisions of "Webcam Devices"

From LinuxTVWiki
Jump to: navigation, search
m (53 revision(s))
m (fixed link)
Line 17: Line 17:
 
* [http://www.exploits.org/v4l/ Video for Linux resources] -- see Video: Security / Webcams / Monitoring
 
* [http://www.exploits.org/v4l/ Video for Linux resources] -- see Video: Security / Webcams / Monitoring
 
* For USB webcams, see also [http://www.qbik.ch/usb/devices/search_res.php?pattern=video&submit=Search%21 video devices] in the [http://www.qbik.ch/usb/devices/index.php USB device overview database]
 
* For USB webcams, see also [http://www.qbik.ch/usb/devices/search_res.php?pattern=video&submit=Search%21 video devices] in the [http://www.qbik.ch/usb/devices/index.php USB device overview database]
* '''[[ Reverse_Engineering_USB_Webcams]]'''
+
* '''[[Development: Reverse Engineering USB Webcams|Reverse Engineering USB Webcams]]'''
  
 
==UVC webcams==
 
==UVC webcams==

Revision as of 01:34, 16 January 2009

Applications

  • The Webcam HowTo
  • Ekiga -- Ekiga is a free Voice over IP phone allowing you to do free calls over the Internet. Ekiga is the first Open Source application to support both H.323 and SIP, as well as audio and video. Ekiga was formerly known as GnomeMeeting.
  • fswebcam -- fswebcam is a neat and simple webcam app for Linux. It captures images from a V4L1/V4L2 compatible device or file, averages them to reduce noise and draws a caption using the GD Graphics Library which also handles compressing the image to PNG or JPEG. The resulting image is saved to a file or sent to stdio where it can be piped to something like ncftpput or scp.
  • motion -- motion-detection using a webcam (on sourceforge)
  • sonic-snap -- webcam application specifically suited for the Sonix sn9c10x chip
  • spook -- capture live video and audio and stream it over an IP network
  • telak -- display remote or local pictures on your desktop
  • vgrabbj -- grabs a image from a camera and puts it in jpg/png format
  • Videoview & Device Debugger -- applications suited for some drivers present in the Linux kernel. Videoview supports the USB Video Class standard.
  • webcam -- captures images and uploads them to a Web-Server via ftp or ssh in a endless loop
  • UVC-streamer -- Grabs JPEGs from Linux-UVC compatible cameras and serves them as M-JPEG stream. It is very ressource friendly, most of the time you do not even recognize it in top. It allows to Pan/Tilt the camera, the upcoming second version (mjpg-streamer) will also support motion detection and plugins.

Resources

UVC webcams

USB Video Class (UVC) is a USB standard for "generic" video devices including webcams. This is actually a good thing, because in the past webcam drivers and interfaces were often proprietary (meaning that Linux drivers needed the author to sign an NDA, or to decompile or monitor/sniff USB traffic).

Do you have USB 2.0 controllers on your notebook and desktop? If so, you could benefit from higher resolutions with the Logitech Quickam for Notebooks Pro, Quickcam Fusion and Quickcam Orbit MP. All those webcams are 1.3MP devices and are supported by the linux-uvc driver. Note that the Quickcam for Notebooks Deluxe doesn't fall in that category; it's supported by the spca5xx driver.

Those 3 webcams also work in USB 1.1 mode, but are then limited to 640x480. In that case, you could go for the Quickcam Pro 5000, which is a 640x480 device supported by the linux-uvc driver.

UVC webcams are well supported, but you must be aware of a few issues.

  • The linux-uvc driver is V4L2-only. This means applications which support V4L1 only will not work. V4L1 is officially deprecated, and have been removed from the kernel recently, so most drivers have or will switch to V4L2 anyway.
  • The 4 webcams mentioned above compress images in MJPEG for resolutions up to 960x720. This means that applications must be able to decompress MJPEG streams to use the webcam at lower resolutions. Ekiga and motion support MJPEG compression. UVC webcams like the OmniVision OV2640 (built into Dell M1530 and Inspiron laptops) actually *require* MJPEG compression for high resolutions up to 1600x1200, whereas using the standard YUV encoding limits resolution to standard 640x480.

Webcam drivers

(alphabetize by driver)

Many of these are out-of-tree kernel drivers.

  • cpia -- first generation of STM's Color Processor Interface (ASIC) Cpia
    • Included in mainline kernel
    • Supports a large number of USB devices by Aiptek, Creative, Digicom, Dynalink, Ezonics, Intel, Microtek, Pace, SuperCam, TCE, Terracom, Trust, Utobia, ZoomCam
    • Supports some parallel port devices by Creative, CVideo, CU-SeeMe, Digicom, and ZoomCam
  • cpia2 -- second generation of STM's Color Processor Interface (ASIC)
    • Included in mainline kernel from 2.6.18
    • Supports the QX5 USB microscope, the Swann Versacam MINI webcam, and other devices using the second generation of STM's Color Processor Interface (ASIC)
  • em2880
  • et61x251
    • Supports Etoms ET61X151 or ET61X251-based USB cameras
    • Included in mainline kernel
  • icm532
  • linux-uvc -- the USB Video Class Linux device driver
    • Not included in the kernel (as of 2.6.18), but several distros have ready packages
    • Supports several USB2.0 Logitech Quickcams, such as the Orbit MP, the Pro for Notebooks, the Pro 5000, the Dell Notebook, and the Cisco VT Camera II
  • m560x -- ALi M560(2/3) driver with various sensors attached
    • No properly working driver yet
  • meye -- the Sony Vaio PictureBook Motion Eye Camera Driver
    • Included in 2.4 and 2.6 kernels -- see documentation
    • Supports the second version of the MotionEye camera (PCI vendor/device 0x136b/0xff01)
    • A driver for the third version is being written, see r-engine below
  • nw802
  • ov511
  • pwc -- the new driver
  • qce-ga/qc-usb
    • Kernel module package available in
    • Supports Logitech Quickcam Express, LegoCam, Dexxa Webcam, Labtec Webcam (old model), Logitech QuickCam Notebook (some models)
  • quickcam
  • r-engine
    • Aims to support Sony Vaio Picturebooks (model PCG-C1M* and newer, PCI vendor/device 0x10cf/0x2011)
  • se401
  • sqcam
    • Supports webcams based on the sq905 chip, such as Volcano DG640E, Nexxtech Micro Digital Camera, Umax (Yamada) Astranugget; may work with Mito DG640E, Mitek CD10, Mitek 30P, GTW Electronics/ ShuoYing, Industrial(ShenZhen)Co.,Ltd SY-2102, Condord Eye-Q Easy / Eye Q Easy Too, Che-ez Snap, Hercules DualPix, Argus DC-1512, DC-1510, Gear to go, Magpix B350, Jenoptik JD 350, Concord Eye-Q Easy, PockCam
  • Sonix SN9C10x
    • Available in the latest kernels as sn9c102
    • Supports webcams based on the sn9c102 chip, such as the Genius VideoCam NB
    • Another driver was in development here sonix
    • sn9c101 -- patch for Trust Spacec@m
  • SN9C* open source Microdia drivers under development
    • Shall be equivalent to SN9CXXX below
  • SN9CXXX (non-open source)
    • Driver for SN9C101, SN9C102, SN9C102P, SN9C103, SN9C105, SN9C110, SN9C120, SN9C201, SN9C202
    • for example 0c45:624f from Microdia
  • spca5xx
    • Supports webcams based on Sunplus Sonix Transvision Z-star/Vimicro Conexant Etoms chips
    • Supports webcams such as Aiptek Pencam and Digital Dream l'espion
    • See the long list of devices
  • stk11xx
    • Aims to support Syntek DC-1125/1135 cams
  • stv680 -- SANE backend
  • sty0680
  • tv8532
  • uvcvideo
    • USB Video Class driver
  • w9968cf -- included in the kernel
  • zr364xx
    • Supports the webcam mode of cameras based on the ZR364xx chips from wendors like Aiptek, Concord, Creative, Genius, Maxell, Fujifilm, Ricoh, Pentacon, Mustek, Konica, Umax etc.
  • zc0301 -- included in the kernel
    • Supports Z-Start/Vimicro ZC0301-based USB cameras
  • zc0302