motion config
This commit is contained in:
parent
092484bdcd
commit
56e7f63c3f
9
config/cam-front.conf
Normal file
9
config/cam-front.conf
Normal file
@ -0,0 +1,9 @@
|
||||
netcam_url rtsp://nas.lxc.br0tkasten.de:554/11
|
||||
netcam_keepalive on
|
||||
rtsp_uses_tcp on
|
||||
stream_port 8080
|
||||
|
||||
picture_filename front/%Y-%m-%d_%H-%M-%S_%v
|
||||
movie_filename front/%Y-%m-%d_%H-%M-%S_%v
|
||||
|
||||
on_picture_save /opt/sbin/mqtt front %f
|
8
config/cam-hamster.conf
Normal file
8
config/cam-hamster.conf
Normal file
@ -0,0 +1,8 @@
|
||||
netcam_url rtsp://192.168.1.223:554/onvif1
|
||||
rtsp_uses_tcp off
|
||||
stream_port 8081
|
||||
|
||||
picture_filename hamster/%Y-%m-%d_%H-%M-%S_%v
|
||||
movie_filename hamster/%Y-%m-%d_%H-%M-%S_%v
|
||||
|
||||
on_picture_save /opt/sbin/mqtt hamster %f
|
32
config/motion.conf
Normal file
32
config/motion.conf
Normal file
@ -0,0 +1,32 @@
|
||||
|
||||
n
|
||||
process_id_file /var/run/motion/motion.pid
|
||||
|
||||
width 640
|
||||
height 360
|
||||
|
||||
event_gap 30
|
||||
minimum_motion_frames 3
|
||||
threshold 9000
|
||||
threshold_tune on
|
||||
switchfilter on
|
||||
noise_tune on
|
||||
|
||||
locate_motion_style redbox
|
||||
|
||||
ffmpeg_output_movies on
|
||||
ffmpeg_video_codec webm
|
||||
ffmpeg_bps 1000000
|
||||
ffmpeg_variable_bitrate 100
|
||||
|
||||
stream_localhost off
|
||||
stream_motion on
|
||||
stream_quality 100
|
||||
webcontrol_localhost off
|
||||
|
||||
target_dir /var/www/localhost/htdocs
|
||||
|
||||
output_pictures best
|
||||
|
||||
thread /etc/motion/cam-front.conf
|
||||
thread /etc/motion/cam-hamster.conf
|
Loading…
x
Reference in New Issue
Block a user