# 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
+auto_brightness on
# 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 0
+brightness 128
# Set the contrast of a video device.
# Valid range 0-255, default 0 = disabled
# Recommended range: 0 to 5 (default: 0)
# Do not use large values! Large values will cause Motion to skip video frames and
# cause unsmooth mpegs. To smooth mpegs use larger values of post_capture instead.
-pre_capture 0
+pre_capture 5
# Number of frames to capture after motion is no longer detected (default: 0)
-post_capture 0
+post_capture 5
# Gap is the seconds of no motion detection that triggers the end of an event
# An event is defined as a series of motion images taken within a short timeframe.
# Recommended value is 60 seconds (Default). The value 0 is allowed and disables
# events causing all Motion to be written to one single mpeg file and no pre_capture.
-gap 60
+gap 0
# Maximum length in seconds of an mpeg movie
# When value is exceeded a new mpeg file is created. (Default: 0 = infinite)
-max_mpeg_time 0
+max_mpeg_time 86400
# Always save images even if there was no motion (default: off)
output_all off
# flv - gives you a flash video with extension .flv
# ffv1 - FF video codec 1 for Lossless Encoding ( experimental )
# mov - QuickTime ( testing )
-ffmpeg_video_codec mpeg4
+ffmpeg_video_codec msmpeg4
# Use ffmpeg to deinterlace video. Necessary if you use an analog camera
# and see horizontal combing on moving objects in video or pictures.
# Draw a user defined text on the images using same options as C function strftime(3)
# Default: Not defined = no text
# Text is placed in lower left corner
-; text_left CAMERA %t
+text_left CAMERA %t\nhttp://www.ipfire.org
# Draw the number of changed pixed on the images (default: off)
# Will normally be set to off except when you setup and adjust the motion settings
# Target base directory for pictures and films
# Recommended to use absolute path. (Default: current working directory)
-target_dir /srv/motion/cam1
+target_dir /var/motion/cam1
# File path for snapshots (jpeg or ppm) relative to target_dir
# Default: %v-%Y%m%d%H%M%S-snapshot
############################################################
# The mini-http server listens to this port for requests (default: 0 = disabled)
-webcam_port 36000
+webcam_port 2500
# Quality of the jpeg images produced (default: 50)
-webcam_quality 75
+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)