CL20 as webcam -- working!

From: <poeml_at_cmdline.net>
Date: Sat, 21 May 2005 12:56:32 +0200
On Fri, May 20, 2005 at 11:38:18PM +0200, Peter Poeml wrote:
> > > Hm, does that mean that a standard software (xawtv/camE/motion) would
> > > work with the device, or not?
> > that works for all apps compliant with v4l1
> > for xawtv used
> > xawtv -noxv -c /dev/video0 -geometry 320x240 -bpp 32 
> > gnomemeeting, ffmpeg works
> > camE and motion palantir should work but i never try :)
> 
> Thanks a lot, I will try that!

I tried 'motion' last night, and it works just great.

It detects movements in the stream very well, and it doesn't really
cause a load on the 400 MHz G3 processor. I can watch the stream in the
browser (and the captured movies with mplayer) on the same machine, at
the same time ;)

Now the blackbird on the balcony can be monitored, look here :-)
http://bro.poeml.de/~poeml/cl20/29-20050521115736.avi


> Not really an expert but http is not set for 
> video streaming :))

motion has a small built-in web server which uses 

	Content-Type: multipart/x-mixed-replace;boundary=BoundaryString

which makes the browser reload the content all the time.  This seems to
make sense, it works well with my mozilla, no java, not even javascript
required.

> Looking closer at the colors, it seems that blue is swapped with
> red/yellow... 
> 
> Interestingly, if I take a snapshot (with the key 's'),
> the snapshot jpg file looks completely normal if I look at it in one of
> the usual picture viewers.

BTW, the stream captured with motion has correct colours, too. So it is
not a problem in the driver.

Thanks,
Peter
-- 
the little cardinal ate the pink machine that goes "ping"

Received on Sat May 21 2005 - 12:56:35 CEST

This archive was generated by hypermail 2.2.0 : Wed Oct 28 2009 - 17:45:02 CET