On Wed, Jun 08, 2005 at 06:28:50PM +0100, Christopher Willmot wrote:
> have you tried streamer in conjunction with ImageMagick?
> For example
>
> streamer -o myfile.ppm
> convert myfile.ppm myfile.jpg
Streamer can output JPEG-file straight away also: -o test.jpeg
$ cat /usr/local/bin/grabwebcamimage
#!/bin/sh
# (c) GPL 2005 Jouni dot Lohikoski (ä) iki dot fi
FILENAME="cam.`date -Is`.jpeg"
streamer -c /dev/video1 -s 640x480 -o $FILENAME
echo "$0: $FILENAME saved."
$ grabwebcamimage
files / video: JPEG (JFIF) / audio: none
/usr/local/bin/grabwebcamimage: cam.2005-06-09T12:31:05+0300.jpeg saved.
Only thing which would be good, is to have some CLI method to add Exif
timestamp to the JPEG file. I just emailed exiftime author, if he would
be interested to add that feature. Currently exiftime can change the
timestamp, if there already is one, but cannot create a new efix meta
data.
Anyone know any program which could create efix meta datas?
// jouni
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|