#------------------------------------------------------------------------------ # /etc/config.d/motion - configuration file for motion # # Creation : 2007-09-02 jed # Last Update: 2008-01-22 root # # Copyright (c) 2001-2008 the eisfair team, c/o Frank Meyer, frank(at)eisfair(dot)org # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #------------------------------------------------------------------------------ #------------------------------------------------------------------------------ # general settings #------------------------------------------------------------------------------ START_MOTION='yes' # enable motion program: yes or no MOTION_SETUPMODE_ENABLED='no' # enable setup mode: yes or no MOTION_COMMAND_PRESTART='' # optional pre-start command MOTION_COMMAND_POSTSTART='' # optional post-start command #------------------------------------------------------------------------------ # video kernel modules #------------------------------------------------------------------------------ MOTION_MODULES_N='3' # number of kernel modules to load MOTION_MODULES_1_ACTIVE='yes' # 1. active: yes or no MOTION_MODULES_1_NAME='videodev' # name of kernel module MOTION_MODULES_1_OPTIONS='' # optional module parameters MOTION_MODULES_2_ACTIVE='yes' # 2. active: yes or no MOTION_MODULES_2_NAME='pwc' # name of kernel module MOTION_MODULES_2_OPTIONS='fps=5' # optional module parameters MOTION_MODULES_3_ACTIVE='yes' # 3. active: yes or no MOTION_MODULES_3_NAME='pwcx' # name of kernel module MOTION_MODULES_3_OPTIONS='' # optional module parameters #------------------------------------------------------------------------------ # control web interface #------------------------------------------------------------------------------ MOTION_CONTROL_PORT='8080' # tcp-port of web control interface MOTION_CONTROL_USER='admin' # username MOTION_CONTROL_PASS='frauwauzi' # password #------------------------------------------------------------------------------ # default: video settings #------------------------------------------------------------------------------ MOTION_DEF_VIDEO_FREQ='0' # TV tuner frequency (kHz) MOTION_DEF_VIDEO_ROTATE='0' # rotate image this number of degrees MOTION_DEF_VIDEO_WIDTH='320' # camera dependent image width (pixels) MOTION_DEF_VIDEO_HEIGHT='240' # camera dependent image height (pixels) MOTION_DEF_VIDEO_FRAMERATE='5' # frames to be captured per second MOTION_DEF_VIDEO_FRAMETIME='0' # time between capturing pictures (sec) MOTION_DEF_VIDEO_BRIGHTNESS='auto:0' # brightness of a video device, see doc! MOTION_DEF_VIDEO_CONTRAST='0' # contrast of a video device MOTION_DEF_VIDEO_SATURATION='0' # saturation of a video device #------------------------------------------------------------------------------ # default: motion detection settings #------------------------------------------------------------------------------ MOTION_DEF_MOTION_TRIGGER='1500' # number of changed pixels in an image # that triggers motion detection MOTION_DEF_MOTION_TRIGGER_TUNE='no' # automatically tune threshold down MOTION_DEF_MOTION_NOISE_LEVEL='32' # noise threshold for motion detection MOTION_DEF_MOTION_NOISE_TUNE='yes' # automatically tune noise threshold MOTION_DEF_MOTION_NIGHT_COMP='no' # automatically adjust detection/noise # level for very dark frames MOTION_DEF_MOTION_LIGHTSWITCH='0' # ignore sudden massive light intensity # changes MOTION_DEF_MOTION_FRAMES='1' # number of frames to detect motion MOTION_DEF_MOTION_PRECAPTURE='0' # number of frames to capture before # motion MOTION_DEF_MOTION_POSTCAPTURE='0' # number of frames to capture after # motion MOTION_DEF_MOTION_ENDGAP='60' # end of motion gap before event trigger MOTION_DEF_MOTION_LOCATE='no' # locate/draw a box around the moving # object #------------------------------------------------------------------------------ # default: mask settings #------------------------------------------------------------------------------ MOTION_DEF_MASK_FILE='' # PGM file to use as a sensitivity mask MOTION_DEF_MASK_SPEED='0' # dynamically create a mask file #------------------------------------------------------------------------------ # default: capture settings #------------------------------------------------------------------------------ MOTION_DEF_DESCRIPTION='CAMERA %t' # default camera description MOTION_DEF_CAPTURE_LENGTH='0' # maximum length of an mpeg movie (sec) MOTION_DEF_CAPTURE_NOMOTION='0' # number of frames to capture when not # detecting motion MOTION_DEF_CAPTURE_ALL='no' # always save images even if no motion MOTION_DEF_CAPTURE_SNAPSHOT='0' # create snapshot each n seconds MOTION_DEF_CAPTURE_TIMELAPS='0' # create timelaps movie saving a frame # each n seconds MOTION_DEF_CAPTURE_QUALITY='75' # jpeg image quality MOTION_DEF_WEBCAM_PORT='8081' # tcp-port of webcam interface MOTION_DEF_WEBCAM_MOTION='no' # output 1 fps when no motion is detected MOTION_DEF_WEBCAM_FRAMERATE='1' # maximum framerate for webcam streams #------------------------------------------------------------------------------ # default: event settings #------------------------------------------------------------------------------ MOTION_DEF_ON_EVENTSTART='' # execute command when an event starts MOTION_DEF_ON_EVENTEND='' # execute command when an event ends MOTION_DEF_ON_PICTURESAVE='' # execute command when a picture is saved MOTION_DEF_ON_MOTIONDETECT='' # execute command when motion is detected MOTION_DEF_ON_MOVIESTART='' # execute command when a movie file is # created MOTION_DEF_ON_MOVIEEND='' # execute command when a movie file is # closed #------------------------------------------------------------------------------ # device specific: general settings #------------------------------------------------------------------------------ MOTION_N='1' # number of video devices MOTION_1_ACTIVE='yes' # 1. activate configuration: yes or no MOTION_1_DESCRIPTION='www.lauda-koenigshofen.com' # description #------------------------------------------------------------------------------ # device specific: netcam settings #------------------------------------------------------------------------------ MOTION_1_VIDEO_DEVICE='/dev/video' # device used for capturing MOTION_1_VIDEO_INPUT='8' # video input to be used MOTION_1_NETCAM_URL='' # URL to use for network camera MOTION_1_NETCAM_USER='' # username for network camera MOTION_1_NETCAM_PASS='' # password for network camera #------------------------------------------------------------------------------ # device specific: video settings #------------------------------------------------------------------------------ MOTION_1_VIDEO_ROTATE='0' # rotate image this number of degrees MOTION_1_VIDEO_WIDTH='640' # camera dependent image width # (pixels) MOTION_1_VIDEO_HEIGHT='480' # camera dependent image height # (pixels) MOTION_1_VIDEO_BRIGHTNESS='118' # brightness of a video device, see # doc! MOTION_1_VIDEO_CONTRAST='128' # contrast of a video device MOTION_1_VIDEO_SATURATION='85' # saturation of a video device #------------------------------------------------------------------------------ # default: motion detection settings #------------------------------------------------------------------------------ MOTION_1_MOTION_NIGHT_COMP='no' # automatically adjust detection/noise # level for very dark frames #------------------------------------------------------------------------------ # default: capture settings #------------------------------------------------------------------------------ MOTION_1_CAPTURE_NOMOTION='1' # number of frames to capture when not # detecting motion MOTION_1_CAPTURE_SNAPSHOT='15' # create snapshot each n seconds MOTION_1_CAPTURE_QUALITY='85' # jpeg image quality MOTION_1_WEBCAM_PORT='9090' # tcp-port of webcam interface #------------------------------------------------------------------------------ # end #------------------------------------------------------------------------------