thread4.conf 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # /usr/local/etc/thread4.conf
  2. #
  3. # This config file was generated by motion 3.2.12
  4. ###########################################################
  5. # Capture device options
  6. ############################################################
  7. # URL to use if you are using a network camera, size will be autodetected (incl http:// ftp:// or file:///)
  8. # Must be a URL that returns single jpeg pictures or a raw mjpeg stream. Default: Not defined
  9. netcam_url http://192.168.1.6:8093/
  10. # The setting for keep-alive of network socket, should improve performance on compatible net cameras.
  11. # 1.0: The historical implementation using HTTP/1.0, closing the socket after each http request.
  12. # keep_alive: Use HTTP/1.0 requests with keep alive header to reuse the same connection.
  13. # 1.1: Use HTTP/1.1 requests that support keep alive as default.
  14. # Default: 1.0
  15. netcam_http keep_alive
  16. # Set less strict jpeg checks for network cameras with a poor/buggy firmware.
  17. # Default: off
  18. netcam_tolerant_check on
  19. # Draw a user defined text on the images using same options as C function strftime(3)
  20. # Default: Not defined = no text
  21. # Text is placed in lower left corner
  22. text_left CAMERA 4
  23. ############################################################
  24. # Target Directories and filenames For Images And Films
  25. # For the options snapshot_, jpeg_, mpeg_ and timelapse_filename
  26. # you can use conversion specifiers
  27. # %Y = year, %m = month, %d = date,
  28. # %H = hour, %M = minute, %S = second,
  29. # %v = event, %q = frame number, %t = thread (camera) number,
  30. # %D = changed pixels, %N = noise level,
  31. # %i and %J = width and height of motion area,
  32. # %K and %L = X and Y coordinates of motion center
  33. # %C = value defined by text_event
  34. # Quotation marks round string are allowed.
  35. ############################################################
  36. # Target base directory for pictures and films
  37. # Recommended to use absolute patch. (Default: current working directory)
  38. target_dir /usr/local/apache2/htdocs/cam4
  39. ############################################################
  40. # Live Webcam Server
  41. ############################################################
  42. # The mini-http server listens to this port for requests (default: 0 = disabled)
  43. webcam_port 8084
  44. # Command to be executed when a picture (.ppm|.jpg) is saved (default: none)
  45. # The filename of the picture is appended as an argument for the command.
  46. on_picture_save /usr/local/motion-extras/camparse4.pl
  47. # Command to be executed when a movie file (.mpg|.avi) is closed. (default: none)
  48. # Filename of movie is appended as an argument for the command.
  49. on_movie_end /usr/local/motion-extras/mpegparse4.pl