Webcams: Difference between revisions

From CSCWiki
Jump to navigation Jump to search
No edit summary
(how the webcam works (adapted from a syscom email in April))
Line 1: Line 1:
A [http://csclub.uwaterloo.ca/office/webcam live webcam feed] of the office is available online.
== Logitech QuickCam Messenger ==

== Operation ==

We use [http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome Motion] to serve this webcam feed. It uses video4linux to read from the webcam, and pushes frames to the client (who maintains an HTTP connection). Frames are pushed when a certain amount of motion has detected, or a set maximum amount of time has passed since the last frame. One of these runs on each of our webcam hosts ([[Machine_List#maltodextrin|maltodextrin]] and [[Machine_List#bit-shifter|bit-shifter]], though the latter isn't working most of the time). Motion includes a builtin tiny HTTP server (running on port 8081 in our case) which serves a sequence of JPEG images to the browser. An ordinary <img> tag is embedded in the web page, and browsers will update the image when they receive a new one over the HTTP connection.

The Motion documentation is fairly self-explanatory, but here are the options we use for the webcam server part:

webcam_port 8081
webcam_quality 30
webcam_motion on
webcam_maxrate 5
webcam_localhost off
webcam_limit 1000

== Hardware ==

=== Logitech QuickCam Messenger ===
* USB IDs: 046d:08da
* USB IDs: 046d:08da
* Kernel module: gspca (gspca-source)
* Kernel module: gspca (gspca-source)
* Max resolution: 640x480
* Max resolution: 640x480


== Logitech QuickCam Zoom ==
=== Logitech QuickCam Zoom ===
* USB IDs: 046d:08b3
* USB IDs: 046d:08b3
* Kernel module: pwc
* Kernel module: pwc
* Max resolution: 640x480
* Max resolution: 640x480


== Logitech QuickCam Web ==
=== Logitech QuickCam Web ===
* USB IDs: 046d:0850
* USB IDs: 046d:0850
* Kernel module: quickcam (qc-usb-source package)
* Kernel module: quickcam (qc-usb-source package)
* Max resolution: 480x360
* Max resolution: 480x360


== Logitech QuickCam Chat ==
=== Logitech QuickCam Chat ===
* USB IDs: 046d:092c
* USB IDs: 046d:092c
* Kernel module: gspca (gspca-source)
* Kernel module: gspca (gspca-source)

Revision as of 15:47, 22 May 2010

A live webcam feed of the office is available online.

Operation

We use Motion to serve this webcam feed. It uses video4linux to read from the webcam, and pushes frames to the client (who maintains an HTTP connection). Frames are pushed when a certain amount of motion has detected, or a set maximum amount of time has passed since the last frame. One of these runs on each of our webcam hosts (maltodextrin and bit-shifter, though the latter isn't working most of the time). Motion includes a builtin tiny HTTP server (running on port 8081 in our case) which serves a sequence of JPEG images to the browser. An ordinary <img> tag is embedded in the web page, and browsers will update the image when they receive a new one over the HTTP connection.

The Motion documentation is fairly self-explanatory, but here are the options we use for the webcam server part:

webcam_port 8081
webcam_quality 30
webcam_motion on
webcam_maxrate 5
webcam_localhost off
webcam_limit 1000

Hardware

Logitech QuickCam Messenger

  • USB IDs: 046d:08da
  • Kernel module: gspca (gspca-source)
  • Max resolution: 640x480

Logitech QuickCam Zoom

  • USB IDs: 046d:08b3
  • Kernel module: pwc
  • Max resolution: 640x480

Logitech QuickCam Web

  • USB IDs: 046d:0850
  • Kernel module: quickcam (qc-usb-source package)
  • Max resolution: 480x360

Logitech QuickCam Chat

  • USB IDs: 046d:092c
  • Kernel module: gspca (gspca-source)
  • Max resolution: 480x360