vigil

Security camera system built on motion and yolov7.
Log | Files | Refs

motion.conf (1228B)


      1 # GENERAL
      2 daemon off
      3 target_dir ${MOTION_DIR}
      4 log_file ${MOTION_LOG_FILE}
      5 
      6 # IMAGE PROCESSING
      7 despeckle_filter EedDl
      8 framerate 24
      9 text_scale 2
     10 text_changes on
     11 text_left %$
     12 text_right %Y-%m-%d-T%H:%M:%S %q
     13 
     14 # MOTION DETECTION
     15 event_gap 1
     16 threshold 2000
     17 
     18 # MOVIES
     19 movie_output off
     20 movie_filename /video/%Y-%m-%dT%H:%M:%S-%v
     21 
     22 # PICTURES
     23 picture_output first
     24 picture_filename /photo/%Y-%m-%dT%H-%M-%S_%q
     25 
     26 # TIMELAPSE
     27 timelapse_interval 1
     28 timelapse_mode hourly
     29 timelapse_fps 60
     30 timelapse_codec mpg
     31 timelapse_filename /timelapse/%Y-%m-%d-%H-%M-%S
     32 
     33 # WEBCONTROL
     34 webcontrol_auth_method 2
     35 webcontrol_authentication ${MOTION_USER}:${MOTION_PASSWORD}
     36 webcontrol_port ${PORT_CONTROL}
     37 webcontrol_localhost off
     38 webcontrol_cert ${TLS_CERT}
     39 webcontrol_key ${TLS_KEY}
     40 webcontrol_parms 0
     41 webcontrol_tls on
     42 
     43 # LIVE STREAM
     44 stream_port ${PORT_STREAM}
     45 stream_localhost off
     46 stream_quality 25
     47 stream_motion on
     48 stream_maxrate 24
     49 stream_auth_method 2
     50 stream_authentication ${MOTION_USER}:${MOTION_PASSWORD}
     51 stream_preview_method 0
     52 stream_tls on
     53 
     54 # SCRIPTS
     55 on_motion_detected ${MOTION_DIR}/alert
     56 on_movie_end ${MOTION_DIR}/sync %f
     57 on_picture_save ${MOTION_DIR}/notify %f
     58 
     59 # CAMERA
     60 camera_name ${CAMERA_NAME}
     61 videodevice /dev/video0
     62 height 1080
     63 width 1920