summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjonas <jonas@8f53b18a-e215-0410-8885-9f593d34873e>2006-06-10 22:03:17 +0000
committerjonas <jonas@8f53b18a-e215-0410-8885-9f593d34873e>2006-06-10 22:03:17 +0000
commit8b791f7b32f7bd52ab35fc5cd3c8caaaac70bfe0 (patch)
tree29fff1de9b0a3785ad5d7c55527f8c3726ec683a
parent833c9ef2ea7f4fa2fd4b19e2cc90ec85e5fb9313 (diff)
Add motion configuration.
git-svn-id: svn+ssh://xayide/home/jonas/private_svn/fleshybrid/trunk@14 8f53b18a-e215-0410-8885-9f593d34873e
-rw-r--r--addons/x11phonehome/etc/motion/motion.conf76
-rw-r--r--addons/x11phonehome/etc/motion/motion.conf.orig52
-rw-r--r--addons/x11phonehome/etc/motion/motionref.pgmbin0 -> 307260 bytes
3 files changed, 128 insertions, 0 deletions
diff --git a/addons/x11phonehome/etc/motion/motion.conf b/addons/x11phonehome/etc/motion/motion.conf
new file mode 100644
index 0000000..ce2566a
--- /dev/null
+++ b/addons/x11phonehome/etc/motion/motion.conf
@@ -0,0 +1,76 @@
+# Minimal motion example config file provided by the
+# Debian motion package - for basic webcam operation.
+#
+# You most certainly want to investigate
+# /usr/share/doc/motion/examples/motion-dist.conf.gz
+# for further configuration options. Also, refer to the
+# motion man page and /usr/share/doc/motion/motion_guide.html
+# for detailed information on configuration options.
+
+daemon off
+quiet off
+
+# You may very well need to change this (check with 'dmesg'
+# after plugging in your webcam)
+videodevice /dev/video0
+
+# Image size in pixels (valid range is camera dependent)
+width 640#320
+height 480#240
+
+framerate 25
+quality 95
+auto_brightness off
+
+# Initial brightness, contrast, hue (NTSC), and saturation
+# 0 = disabled (valid range 0-255)
+brightness 120
+contrast 120
+saturation 0
+hue 0
+
+# Encode movies in real-time (install ffmpeg before enabling)
+ffmpeg_cap_new off
+
+# Codec to be used by ffmpeg for the video compression.
+# Supported formats: mpeg4, msmpeg4.
+ffmpeg_video_codec msmpeg4
+
+# Target base directory for pictures and films
+# You should probably change this (create dir beforehand)
+target_dir /dev/null
+
+# Define a port number (e.g. 8000) to enable the mini-http server
+# 0 = disabled
+webcam_port 0
+
+# Set to 'off' to allow anybody (not just localhost) to view the
+# webcam via the mini-http server (http://hostname:port)
+webcam_localhost on
+
+webcam_quality 75
+webcam_maxrate 30
+
+threshold 2500
+
+# Picture frames must contain motion at least the specified number of frames
+# in a row before they are detected as true motion. At the default of 1, all
+# motion is detected. Valid range: 1 to thousands, recommended 1-10
+minimum_motion_frames 1
+
+# Noise threshold for the motion detection (default: 32)
+noise_level 64
+
+# Automatically tune the noise threshold (default: on)
+noise_tune off
+
+# Ignore sudden massive light intensity changes given as a percentage of the picture
+# area that changed intensity. Valid range: 0 - 100 , default: 0 = disabled
+lightswitch 0
+
+#maske fil
+mask_file /etc/motion/motionref.pgm
+
+#switchfilter on
+#on_event_start simpleopal -lanVIX h323:192.168.3.231
+on_motion_detected simpleopal -lanVIX h323:80.162.179.151
diff --git a/addons/x11phonehome/etc/motion/motion.conf.orig b/addons/x11phonehome/etc/motion/motion.conf.orig
new file mode 100644
index 0000000..592bc61
--- /dev/null
+++ b/addons/x11phonehome/etc/motion/motion.conf.orig
@@ -0,0 +1,52 @@
+# Minimal motion example config file provided by the
+# Debian motion package - for basic webcam operation.
+#
+# You most certainly want to investigate
+# /usr/share/doc/motion/examples/motion-dist.conf.gz
+# for further configuration options. Also, refer to the
+# motion man page and /usr/share/doc/motion/motion_guide.html
+# for detailed information on configuration options.
+
+daemon off
+quiet on
+
+# You may very well need to change this (check with 'dmesg'
+# after plugging in your webcam)
+videodevice /dev/video0
+
+# Image size in pixels (valid range is camera dependent)
+width 320
+height 240
+
+framerate 25
+quality 85
+auto_brightness off
+
+# Initial brightness, contrast, hue (NTSC), and saturation
+# 0 = disabled (valid range 0-255)
+brightness 0
+contrast 0
+saturation 0
+hue 0
+
+# Encode movies in real-time (install ffmpeg before enabling)
+ffmpeg_cap_new off
+
+# Codec to be used by ffmpeg for the video compression.
+# Supported formats: mpeg4, msmpeg4.
+ffmpeg_video_codec msmpeg4
+
+# Target base directory for pictures and films
+# You should probably change this (create dir beforehand)
+target_dir /tmp
+
+# Define a port number (e.g. 8000) to enable the mini-http server
+# 0 = disabled
+webcam_port 0
+
+# Set to 'off' to allow anybody (not just localhost) to view the
+# webcam via the mini-http server (http://hostname:port)
+webcam_localhost on
+
+webcam_quality 50
+webcam_maxrate 8
diff --git a/addons/x11phonehome/etc/motion/motionref.pgm b/addons/x11phonehome/etc/motion/motionref.pgm
new file mode 100644
index 0000000..5dce8a9
--- /dev/null
+++ b/addons/x11phonehome/etc/motion/motionref.pgm
Binary files differ