Difference between revisions of "motion notes"
From Noah.org
Jump to navigationJump to searchm (Created page with 'Category:Engineering http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome == configuration == Edit '''/etc/motion/motion.conf'''. <pre> videodevice /dev/video1 width 1280…') |
m (→configuration) |
||
Line 32: | Line 32: | ||
#threshold 9216 | #threshold 9216 | ||
threshold 921 | threshold 921 | ||
+ | # jpeg quality | ||
+ | quality 95 | ||
+ | # Valid values: 0 (default = no rotation), 90, 180 and 270. | ||
+ | rotate 0 | ||
+ | </pre> | ||
+ | |||
+ | A different example: | ||
+ | <pre> | ||
+ | width 640 | ||
+ | height 480 | ||
+ | #movie_filename %Y%m%d%H%M%S-%v | ||
+ | #timelapse_filename %Y%m%d-timelapse | ||
+ | gap 3 | ||
+ | pre_capture 0 | ||
+ | post_capture 0 | ||
+ | text_right %Y-%m-%d\n%T-%q | ||
+ | jpeg_filename %Y%m%d%H%M%S-%v-%q | ||
+ | snapshot_filename %Y%m%d%H%M%S-snapshot | ||
+ | snapshot_interval 0 | ||
+ | #snapshot_interval 60 | ||
+ | framerate 1 | ||
+ | videodevice /dev/video1 | ||
+ | # Threshold for number of pixels that triggers motion detection (default: 1500) | ||
+ | # 10% is a massive change. | ||
+ | # 640*480=307200 | ||
+ | # 307200 * 0.05 = 15360 | ||
+ | threshold 15360 | ||
# jpeg quality | # jpeg quality | ||
quality 95 | quality 95 |
Revision as of 11:49, 20 December 2013
http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome
configuration
Edit /etc/motion/motion.conf.
videodevice /dev/video1 width 1280 height 960 #width 1920 #height 1080 #width 2304 #height 1296 movie_filename %Y%m%d%H%M%S-%v timelapse_filename %Y%m%d-timelapse gap 10 pre_capture 1 post_capture 1 text_right %Y-%m-%d\n%T-%q jpeg_filename %Y%m%d%H%M%S-%v-%q snapshot_filename %Y%m%d%H%M%S-snapshot snapshot_interval 1 #snapshot_interval 60 framerate 30 # Threshold for number of pixels that triggers motion detection (default: 1500) # 10% is a massive change. # 1280*720=921600 pixels # 92160 is 10% of 921600 pixels #threshold 92160 #threshold 9216 threshold 921 # jpeg quality quality 95 # Valid values: 0 (default = no rotation), 90, 180 and 270. rotate 0
A different example:
width 640 height 480 #movie_filename %Y%m%d%H%M%S-%v #timelapse_filename %Y%m%d-timelapse gap 3 pre_capture 0 post_capture 0 text_right %Y-%m-%d\n%T-%q jpeg_filename %Y%m%d%H%M%S-%v-%q snapshot_filename %Y%m%d%H%M%S-snapshot snapshot_interval 0 #snapshot_interval 60 framerate 1 videodevice /dev/video1 # Threshold for number of pixels that triggers motion detection (default: 1500) # 10% is a massive change. # 640*480=307200 # 307200 * 0.05 = 15360 threshold 15360 # jpeg quality quality 95 # Valid values: 0 (default = no rotation), 90, 180 and 270. rotate 0