[Debian-eeepc-devel] streaming the webcam

Eric Cooper ecc at cmu.edu
Sun May 25 22:25:42 UTC 2008


On Sat, May 24, 2008 at 12:56:24PM -0400, Don Hayward wrote:
> I would like to stream the output from the webcam of a 900 ---
> I see the output with luvcview, but can not find how to make it available to
> another computer on my network.
> 
> Is anyone doing this with the eeepc webcam?
> What are you using?

The uvcvideo driver for the camera provides a standard v4l2 interface
via /dev/video0.

There's a package called webcam-server that should work, but it
doesn't, because it only supports the v4l version 1 method of frame
capture.

Here's a way to do it with gstreamer:

On the viewing machine:
  $ gst-launch tcpserversrc host=0.0.0.0 port=SOMEPORT ! multipartdemux ! jpegdec ! autovideosink

On the Eee:
 gst-launch v4l2src ! ffmpegcolorspace ! jpegenc ! multipartmux ! tcpclientsink host=VIEWINGMACHINE port=SOMEPORT

(I couldn't get it work in the more "natural" way with the Eee as a
server and the viewing machine as a client -- perhaps somebody else can.)

-- 
Eric Cooper             e c c @ c m u . e d u



More information about the Debian-eeepc-devel mailing list