[root@centos ~]# cp /usr/local/etc/motion/motion-dist.conf /usr/local/etc/motion/motion.confソス@ソスソスソス@Motionソスン抵ソスtソス@ソスCソスソスソスソスソスTソスソスソスvソスソスソスソスソスRソスsソス[ソスソスソスト作成
[root@centos ~]# vi /usr/local/etc/motion/motion.confソス@ソスソスソス@Motionソスン抵ソスtソス@ソスCソスソスソスメ集
# Start in daemon (background) mode and release terminal (default: off)
daemon onソス@ソスソスソス@ソス駐ソスソスソス[ソスhソスノゑソスソスソス
# The video norm to use (only for video capture and TV tuner cards)
# Values: 0 (PAL), 1 (NTSC), 2 (SECAM), 3 (PAL NC no colour). Default: 0 (PAL)
norm 1ソス@ソスソスソス@ソスfソスソスソスKソスiソスソス1(NTSC)ソスノゑソスソスソス
# Draw the number of changed pixed on the images (default: off)
# Will normally be set to off except when you setup and adjust the motion settings
# Text is placed in upper right corner
text_changes onソス@ソスソスソス@ソスソスソスソスフ右ソスソスノ変更ソスsソスNソスZソスソスソスソスソスソスソスソスソスソスソスソスソスソスソスソスソス{ソスIソスvソスVソスソスソスソスソスソスonソスノゑソスソスソスソスソスヤの難ソスソスフ鯉ソスソスmソスソスソスハゑソスソスAソスソスソスmソスソスソスト欲ソスソスソスソスソスナ擾ソスソスlソスソスソスソスqソスソスソス體ョソスフ鯉ソスソスm閾値(thresholdソスIソスvソスVソスソスソスソス)ソスノ指ソス閧キソスソス
# Threshold for number of changed pixels in an image that
# triggers motion detection (default: 1500)
threshold 1500ソス@ソスソスソス@ソスソスソスフ鯉ソスソスm閾値ソスソスソスwソスソスソスソスtext_changesソスIソスvソスVソスソスソスソスソスナ抵ソスソスソスソスソスソスソス
# Output 'normal' pictures when motion is detected (default: off)
# Valid values: on, off, first, best, center
# When set to 'first', only the first picture of an event is saved.
# Picture with most motion of an event is saved when set to 'best'.
# Picture with motion nearest center of picture is saved when set to 'center'.
# Can be used as preview shot for the corresponding movie.
output_pictures offソス@ソスソスソス@ソスハ真ソスヘ保托ソスソスソスソスネゑソス
# Draws the timestamp using same options as C function strftime(3)
# Default: %Y-%m-%d\n%T = date in ISO format and time in 24 hour clock
# Text is placed in lower right corner
text_right %Y-%m-%d\n%Tソス@ソスソスソス@ソスソスソスソスフ右ソスソスソスソスYYYY-MM-DD\nhh:mm:ssソスフ形ソスソスソスナ撮ソスeソスソスソスソスソスソスソスソスソスソスソスソスソスソス
# Draw a user defined text on the images using same options as C function strftime(3)
# Default: Not defined = no text
# Text is placed in lower left corner
text_left CAMERA %tソス@ソスソスソス@ソスソスソスソスフ搾ソスソスソスソスソスCAMERA xソスフ形ソスソスソスナカソスソスソスソスソスヤ搾ソスソスソスソスソスソスソスソスソスソスソス
# Target base directory for pictures and films
# Recommended to use absolute path. (Default: current working directory)
#target_dir /tmp/motion
target_dir /var/motionソス@ソスソスソス@ソスソスソスソスロ托ソスソスソスfソスBソスソスソスNソスgソスソスソスソスソスwソスソス
# File path for motion triggered ffmpeg films (movies) relative to target_dir
# Default: %v-%Y%m%d%H%M%S
# File extensions(.mpg .avi) are automatically added so do not include them
movie_filename CAMERA%t_%Y%m%d%H%M%Sソス@ソスソスソス@ソスソスソスソスロ托ソスソスtソス@ソスCソスソスソスソスソスソスCAMERAx_YYYYMMDDHHMMSS.aviソスフようソスネ形ソスソスソスノゑソスソスソス
# Restrict stream connections to localhost only (default: on)
stream_localhost offソス@ソスソスソス@ソスJソスソスソスソスソスfソスソスソスソスソスソスソスzソスXソスgソスネ外ソスノゑソスソスzソスM
# Restrict control connections to localhost only (default: on)
webcontrol_localhost offソス@ソスソスソス@WebソスCソスソスソス^ソスtソスFソス[ソスXソスナの撰ソスソスソスソスソスソスソスzソスXソスgソスネ外ソスノゑソスソスソスソスソス
# Command to be executed when a movie file (.mpg|.avi) is created. (default: none)
# To give the filename as an argument to a command append it with %f
on_movie_start /usr/local/bin/motion_notify.sh %f %tソス@ソスソスソス@ソスソスソスソスBソスeソスJソスnソスソスソスノ難ソスソスフ鯉ソスソスmソスハ知ソスXソスNソスソスソスvソスgソスソスソスNソスソスソスソスソスXソスNソスソスソスvソスgソス成ソスヘ鯉ソスq
##############################################################
# Camera config directory
# Any files ending in '.conf' in this directory will be read
# as a camera config file.
##############################################################
camera_dir /usr/local/etc/motion/conf.dソス@ソスソスソス@ソスJソスソスソスソスソスソスソスニ設抵ソスtソス@ソスCソスソスソスiソス[ソスソスfソスBソスソスソスNソスgソスソスソスソスソスwソスソス
[root@centos ~]# mkdir /var/motionソス@ソスソスソス@ソスソスソスソスロ托ソスソスソスfソスBソスソスソスNソスgソスソスソス成
[root@centos ~]# mkdir /usr/local/etc/motion/conf.dソス@ソスソスソス@ソスJソスソスソスソスソスソスソスニ設抵ソスtソス@ソスCソスソスソスiソス[ソスソスfソスBソスソスソスNソスgソスソスソス成
|
|