Webcam Test

From wikidb
Jump to: navigation, search

Webcam Test Programs

luvcview and guvcview are display programs that can be used to test a webcam. uvccapture will save an image to the current directory. Each were installed with Synaptic. For example to run luvcview:

eepp@tabor:~$ luvcview
luvcview 0.2.6

SDL information:
  Video driver: x11
  A window manager is available
Device information:
  Device path:  /dev/video0
Stream settings:
  Frame format: MJPG
  Frame size:   640x480
  Frame rate:   30 fps

Trouble Shooting USB

Us lsusb from usbutils. You can check installation with Synaptic. For example:

eepp@tabor:~$ lsusb
Bus 004 Device 006: ID 04fe:0006 PFU, Ltd 
Bus 004 Device 005: ID 04fe:0008 PFU, Ltd 
Bus 004 Device 003: ID 03eb:21fe Atmel Corp. 
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 05ac:0304 Apple, Inc. Optical USB Mouse [Mitsumi]
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 010: ID 046d:0805 Logitech, Inc. 
Bus 001 Device 007: ID 06c2:0059 Phidgets Inc. (formerly GLAB) 
Bus 001 Device 006: ID 06c2:0045 Phidgets Inc. (formerly GLAB) PhidgetInterface Kit 8-8-8
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

For example the following will give you a lot of information about the Logitech webcam on bus 1 device 10.

eepp@tabor:~$ lsusb -s 1:10 -v
bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x046d Logitech, Inc.
  idProduct          0x0805 
...