pwc
[Top] [All Lists]

Re: [pwc] Which image-grab program?

To: Philips Webcam Linux Driver <>
Subject: Re: [pwc] Which image-grab program?
From: "" <>
Date: Thu, 9 Jun 2005 12:33:10 +0300
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

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU