Webcams: Difference between revisions

From CSCWiki
Jump to navigation Jump to search
(how the webcam works (adapted from a syscom email in April))
(Office webcam feed is no longer available)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
A [http://csclub.uwaterloo.ca/office/webcam live webcam feed] of the office is available online.
The live webcam feed of the office is no longer available.


See the previous history of this page for historical information about the webcam feed.
== 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
* 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

[[Category:Hardware]]

Latest revision as of 14:48, 28 June 2016

The live webcam feed of the office is no longer available.

See the previous history of this page for historical information about the webcam feed.