[wellylug] Video Capture device

jumbophut jumbophut at gmail.com
Tue Sep 28 15:31:25 NZST 2004


On Tue, 28 Sep 2004 15:02:49 +1200, Chris Hodgetts wrote:
> I have a Video Capture device, bttv , anyway, this is a module in the
> kernel and works well..
> 
[snip...]
> Anyway, I want to be able to stream them if I can, but also record any
> changes in motion so, stream 24/7 and record to a avi or something when
> motion is detected and e-mail an alert..  and rotate the logs after x
> ammount of days, but this needs to happen per channel input..
> 

On my machine at least, xawtv is just a pretty front-end for v4lctl. 
You can write bash/perl/python scripts calling v4lctl to automate the
recording, if 'motion' [excellent suggestion M. Chalaron] doesn't do
all you want.  'man v4lctl'.  It is really quite impressive.

Incidentally, avi files will soon get pretty large, so you'll probably
want to compress on the fly, or with a lag in the background.  MPEG
will be easiest, but I prefer the idea of Ogg Theora or the BBC's
Dirac (neither is well supported yet, unfortunately).

-- 
Tony (echo 'spend!,pocket awide' | sed 'y/acdeikospntw!, /l at omcgtjuba.phi/')




More information about the wellylug mailing list