[Linux-uvc-devel] Looking for a streaming too

Tom St t.st1 at gmx.net
Mon Aug 13 21:20:37 CEST 2007


Hello Robert,
> Is there a streaming-tool known to work with v4l2 ?
>   
Hello,
Try "UVC-streamer":
The current version 1.2 allows to take single snapshots and to stream to
MJPEG compatible clients. VLC was tested and works well, but has a
significant latency of about a few seconds. A small HowTo can be found
in the UVC wiki
(http://openfacts.berlios.de/index-en.phtml?title=HowTo_install_UVC_Streamer).

Assume your Linux-UVC driver created "/dev/video0". You can start
"uvc-streamer" with:
# uvc_stream -b -d /dev/video0 -r 640x480 -f 5 -p 8080
or simply (because all the parameters above are default parameters):
# uvc_stream -b

Then you can view the stream with:
# wxvlc http://127.0.0.1:8080

You can take a snapshot with a browser (tested with FF, IE, Opera):
# http://127.0.0.1:8080/snapshot

If you want to use your webcam as an appliance, have a look at the
uvc-streamer package for OpenWRT. The current uvc-streamer package still
does not support the snapshots, but is running for weeks now. The
required resources are that low, i assume you can hook up a few cameras
to a router like the Asus WL-500gP and run a new instance of
uvc-streamer for each camera at a different TCP port.

Please consider contributing your tips to the Linux-UVC wiki, or the
OpenWRT wiki at http://wiki.openwrt.org/webcam

Roadmap:

    * expect version 1.3 of uvc-streamer to be more modular
    * expect to get an updated version of the OpenWRT package (also
      quite easy to do yourself)
    * i want to to allow to make settings for parameters like color,
      saturation, ... via HTTP

Kind regards,
Tom



More information about the Linux-uvc-devel mailing list