wok-current annotate motion/stuff/motion-4.4.0.conf @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (6 months ago)
parents
children
rev   line source
Hans-G?nter@25432 1 # This distribution example file is renamed to /etc/motion/motion.conf
Hans-G?nter@25432 2 # and modified for SliTaz.
Hans-G?nter@25432 3 #
Hans-G?nter@25432 4 # This config file was generated by motion 4.4.0
Hans-G?nter@25432 5 # Documentation: /usr/share/doc/motion/motion_guide.html
Hans-G?nter@25432 6 #
Hans-G?nter@25432 7 # This file contains only the basic configuration options to get a
Hans-G?nter@25432 8 # system working. There are many more options available. Please
Hans-G?nter@25432 9 # consult the documentation for the complete list of all options.
Hans-G?nter@25432 10 #
Hans-G?nter@25432 11
Hans-G?nter@25432 12 ############################################################
Hans-G?nter@25432 13 # System control configuration parameters
Hans-G?nter@25432 14 ############################################################
Hans-G?nter@25432 15
Hans-G?nter@25432 16 # Start in daemon (background) mode and release terminal.
Hans-G?nter@25432 17 daemon on
Hans-G?nter@25432 18
Hans-G?nter@25432 19 # Start in Setup-Mode, daemon disabled.
Hans-G?nter@25432 20 setup_mode off
Hans-G?nter@25432 21
Hans-G?nter@25432 22 # File to store the process ID.
Hans-G?nter@25432 23 pid_file /run/motion/motion.pid
Hans-G?nter@25432 24
Hans-G?nter@25432 25 # File to write logs messages into. If not defined stderr and syslog is used.
Hans-G?nter@25432 26 ; log_file value
Hans-G?nter@25432 27
Hans-G?nter@25432 28 # Level of log messages [1..9] (EMG, ALR, CRT, ERR, WRN, NTC, INF, DBG, ALL).
Hans-G?nter@25432 29 log_level 6
Hans-G?nter@25432 30
Hans-G?nter@25432 31 # Target directory for pictures, snapshots and movies
Hans-G?nter@25432 32 target_dir /var/lib/motion/cam1
Hans-G?nter@25432 33
Hans-G?nter@25432 34 # Video device (e.g. /dev/video0) to be used for capturing.
Hans-G?nter@25432 35 video_device /dev/video0
Hans-G?nter@25432 36
Hans-G?nter@25432 37 # Parameters to control video device. See motion_guide.html
Hans-G?nter@25432 38 ; vid_control_params value
Hans-G?nter@25432 39
Hans-G?nter@25432 40 # The full URL of the network camera stream.
Hans-G?nter@25432 41 ; netcam_url value
Hans-G?nter@25432 42
Hans-G?nter@25432 43 # Name of mmal camera (e.g. vc.ril.camera for pi camera).
Hans-G?nter@25432 44 ; mmalcam_name value
Hans-G?nter@25432 45
Hans-G?nter@25432 46 # Camera control parameters (see raspivid/raspistill tool documentation)
Hans-G?nter@25432 47 ; mmalcam_control_params value
Hans-G?nter@25432 48
Hans-G?nter@25432 49 ############################################################
Hans-G?nter@25432 50 # Image Processing configuration parameters
Hans-G?nter@25432 51 ############################################################
Hans-G?nter@25432 52
Hans-G?nter@25432 53 # Image width in pixels.
Hans-G?nter@25432 54 # width 640 replaced by
Hans-G?nter@25432 55 width 320
Hans-G?nter@25432 56
Hans-G?nter@25432 57 # Image height in pixels.
Hans-G?nter@25432 58 # height 480 replaced by
Hans-G?nter@25432 59 height 240
Hans-G?nter@25432 60
Hans-G?nter@25432 61 # Maximum number of frames to be captured per second.
Hans-G?nter@25432 62 # framerate 15 replaced by
Hans-G?nter@25432 63 framerate 2
Hans-G?nter@25432 64
Hans-G?nter@25432 65 # Text to be overlayed in the lower left corner of images
Hans-G?nter@25432 66 ; text_left CAMERA1
Hans-G?nter@25432 67
Hans-G?nter@25432 68 # Text to be overlayed in the lower right corner of images.
Hans-G?nter@25432 69 text_right %Y-%m-%d\n%T-%q
Hans-G?nter@25432 70
Hans-G?nter@25432 71 ############################################################
Hans-G?nter@25432 72 # Motion detection configuration parameters
Hans-G?nter@25432 73 ############################################################
Hans-G?nter@25432 74
Hans-G?nter@25432 75 # Always save pictures and movies even if there was no motion.
Hans-G?nter@25432 76 emulate_motion off
Hans-G?nter@25432 77
Hans-G?nter@25432 78 # Threshold for number of changed pixels that triggers motion.
Hans-G?nter@25432 79 threshold 1500
Hans-G?nter@25432 80
Hans-G?nter@25432 81 # Noise threshold for the motion detection.
Hans-G?nter@25432 82 noise_level 32
Hans-G?nter@25432 83
Hans-G?nter@25432 84 # Despeckle the image using (E/e)rode or (D/d)ilate or (l)abel.
Hans-G?nter@25432 85 despeckle_filter EedDl
Hans-G?nter@25432 86
Hans-G?nter@25432 87 # Number of images that must contain motion to trigger an event.
Hans-G?nter@25432 88 minimum_motion_frames 1
Hans-G?nter@25432 89
Hans-G?nter@25432 90 # Gap in seconds of no motion detected that triggers the end of an event.
Hans-G?nter@25432 91 event_gap 60
Hans-G?nter@25432 92
Hans-G?nter@25432 93 # The number of pre-captured (buffered) pictures from before motion.
Hans-G?nter@25432 94 # pre_capture 3 replaced by
Hans-G?nter@25432 95 pre_capture 0
Hans-G?nter@25432 96
Hans-G?nter@25432 97 # Number of frames to capture after motion is no longer detected.
Hans-G?nter@25432 98 post_capture 0
Hans-G?nter@25432 99
Hans-G?nter@25432 100 ############################################################
Hans-G?nter@25432 101 # Script execution configuration parameters
Hans-G?nter@25432 102 ############################################################
Hans-G?nter@25432 103
Hans-G?nter@25432 104 # Command to be executed when an event starts.
Hans-G?nter@25432 105 ; on_event_start value
Hans-G?nter@25432 106
Hans-G?nter@25432 107 # Command to be executed when an event ends.
Hans-G?nter@25432 108 ; on_event_end value
Hans-G?nter@25432 109
Hans-G?nter@25432 110 # Command to be executed when a movie file is closed.
Hans-G?nter@25432 111 ; on_movie_end value
Hans-G?nter@25432 112
Hans-G?nter@25432 113 ############################################################
Hans-G?nter@25432 114 # Picture output configuration parameters
Hans-G?nter@25432 115 ############################################################
Hans-G?nter@25432 116
Hans-G?nter@25432 117 # Output pictures when motion is detected
Hans-G?nter@25432 118 picture_output off
Hans-G?nter@25432 119
Hans-G?nter@25432 120 # File name(without extension) for pictures relative to target directory
Hans-G?nter@25432 121 picture_filename %Y%m%d%H%M%S-%q
Hans-G?nter@25432 122
Hans-G?nter@25432 123 ############################################################
Hans-G?nter@25432 124 # Movie output configuration parameters
Hans-G?nter@25432 125 ############################################################
Hans-G?nter@25432 126
Hans-G?nter@25432 127 # Create movies of motion events.
Hans-G?nter@25432 128 movie_output on
Hans-G?nter@25432 129
Hans-G?nter@25432 130 # Maximum length of movie in seconds.
Hans-G?nter@25432 131 # movie_max_time 60 replaced by
Hans-G?nter@25432 132 movie_max_time 0
Hans-G?nter@25432 133
Hans-G?nter@25432 134 # The encoding quality of the movie. (0=use bitrate. 1=worst quality, 100=best)
Hans-G?nter@25432 135 # movie_quality 45 replaced by
Hans-G?nter@25432 136 movie_quality 75
Hans-G?nter@25432 137
Hans-G?nter@25432 138 # Container/Codec to used for the movie. See motion_guide.html
Hans-G?nter@25432 139 movie_codec mkv
Hans-G?nter@25432 140
Hans-G?nter@25432 141 # File name(without extension) for movies relative to target directory
Hans-G?nter@25432 142 movie_filename %t-%v-%Y%m%d%H%M%S
Hans-G?nter@25432 143
Hans-G?nter@25432 144 ############################################################
Hans-G?nter@25432 145 # Webcontrol configuration parameters
Hans-G?nter@25432 146 ############################################################
Hans-G?nter@25432 147
Hans-G?nter@25432 148 # Port number used for the webcontrol.
Hans-G?nter@25432 149 webcontrol_port 8080
Hans-G?nter@25432 150
Hans-G?nter@25432 151 # Restrict webcontrol connections to the localhost.
Hans-G?nter@25432 152 webcontrol_localhost on
Hans-G?nter@25432 153
Hans-G?nter@25432 154 # Type of configuration options to allow via the webcontrol.
Hans-G?nter@25432 155 webcontrol_parms 0
Hans-G?nter@25432 156
Hans-G?nter@25432 157 ############################################################
Hans-G?nter@25432 158 # Live stream configuration parameters
Hans-G?nter@25432 159 ############################################################
Hans-G?nter@25432 160
Hans-G?nter@25432 161 # The port number for the live stream.
Hans-G?nter@25432 162 stream_port 8081
Hans-G?nter@25432 163
Hans-G?nter@25432 164 # Restrict stream connections to the localhost.
Hans-G?nter@25432 165 stream_localhost on
Hans-G?nter@25432 166
Hans-G?nter@25432 167 ##############################################################
Hans-G?nter@25432 168 # Camera config files - One for each camera.
Hans-G?nter@25432 169 ##############################################################
Hans-G?nter@25432 170 ; camera /etc/motion/camera1.conf
Hans-G?nter@25432 171 ; camera /etc/motion/camera2.conf
Hans-G?nter@25432 172 ; camera /etc/motion/camera3.conf
Hans-G?nter@25432 173 ; camera /etc/motion/camera4.conf
Hans-G?nter@25432 174
Hans-G?nter@25432 175 ##############################################################
Hans-G?nter@25432 176 # Directory to read '.conf' files for cameras.
Hans-G?nter@25432 177 ##############################################################
Hans-G?nter@25432 178 ; camera_dir /etc/motion/conf.d