summaryrefslogtreecommitdiff
path: root/addons/x11phonehome/etc/motion/motion.conf.orig
blob: 592bc6186a73cd7aa1715ca75751a5b3fd2d1a88 (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 on
  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 320
  16. height 240
  17. framerate 25
  18. quality 85
  19. auto_brightness off
  20. # Initial brightness, contrast, hue (NTSC), and saturation
  21. # 0 = disabled (valid range 0-255)
  22. brightness 0
  23. contrast 0
  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 /tmp
  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 50
  41. webcam_maxrate 8