add example config
This commit is contained in:
14
example_config/apache2/sites-available/motion.conf
Normal file
14
example_config/apache2/sites-available/motion.conf
Normal file
@@ -0,0 +1,14 @@
|
||||
<VirtualHost *:80>
|
||||
ServerName motion.unicon-gmbh.de
|
||||
DocumentRoot /z/motion/
|
||||
|
||||
<Directory "/z/motion/">
|
||||
Options Indexes FollowSymLinks
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/error.log
|
||||
CustomLog ${APACHE_LOG_DIR}/access.log combined
|
||||
|
||||
</VirtualHost>
|
||||
66
example_config/motion/AXISCompanionCubeL_1.conf
Normal file
66
example_config/motion/AXISCompanionCubeL_1.conf
Normal file
@@ -0,0 +1,66 @@
|
||||
setup_mode off
|
||||
|
||||
###########################################################
|
||||
# Capture device options
|
||||
############################################################
|
||||
video_params input=8 norm=0 frequency=0 brightness=0 contrast=0 saturation=0 hue=0
|
||||
|
||||
framerate 2
|
||||
width 2592
|
||||
height 1920
|
||||
auto_brightness off
|
||||
|
||||
netcam_url http://192.168.0.110/mjpg/1/video.mjpg?Axis-Orig-Sw=true
|
||||
netcam_userpass root:12345
|
||||
netcam_jpeg 1 # Force baseline JPEG
|
||||
;netcam_rtsp_detect off
|
||||
;netcam_http_override on
|
||||
|
||||
stream_port 0 # Disable streaming server
|
||||
stream_localhost off
|
||||
stream_jpeg_quality 85
|
||||
stream_ppi 0 # Disable DPI that confuses browsers
|
||||
|
||||
############################################################
|
||||
# Round Robin (multiple inputs on same video device name)
|
||||
#roundrobin_frames 1
|
||||
#roundrobin_skip 1
|
||||
#switchfilter off
|
||||
|
||||
############################################################
|
||||
# Motion Detection Settings:
|
||||
#threshold 35000
|
||||
threshold 30000
|
||||
threshold_tune off
|
||||
noise_level 32
|
||||
noise_tune off
|
||||
; despeckle EedDl
|
||||
; mask_file value
|
||||
smart_mask_speed 0
|
||||
lightswitch_percent 0
|
||||
minimum_motion_frames 1
|
||||
pre_capture 0
|
||||
post_capture 0
|
||||
#gap 0
|
||||
#max_mpeg_time 0
|
||||
#output_all off
|
||||
|
||||
#output_normal on
|
||||
#output_motion off
|
||||
picture_quality 40
|
||||
picture_output_motion off
|
||||
|
||||
text_right %d.%m.%Y\n%T-%q
|
||||
text_left Cam2
|
||||
text_scale 2
|
||||
|
||||
target_dir /z/motion/
|
||||
;jpeg_filename %Y-%m-%d/cam2/%H-%M-%S-%q%v
|
||||
picture_filename %Y-%m-%d/cam2/%H-%M-%S-%q%v
|
||||
|
||||
snapshot_interval 1
|
||||
#snapshot_filename live/cam2
|
||||
snapshot_filename live/cam2_%S
|
||||
|
||||
quiet on
|
||||
|
||||
66
example_config/motion/AXISCompanionCubeL_2.conf
Normal file
66
example_config/motion/AXISCompanionCubeL_2.conf
Normal file
@@ -0,0 +1,66 @@
|
||||
setup_mode off
|
||||
|
||||
###########################################################
|
||||
# Capture device options
|
||||
############################################################
|
||||
video_params input=8 norm=0 frequency=0 brightness=0 contrast=0 saturation=0 hue=0
|
||||
|
||||
framerate 2
|
||||
width 2592
|
||||
height 1920
|
||||
auto_brightness off
|
||||
|
||||
netcam_url http://192.168.0.117/mjpg/1/video.mjpg?Axis-Orig-Sw=true
|
||||
netcam_userpass root:12345
|
||||
netcam_jpeg 1 # Force baseline JPEG
|
||||
;netcam_rtsp_detect off
|
||||
;netcam_http_override on
|
||||
|
||||
stream_port 0 # Disable streaming server
|
||||
stream_localhost off
|
||||
stream_jpeg_quality 85
|
||||
stream_ppi 0 # Disable DPI that confuses browsers
|
||||
|
||||
############################################################
|
||||
# Round Robin (multiple inputs on same video device name)
|
||||
#roundrobin_frames 1
|
||||
#roundrobin_skip 1
|
||||
#switchfilter off
|
||||
|
||||
############################################################
|
||||
# Motion Detection Settings:
|
||||
#threshold 35000
|
||||
threshold 30000
|
||||
threshold_tune off
|
||||
noise_level 32
|
||||
noise_tune off
|
||||
; despeckle EedDl
|
||||
; mask_file value
|
||||
smart_mask_speed 0
|
||||
lightswitch_percent 0
|
||||
minimum_motion_frames 1
|
||||
pre_capture 0
|
||||
post_capture 0
|
||||
#gap 0
|
||||
#max_mpeg_time 0
|
||||
#output_all off
|
||||
|
||||
#output_normal on
|
||||
#output_motion off
|
||||
picture_quality 40
|
||||
picture_output_motion off
|
||||
|
||||
text_right %d.%m.%Y\n%T-%q
|
||||
text_left Cam3
|
||||
text_scale 2
|
||||
|
||||
target_dir /z/motion/
|
||||
;jpeg_filename %Y-%m-%d/cam2/%H-%M-%S-%q%v
|
||||
picture_filename %Y-%m-%d/cam3/%H-%M-%S-%q%v
|
||||
|
||||
snapshot_interval 1
|
||||
#snapshot_filename live/cam3
|
||||
snapshot_filename live/cam3_%S
|
||||
|
||||
quiet on
|
||||
|
||||
120
example_config/motion/motion.conf
Normal file
120
example_config/motion/motion.conf
Normal file
@@ -0,0 +1,120 @@
|
||||
; This config file was generated by @PACKAGE_NAME@ @PACKAGE_VERSION@
|
||||
; Documentation: @prefix@/share/doc/motion/motion_guide.html
|
||||
;
|
||||
; This file contains only the basic configuration options to get a
|
||||
; system working. There are many more options available. Please
|
||||
; consult the documentation for the complete list of all options.
|
||||
;
|
||||
|
||||
;*************************************************
|
||||
;***** System
|
||||
;*************************************************
|
||||
daemon on
|
||||
;log_file
|
||||
log_level 6
|
||||
log_type ALL
|
||||
shutdown_graceful_timeout 5
|
||||
|
||||
;*************************************************
|
||||
;***** Camera
|
||||
;*************************************************
|
||||
#device_name
|
||||
#device_id
|
||||
target_dir /z/motion/
|
||||
|
||||
;*************************************************
|
||||
;***** Source
|
||||
;*************************************************
|
||||
;v4l2_device /dev/video0
|
||||
;netcam_url http://192.168.0.123/cgi-bin/snapshot.cgi?stream=0
|
||||
netcam_toleranz 20
|
||||
|
||||
;*************************************************
|
||||
;***** Image
|
||||
;*************************************************
|
||||
width 640
|
||||
height 480
|
||||
framerate 15
|
||||
|
||||
;*************************************************
|
||||
;***** Overlays
|
||||
;*************************************************
|
||||
text_right %Y-%m-%d\n%T
|
||||
|
||||
;*************************************************
|
||||
;***** Method
|
||||
;*************************************************
|
||||
emulate_motion off
|
||||
threshold 1500
|
||||
|
||||
;*************************************************
|
||||
;***** Masks
|
||||
;*************************************************
|
||||
noise_level 32
|
||||
despeckle_filter EedDl
|
||||
|
||||
;*************************************************
|
||||
;***** Detection
|
||||
;*************************************************
|
||||
minimum_motion_frames 1
|
||||
event_gap 60
|
||||
pre_capture 3
|
||||
post_capture 10
|
||||
|
||||
;*************************************************
|
||||
;***** Scripts
|
||||
;*************************************************
|
||||
on_event_start
|
||||
on_event_end
|
||||
|
||||
;*************************************************
|
||||
;***** Picture
|
||||
;*************************************************
|
||||
picture_output on
|
||||
;picture_filename %v-%Y%m%d%H%M%S-%q
|
||||
|
||||
;*************************************************
|
||||
;***** Movie
|
||||
;*************************************************
|
||||
movie_output off
|
||||
movie_max_time 120
|
||||
movie_quality 60
|
||||
movie_codec mkv
|
||||
movie_filename %v-%{movienbr}-%Y%m%d%H%M%S
|
||||
|
||||
;*************************************************
|
||||
;***** Web Control
|
||||
;*************************************************
|
||||
webcontrol_port 8080
|
||||
webcontrol_localhost on
|
||||
webcontrol_parms 2
|
||||
|
||||
;*************************************************
|
||||
;***** Web Stream
|
||||
;*************************************************
|
||||
stream_preview_scale 100
|
||||
stream_preview_method combined
|
||||
|
||||
;*************************************************
|
||||
;***** Database
|
||||
;*************************************************
|
||||
database_type sqlite3
|
||||
database_dbname /z/motion/motion.db
|
||||
database_host localhost
|
||||
database_port 0
|
||||
database_user
|
||||
database_password
|
||||
database_busy_timeout 0
|
||||
|
||||
;*************************************************
|
||||
; Device config files - One for each device.
|
||||
;*************************************************
|
||||
#camera /etc/motion/5MPix.conf
|
||||
camera /etc/motion/AXISCompanionCubeL_1.conf
|
||||
camera /etc/motion/AXISCompanionCubeL_2.conf
|
||||
|
||||
;*************************************************
|
||||
; Directory to read '.conf' files for devices.
|
||||
;*************************************************
|
||||
; config_dir @localstatedir@/lib/@PACKAGE_NAME@/conf.d
|
||||
|
||||
Reference in New Issue
Block a user