Motion
Jump to navigation
Jump to search
- motion detection software:
configuration file
<syntaxhighlight lang="bash" > Threshold 40
- Image width (pixels). Valid range: Camera dependent, default: 352
width 640
- Image height (pixels). Valid range: Camera dependent, default: 288
height 480
- Maximum number of frames to be captured per second.
- Valid range: 2-100. Default: 100 (almost no limit).
framerate 2
- URL to use if you are using a network camera, size will be autodetected (incl http://)
- Must be a URL that returns single jpeg pictures or a raw mjpeg stream. Default: Not defined
netcam_url http://localhost:8090/test1.mjpeg
- Let motion regulate the brightness of a video device (default: off).
- The auto_brightness feature uses the brightness option as its target value.
- If brightness is zero auto_brightness will adjust to average brightness value 128.
- Only recommended for cameras without auto brightness
auto_brightness off
- Set the initial brightness of a video device.
- If auto_brightness is enabled, this value defines the average brightness level
- which Motion will try and adjust to.
- Valid range 0-255, default 0 = disabled
brightness 32
- Set the contrast of a video device.
- Valid range 0-255, default 0 = disabled
contrast 0
- Set the saturation of a video device.
- Valid range 0-255, default 0 = disabled
saturation 0
- Set the hue of a video device (NTSC feature).
- Valid range 0-255, default 0 = disabled
hue 0
- Live Webcam Server
- The mini-http server listens to this port for requests (default: 0 = disabled)
webcam_port 8082
- Quality of the jpeg images produced (default: 50)
webcam_quality 50
- Output frames at 1 fps when no motion is detected and increase to the
- rate given by webcam_maxrate when motion is detected (default: off)
webcam_motion off
- Maximum framerate for webcam streams (default: 1)
webcam_maxrate 1
- Restrict webcam connections to localhost only (default: on)
webcam_localhost off
- Limits the number of images per connection (default: 0 = unlimited)
- Number can be defined by multiplying actual webcam rate by desired number of seconds
- Actual webcam rate is the smallest of the numbers framerate and webcam_maxrate
webcam_limit 0 </syntaxhighlight>