thread3.conf 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # /usr/local/etc/thread3.conf
  2. #
  3. # This config file was generated by motion 3.2.12
  4. ###########################################################
  5. # Capture device options
  6. ############################################################
  7. # Videodevice to be used for capturing (default /dev/video0)
  8. # for FreeBSD default is /dev/bktr0
  9. videodevice /dev/video2
  10. # The video input to be used (default: 8)
  11. # Should normally be set to 1 for video/TV cards, and 8 for USB cameras
  12. input 8
  13. # Draw a user defined text on the images using same options as C function strftime(3)
  14. # Default: Not defined = no text
  15. # Text is placed in lower left corner
  16. text_left CAMERA 3
  17. ############################################################
  18. # Target Directories and filenames For Images And Films
  19. # For the options snapshot_, jpeg_, mpeg_ and timelapse_filename
  20. # you can use conversion specifiers
  21. # %Y = year, %m = month, %d = date,
  22. # %H = hour, %M = minute, %S = second,
  23. # %v = event, %q = frame number, %t = thread (camera) number,
  24. # %D = changed pixels, %N = noise level,
  25. # %i and %J = width and height of motion area,
  26. # %K and %L = X and Y coordinates of motion center
  27. # %C = value defined by text_event
  28. # Quotation marks round string are allowed.
  29. ############################################################
  30. # Target base directory for pictures and films
  31. # Recommended to use absolute patch. (Default: current working directory)
  32. target_dir /usr/local/apache2/htdocs/cam3
  33. ############################################################
  34. # Live Webcam Server
  35. ############################################################
  36. # The mini-http server listens to this port for requests (default: 0 = disabled)
  37. webcam_port 8083
  38. # Command to be executed when a picture (.ppm|.jpg) is saved (default: none)
  39. # The filename of the picture is appended as an argument for the command.
  40. on_picture_save /usr/local/motion-extras/camparse3.pl
  41. # Command to be executed when a movie file (.mpg|.avi) is closed. (default: none)
  42. # Filename of movie is appended as an argument for the command.
  43. on_movie_end /usr/local/motion-extras/mpegparse3.pl