Änderungen

Zur Navigation springen Zur Suche springen
3.506 Bytes hinzugefügt ,  19:37, 13. Mär. 2007
keine Bearbeitungszusammenfassung
Zeile 349: Zeile 349:     
=== Camsrv ===
 
=== Camsrv ===
 +
LiveStream ähnlich motion
 +
 +
<pre>
 +
camsrv -r CIF -d 100 -v --device=/dev/v4l/video0
 +
</pre>
 +
 +
Hilfe: camsrv -h
 +
 +
<pre>
 +
camsrv v0.3.4
 +
(c)2002 Matthew Painter
 +
 +
Usage: camsrv [options]
 +
 +
Example: camsrv -r VGA -d 100 -v --device /dev/video1
 +
Example: camsrv -w 320 -h 240 -s --file cam.ppm
 +
Example: camsrv --delay 10-2 --script upload.pl --file cam.jpg
 +
 +
General options:
 +
-v --verbose              display verbose information (for debugging)
 +
-V --version              display version and exit
 +
-W --width NUM            width of captured image
 +
-H --height NUM          height of captured image
 +
-r --resmode MODE        use standard resolution (see below)
 +
-f --file FILENAME        save PPM/JPG image of first frame captured and exit
 +
-q --jpegquality NUM      JPEG image quality percentage (value between 0 and 100,
 +
                          defaults to 75)
 +
-p --script FILENAME      run FILENAME after each image is captured
 +
-P --port PORT            port to run the camsrv server on
 +
-d --delay NUM-NUM | NUM  delay (in seconds) between frames are captured
 +
-e --capturedelay NUM    portion of delay where camera is enabled (for image stabilisation)
 +
-l --loop                loop still image capture. Enabled if streaming is
 +
                          also enabled
 +
-L --log FILENAME        log verbose output messages to FILENAME
 +
-D --device PATH          path to video device to use (defaults to /dev/video0)
 +
-S --stream              streams to java client. This is enabled by default
 +
                          if --file is not used
 +
-h --help                display help
 +
 +
Philips specific options:
 +
-F --framerate NUM    framerate of camera (integer between 4 to 30)
 +
-c --compression NUM  camera compression (0..3)
 +
-s --shutter NUM      shutter speed (0..65535) default: automatic
 +
-g --agc NUM          automatic gain control override (0..65535)
 +
 +
Default resolution modes:
 +
 +
Mode            Resolution
 +
sQCIF          128x96
 +
QSIF            160x120
 +
QCIF            176x144
 +
SIF            320x240
 +
CIF            352x288
 +
VGA            640x480
 +
</pre>
    
=== Mvc ===
 
=== Mvc ===
 +
 +
einfaches motion capture Programm
 +
 +
<pre>
 +
mvc version 0.8.9 - motion detection video capture program
 +
 +
Usage: mvc <options>
 +
 +
-B picture brightness value.
 +
-C picture contrast value.
 +
-D run in daemon mode.
 +
-O Base directory for output images. default is current dir.
 +
-o Don't create sub-directories for output.
 +
-t Print timestamp on image.
 +
-d <device> video device (default:/dev/video0).
 +
-e <program> excute a external program while motion detected.
 +
-f {jpeg|png} set output file format. default is jpeg.
 +
-q <quality>              jpeg quality setting.
 +
-h print this help.
 +
-i <channel> which input channel to use, default is 1, or 0 if only 1 input.
 +
-m use mono color (grayscale) for capture.
 +
-n {pal|ntsc|secam|auto}    video norm to use, default: PAL
 +
-s XxY size of the output image, example: -s 640x480
 +
-a HxV block division number in Horizantal and Vertical. Ex: -a 16x8
 +
-b <diff_block_limit>      threshold of hot block number.
 +
-c <diff_color_limit>      threshold of block color difference.
 +
-w delay time for each capture(seconds), example: -w 0.5
 +
-l logfile used in daemon mode. default is null.
 +
-v increase verbose level for more details, can multiple applied.
 +
</pre>
 +
 +
== Anzeigen auf dem Router ==
 +
Anlegen eines Links:
 +
<pre>
 +
vi /www/20-cgi-bin-webcam
 +
 +
<TR><TD>^M
 +
            <DIV CLASS="plugin"><A CLASS="plugin" HREF="cgi-bin-webcam.html">Webcam</A></DIV></TD>^M
 +
          </TR>^M
 +
</pre>
 +
 +
=== als Bild ===
 +
 +
=== Mit Java Applett ===

Navigationsmenü