There is an easier way...
On Monday, December 10, 2001, at 07:47 PM, Dmitri wrote:
Quoting Steven Brunasso <sbrunasso@xxxxxxxx>:
Does anyone have a quick program for ibmcam to save file to disk
perhaps?
cat < /dev/video0 > file.dat
The file will contain BGR24 frames, *with no separators* between them.
You
must know your image size to decode it properly. But it will work. You
can
use raw2ppm or something for that.
get gqcam http://cse.unl.edu/~cluening/gqcam/ it is a simple video
viewer/ frame grabber. The documentation says its for Quickcams, but it
should also work with other v4l devices. I use it with my kensington
camera. It can save to jpeg ppm and png. There are also some command
line image grabbers out there; you can find them at www.linux-usb.org
These would be useful for remote surveillance or a webcam on a webserver.
Good Luck
Adrian.