#------------------------------------------------------------------ # /var/motion/motion.conf file generated by motion.sh v # # Do not edit this file, edit /etc/config.d/motion.sh # Creation Date: 2007-09-06 Time: 19:20:09 #------------------------------------------------------------------ #------------------------------------------------------------------ # Daemon #------------------------------------------------------------------ daemon on process_id_file /var/run/motion.pid setup_mode off #------------------------------------------------------------------ # Capture device options #------------------------------------------------------------------ norm 0 frequency 0 rotate 0 width 320 height 240 framerate 5 minimum_frame_time 0 auto_brightness on brightness 0 contrast 0 saturation 0 hue 0 #------------------------------------------------------------------ # Round robin (multiple inputs on same video device name) #------------------------------------------------------------------ roundrobin_frames 1 roundrobin_skip 1 switchfilter off #------------------------------------------------------------------ # Motion detection settings #------------------------------------------------------------------ threshold 1500 threshold_tune off noise_level 32 noise_tune on night_compensate off despeckle EedDl smart_mask_speed 0 lightswitch 0 minimum_motion_frames 1 pre_capture 0 post_capture 0 gap 60 max_mpeg_time 0 low_cpu 0 output_all off #------------------------------------------------------------------ # Image file output #------------------------------------------------------------------ output_normal on output_motion off quality 75 ppm off #------------------------------------------------------------------ # FFMPEG related options #------------------------------------------------------------------ ffmpeg_cap_new on ffmpeg_cap_motion off ffmpeg_timelapse 0 ffmpeg_timelapse_mode daily ffmpeg_bps 500000 ffmpeg_variable_bitrate 0 ffmpeg_video_codec mpeg4 ffmpeg_deinterlace off #------------------------------------------------------------------ # Snapshots (traditional periodic webcam file output) #------------------------------------------------------------------ snapshot_interval 0 locate no #------------------------------------------------------------------ # Text Display #------------------------------------------------------------------ text_right %Y-%m-%d\n%T-%q text_left CAMERA %t text_changes off text_event %Y%m%d%H%M%S text_double off #------------------------------------------------------------------ # Target Directories and filenames For Images And Films #------------------------------------------------------------------ snapshot_filename %Y/%m/%d/%H/%M/%S-snapshot jpeg_filename %Y/%m/%d/%H/%M/%S-%q movie_filename %Y/%m/%d/%H%M%S timelapse_filename %Y/%m/%d-timelapse #------------------------------------------------------------------ # Live webcam server #------------------------------------------------------------------ webcam_port 8081 webcam_quality 50 webcam_motion off webcam_maxrate 1 webcam_localhost off webcam_limit 0 #------------------------------------------------------------------ # HTTP based control #------------------------------------------------------------------ control_port 8080 control_localhost off control_html_output on control_authentication admin:8-DyUfjH #------------------------------------------------------------------ # Tracking (Pan/Tilt) #------------------------------------------------------------------ track_type 0 track_auto off track_motorx -1 track_motory -1 track_maxx 0 track_maxy 0 track_iomojo_id 0 track_step_angle_x 10 track_step_angle_y 10 track_move_wait 10 track_speed 255 track_stepsize 40 #------------------------------------------------------------------ # External Commands, Warnings and Logging: #------------------------------------------------------------------ quiet on #------------------------------------------------------------------ # Thread config files - One for each camera. # Except if only one camera - You only need this config file. # If you have more than one camera you MUST define one thread # config file for each camera in addition to this config file. #------------------------------------------------------------------ thread /var/motion/motion-thread1.conf