]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/motion/motion.conf
Motion tuning (don't run as root, backup include, config...)
[people/pmueller/ipfire-2.x.git] / config / motion / motion.conf
index 4d8777279d0a78d424c1b21b448bda3a9371a05a..a97762cc57df0eecbdba05e65c91100c1d1036f7 100644 (file)
@@ -109,13 +109,13 @@ netcam_tolerant_check 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
+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
@@ -195,20 +195,20 @@ minimum_motion_frames 1
 # 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
@@ -279,7 +279,7 @@ ffmpeg_variable_bitrate 0
 # 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.
@@ -321,7 +321,7 @@ text_right %Y-%m-%d\n%T-%q
 # 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://nwww.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
@@ -356,7 +356,7 @@ text_double off
 
 # 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
@@ -397,7 +397,7 @@ timelapse_filename %Y%m%d-timelapse
 ############################################################
 
 # 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