Re: Snapshots?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



>Jim Ford wrote:
>I want to be able to take a snapshot at (say) 15min intervals...

I run this shell script that has a continuous loop (that was included with
streamer).
The file is named    "shell_name.sh"
It calls up the command line program in xawtv.
Set the timeout variable to amount of seconds required
before the loop repeats.
picture.jpg is the grabbed picture.
Set the required path.

Good luck,
Barry.


#!/bin/sh
timeout=10
in=composite
f=jpeg
s=200x150
c=/dev/video1
n=ntsc
b=4

while /bin/true
do
./streamer -b $b -s $s -i $in -c $c -n $n -o /home/httpd/html/picture.jpg


 sleep $timeout
done






[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux