Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Command Line Options

mailmindlin edited this page Apr 18, 2016 · 2 revisions

Basic Options

  • --help -h -?
    • Displays the help message, and exits.
  • --verbose -v
  • --out

HTTP Server options

  • --port [port] -p [port]
    • This option sets the port that the HTTP server will run on. The port defaults to 5800, because reasons, so if you want to be able to connect to pi@raspberrypi.local, you will need to add -p 80 to your startup arguments.
  • --jpeg-quality [quality]
    • Set the quality of the JPEG. Values are 0 to 100, inclusive, where 0 is the worst quality possible, and 100 is pretty good. Defalts to 80, which is standard. Don't drop this value to save bandwidth, because testing has shown that a drop in quality from 80 to 50 only saved about 1 or 2 kb/frame (out of ~105kb/frame). The test was conducted with the saturation control maxed out.
  • --enable-gzip
  • --no-server
    • Disable starting the HTTP server. Most other things should work still.

GPIO options

  • --gpio-pin
    • Set the GPIO pin. Note that the pin numbers are based on WiringPi's (you can see a nice chart here).
  • --no-gpio
    • Disables using the GPIO.

Processor options

  • --x-skip
  • --y-skip
  • --save-diff
    • Save the differential image to a PNG.
  • --no-process

Camera options

  • --width
  • --height
  • --camera -C
    • Specify the video device's file. On linux, the file for the camera plugged in is usually /dev/video0, and then proceeds to /dev/video1, /dev/videoN.
  • --fps-num
  • --fps-denom
  • --no-camera

UDP options

  • --udp-target
  • --udp-port
  • --no-udp

Disabling stuff options

  • --no-server
  • --no-process
  • --no-camera
  • --no-udp
  • --no-gpio