summaryrefslogtreecommitdiff
path: root/addons/x11phonehome/etc/motion/motion.conf
blob: ce2566ad153ebbe4c4a1f58baccbf2f3e28fc3b4 (plain)
  1. # Minimal motion example config file provided by the
  2. # Debian motion package - for basic webcam operation.
  3. #
  4. # You most certainly want to investigate
  5. # /usr/share/doc/motion/examples/motion-dist.conf.gz
  6. # for further configuration options. Also, refer to the
  7. # motion man page and /usr/share/doc/motion/motion_guide.html
  8. # for detailed information on configuration options.
  9. daemon off
  10. quiet off
  11. # You may very well need to change this (check with 'dmesg'
  12. # after plugging in your webcam)
  13. videodevice /dev/video0
  14. # Image size in pixels (valid range is camera dependent)
  15. width 640#320
  16. height 480#240
  17. framerate 25
  18. quality 95
  19. auto_brightness off
  20. # Initial brightness, contrast, hue (NTSC), and saturation
  21. # 0 = disabled (valid range 0-255)
  22. brightness 120
  23. contrast 120
  24. saturation 0
  25. hue 0
  26. # Encode movies in real-time (install ffmpeg before enabling)
  27. ffmpeg_cap_new off
  28. # Codec to be used by ffmpeg for the video compression.
  29. # Supported formats: mpeg4, msmpeg4.
  30. ffmpeg_video_codec msmpeg4
  31. # Target base directory for pictures and films
  32. # You should probably change this (create dir beforehand)
  33. target_dir /dev/null
  34. # Define a port number (e.g. 8000) to enable the mini-http server
  35. # 0 = disabled
  36. webcam_port 0
  37. # Set to 'off' to allow anybody (not just localhost) to view the
  38. # webcam via the mini-http server (http://hostname:port)
  39. webcam_localhost on
  40. webcam_quality 75
  41. webcam_maxrate 30
  42. threshold 2500
  43. # Picture frames must contain motion at least the specified number of frames
  44. # in a row before they are detected as true motion. At the default of 1, all
  45. # motion is detected. Valid range: 1 to thousands, recommended 1-10
  46. minimum_motion_frames 1
  47. # Noise threshold for the motion detection (default: 32)
  48. noise_level 64
  49. # Automatically tune the noise threshold (default: on)
  50. noise_tune off
  51. # Ignore sudden massive light intensity changes given as a percentage of the picture
  52. # area that changed intensity. Valid range: 0 - 100 , default: 0 = disabled
  53. lightswitch 0
  54. #maske fil
  55. mask_file /etc/motion/motionref.pgm
  56. #switchfilter on
  57. #on_event_start simpleopal -lanVIX h323:192.168.3.231
  58. on_motion_detected simpleopal -lanVIX h323:80.162.179.151