spca5shot(1)

NAME
spca5shot - simple image capture program for SPCA5xx based usb cameras.

SYNOPSIS
spca5shot [-d device] [-s NxN] [-o file] [-e times] [-a] [-t] [-i] [-h] [-S] [-j] [-D level] [-p]

DESCRIPTION
spca5shot is a simple program to capture image frames for SPCA5xx based usb cameras.

The following options are supported:

-d device
    Specifies the device name by absolute path. If no device name is specified, the program will cycle through the /dev/ugen0.00, /dev/ugen1.00, ... devices until it finds an attached target camera.

-s NxN
    Specifies the size of the output image frame. This option depends on chipset. using -i option shows all valid size.

-o file
    Specify output file name instead of stdout. If file exist already, it is overwrited.

-e times
    Specify exposure time. Useful if images are too dark, used many times with the -a option.

-a  Specify enable auto brightness support within chipset. default is disable. This option depends on chipset.

-t  Display average of frame capture rate, report based on last 10 frame captures.

-i  Display information for the camera and exit, all other options will be ignored.

-j  Specify output to be in Jpeg format.

-c level
    Specify contrast level, if support within chipset.

-C level
    Specify "color" level, if support within chipset.

-W level
    Specify "Whiteness" level, if support within chipset.

-H level
    Specify "Hue" level, if support within chipset.

-S  Specify to output a MJpeg stream format (a stream Jpeg images with HTTP headers) simular or many webcams.

-h  Display usage messages and exit.

-D level
    Specify the level of debug message. level means as follow. 0 no debug messages. 1 init/detection/unload and other significant messages. 2 some warning messages 3 config/control function calls 4 most function calls and data parsing messages 5 highly repetitive mesgs

-p  Specify dump isochronous packets. This options is for debug.

EXAMPLES
spca5shot -s 352x288 output.ppm

SEE ALSO
ugen(4) spca5view(1)

WEBPAGE OF PORTING FOR BSD
http://www.medias.ne.jp/~takam/bsd/NetBSD.html#spca561

REFERENCE
SPCA50X Linux Device Driver Project; http://spca50x.sourceforge.net/ Michel Xhaard's Project; http://mxhaard.free.fr/index.html

AUTHORS
Mizuno Takafumi