SHARE
TWEET

Untitled

a guest Jun 3rd, 2013 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Rename this distribution example file to motion.conf
  2. #
  3. # This config file was generated by motion 3.2.12
  4.  
  5.  
  6. ############################################################
  7. # Daemon
  8. ############################################################
  9.  
  10. # Start in daemon (background) mode and release terminal (default: off)
  11. daemon on
  12.  
  13. # File to store the process ID, also called pid file. (default: not defined)
  14. process_id_file /var/run/motion/motion.pid
  15.  
  16. ############################################################
  17. # Basic Setup Mode
  18. ############################################################
  19.  
  20. # Start in Setup-Mode, daemon disabled. (default: off)
  21. setup_mode off
  22.  
  23. ###########################################################
  24. # Capture device options
  25. ############################################################
  26.  
  27. # Videodevice to be used for capturing  (default /dev/video0)
  28. # for FreeBSD default is /dev/bktr0
  29. videodevice /dev/video0
  30.  
  31. # v4l2_palette allows to choose preferable palette to be use by motion
  32. # to capture from those supported by your videodevice. (default: 8)
  33. # E.g. if your videodevice supports both V4L2_PIX_FMT_SBGGR8 and
  34. # V4L2_PIX_FMT_MJPEG then motion will by default use V4L2_PIX_FMT_MJPEG.
  35. # Setting v4l2_palette to 1 forces motion to use V4L2_PIX_FMT_SBGGR8
  36. # instead.
  37. #
  38. # Values :
  39. # V4L2_PIX_FMT_SN9C10X : 0  'S910'
  40. # V4L2_PIX_FMT_SBGGR8  : 1  'BA81'
  41. # V4L2_PIX_FMT_MJPEG   : 2  'MJPEG'
  42. # V4L2_PIX_FMT_JPEG    : 3  'JPEG'
  43. # V4L2_PIX_FMT_RGB24   : 4  'RGB3'
  44. # V4L2_PIX_FMT_UYVY    : 5  'UYVY'
  45. # V4L2_PIX_FMT_YUYV    : 6  'YUYV'
  46. # V4L2_PIX_FMT_YUV422P : 7  '422P'
  47. # V4L2_PIX_FMT_YUV420  : 8  'YU12'
  48. v4l2_palette 6
  49.  
  50. # Tuner device to be used for capturing using tuner as source (default /dev/tuner0)
  51. # This is ONLY used for FreeBSD. Leave it commented out for Linux
  52. ; tunerdevice /dev/tuner0
  53.  
  54. # The video input to be used (default: 8)
  55. # Should normally be set to 0 or 1 for video/TV cards, and 8 for USB cameras
  56. input 8
  57.  
  58. # The video norm to use (only for video capture and TV tuner cards)
  59. # Values: 0 (PAL), 1 (NTSC), 2 (SECAM), 3 (PAL NC no colour). Default: 0 (PAL)
  60. norm 0
  61.  
  62. # The frequency to set the tuner to (kHz) (only for TV tuner cards) (default: 0)
  63. frequency 0
  64.  
  65. # Rotate image this number of degrees. The rotation affects all saved images as
  66. # well as mpeg movies. Valid values: 0 (default = no rotation), 90, 180 and 270.
  67. rotate 0
  68.  
  69. # Image width (pixels). Valid range: Camera dependent, default: 352
  70. width 352
  71.  
  72. # Image height (pixels). Valid range: Camera dependent, default: 288
  73. height 288
  74.  
  75. # Maximum number of frames to be captured per second.
  76. # Valid range: 2-100. Default: 100 (almost no limit).
  77. framerate 10
  78.  
  79. # Minimum time in seconds between capturing picture frames from the camera.
  80. # Default: 0 = disabled - the capture rate is given by the camera framerate.
  81. # This option is used when you want to capture images at a rate lower than 2 per second.
  82. minimum_frame_time 0
  83.  
  84. # URL to use if you are using a network camera, size will be autodetected (incl http:// ftp:// or file:///)
  85. # Must be a URL that returns single jpeg pictures or a raw mjpeg stream. Default: Not defined
  86. ; netcam_url value
  87.  
  88. # Username and password for network camera (only if required). Default: not defined
  89. # Syntax is user:password
  90. ; netcam_userpass value
  91.  
  92. # The setting for keep-alive of network socket, should improve performance on compatible net cameras.
  93. # 1.0:         The historical implementation using HTTP/1.0, closing the socket after each http request.
  94. # keep_alive:  Use HTTP/1.0 requests with keep alive header to reuse the same connection.
  95. # 1.1:         Use HTTP/1.1 requests that support keep alive as default.
  96. # Default: 1.0
  97. ; netcam_http 1.0
  98.  
  99. # URL to use for a netcam proxy server, if required, e.g. "http://myproxy".
  100. # If a port number other than 80 is needed, use "http://myproxy:1234".
  101. # Default: not defined
  102. ; netcam_proxy value
  103.  
  104. # Set less strict jpeg checks for network cameras with a poor/buggy firmware.
  105. # Default: off
  106. netcam_tolerant_check off
  107.  
  108. # Let motion regulate the brightness of a video device (default: off).
  109. # The auto_brightness feature uses the brightness option as its target value.
  110. # If brightness is zero auto_brightness will adjust to average brightness value 128.
  111. # Only recommended for cameras without auto brightness
  112. auto_brightness off
  113.  
  114. # Set the initial brightness of a video device.
  115. # If auto_brightness is enabled, this value defines the average brightness level
  116. # which Motion will try and adjust to.
  117. # Valid range 0-255, default 0 = disabled
  118. brightness 0
  119.  
  120. # Set the contrast of a video device.
  121. # Valid range 0-255, default 0 = disabled
  122. contrast 0
  123.  
  124. # Set the saturation of a video device.
  125. # Valid range 0-255, default 0 = disabled
  126. saturation 0
  127.  
  128. # Set the hue of a video device (NTSC feature).
  129. # Valid range 0-255, default 0 = disabled
  130. hue 0
  131.  
  132.  
  133. ############################################################
  134. # Round Robin (multiple inputs on same video device name)
  135. ############################################################
  136.  
  137. # Number of frames to capture in each roundrobin step (default: 1)
  138. roundrobin_frames 1
  139.  
  140. # Number of frames to skip before each roundrobin step (default: 1)
  141. roundrobin_skip 1
  142.  
  143. # Try to filter out noise generated by roundrobin (default: off)
  144. switchfilter off
  145.  
  146.  
  147. ############################################################
  148. # Motion Detection Settings:
  149. ############################################################
  150.  
  151. # Threshold for number of changed pixels in an image that
  152. # triggers motion detection (default: 1500)
  153. threshold 1500
  154.  
  155. # Automatically tune the threshold down if possible (default: off)
  156. threshold_tune off
  157.  
  158. # Noise threshold for the motion detection (default: 32)
  159. noise_level 32
  160.  
  161. # Automatically tune the noise threshold (default: on)
  162. noise_tune on
  163.  
  164. # Despeckle motion image using (e)rode or (d)ilate or (l)abel (Default: not defined)
  165. # Recommended value is EedDl. Any combination (and number of) of E, e, d, and D is valid.
  166. # (l)abeling must only be used once and the 'l' must be the last letter.
  167. # Comment out to disable
  168. despeckle EedDl
  169.  
  170. # Detect motion in predefined areas (1 - 9). Areas are numbered like that:  1 2 3
  171. # A script (on_area_detected) is started immediately when motion is         4 5 6
  172. # detected in one of the given areas, but only once during an event.        7 8 9
  173. # One or more areas can be specified with this option. (Default: not defined)
  174. ; area_detect value
  175.  
  176. # PGM file to use as a sensitivity mask.
  177. # Full path name to. (Default: not defined)
  178. ; mask_file value
  179.  
  180. # Dynamically create a mask file during operation (default: 0)
  181. # Adjust speed of mask changes from 0 (off) to 10 (fast)
  182. smart_mask_speed 0
  183.  
  184. # Ignore sudden massive light intensity changes given as a percentage of the picture
  185. # area that changed intensity. Valid range: 0 - 100 , default: 0 = disabled
  186. lightswitch 0
  187.  
  188. # Picture frames must contain motion at least the specified number of frames
  189. # in a row before they are detected as true motion. At the default of 1, all
  190. # motion is detected. Valid range: 1 to thousands, recommended 1-5
  191. minimum_motion_frames 1
  192.  
  193. # Specifies the number of pre-captured (buffered) pictures from before motion
  194. # was detected that will be output at motion detection.
  195. # Recommended range: 0 to 5 (default: 0)
  196. # Do not use large values! Large values will cause Motion to skip video frames and
  197. # cause unsmooth mpegs. To smooth mpegs use larger values of post_capture instead.
  198. pre_capture 3
  199.  
  200. # Number of frames to capture after motion is no longer detected (default: 0)
  201. post_capture 0
  202.  
  203. # Gap is the seconds of no motion detection that triggers the end of an event
  204. # An event is defined as a series of motion images taken within a short timeframe.
  205. # Recommended value is 60 seconds (Default). The value 0 is allowed and disables
  206. # events causing all Motion to be written to one single mpeg file and no pre_capture.
  207. gap 60
  208.  
  209. # Maximum length in seconds of an mpeg movie
  210. # When value is exceeded a new mpeg file is created. (Default: 0 = infinite)
  211. max_mpeg_time 180
  212. #
  213. # Always save images even if there was no motion (default: off)
  214. output_all off
  215.  
  216.  
  217. ############################################################
  218. # Image File Output
  219. ############################################################
  220.  
  221. # Output 'normal' pictures when motion is detected (default: on)
  222. # Valid values: on, off, first, best, center
  223. # When set to 'first', only the first picture of an event is saved.
  224. # Picture with most motion of an event is saved when set to 'best'.
  225. # Picture with motion nearest center of picture is saved when set to 'center'.
  226. # Can be used as preview shot for the corresponding movie.
  227. output_normal off
  228.  
  229. # Output pictures with only the pixels moving object (ghost images) (default: off)
  230. output_motion off
  231.  
  232. # The quality (in percent) to be used by the jpeg compression (default: 75)
  233. quality 75
  234.  
  235. # Output ppm images instead of jpeg (default: off)
  236. ppm off
  237.  
  238.  
  239. ############################################################
  240. # FFMPEG related options
  241. # Film (mpeg) file output, and deinterlacing of the video input
  242. # The options movie_filename and timelapse_filename are also used
  243. # by the ffmpeg feature
  244. ############################################################
  245.  
  246. # Use ffmpeg to encode mpeg movies in realtime (default: off)
  247. #ffmpeg_cap_new on
  248. ffmpeg_cap_new on
  249.  
  250. #CHOOCHOOCHEE
  251.  
  252.  
  253. # Use ffmpeg to make movies with only the pixels moving
  254. # object (ghost images) (default: off)
  255. #ffmpeg_cap_motion on
  256. ffmpeg_cap_motion off
  257.  
  258. # Use ffmpeg to encode a timelapse movie
  259. # Default value 0 = off - else save frame every Nth second
  260. #ffmpeg_timelapse 30
  261. ffmpeg_timelapse 0
  262.  
  263. # The file rollover mode of the timelapse video
  264. # Valid values: hourly, daily (default), weekly-sunday, weekly-monday, monthly, manual
  265. ffmpeg_timelapse_mode daily
  266.  
  267. # Bitrate to be used by the ffmpeg encoder (default: 400000)
  268. # This option is ignored if ffmpeg_variable_bitrate is not 0 (disabled)
  269. #ffmpeg_bps 500000
  270. ffmpeg_bps 400000
  271.  
  272. # Enables and defines variable bitrate for the ffmpeg encoder.
  273. # ffmpeg_bps is ignored if variable bitrate is enabled.
  274. # Valid values: 0 (default) = fixed bitrate defined by ffmpeg_bps,
  275. # or the range 2 - 31 where 2 means best quality and 31 is worst.
  276. #ffmpeg_variable_bitrate 2
  277. ffmpeg_variable_bitrate 0
  278.  
  279. # Codec to used by ffmpeg for the video compression.
  280. # Timelapse mpegs are always made in mpeg1 format independent from this option.
  281. # Supported formats are: mpeg1 (ffmpeg-0.4.8 only), mpeg4 (default), and msmpeg4.
  282. # mpeg1 - gives you files with extension .mpg
  283. # mpeg4 or msmpeg4 - gives you files with extension .avi
  284. # msmpeg4 is recommended for use with Windows Media Player because
  285. # it requires no installation of codec on the Windows client.
  286. # swf - gives you a flash film with extension .swf
  287. # flv - gives you a flash video with extension .flv
  288. # ffv1 - FF video codec 1 for Lossless Encoding ( experimental )
  289. # mov - QuickTime ( testing )
  290. ffmpeg_video_codec mpeg4
  291.  
  292. # Use ffmpeg to deinterlace video. Necessary if you use an analog camera
  293. # and see horizontal combing on moving objects in video or pictures.
  294. # (default: off)
  295. ffmpeg_deinterlace off
  296.  
  297.  
  298. ############################################################
  299. # Snapshots (Traditional Periodic Webcam File Output)
  300. ############################################################
  301.  
  302. # Make automated snapshot every N seconds (default: 0 = disabled)
  303. snapshot_interval 0
  304.  
  305.  
  306. ############################################################
  307. # Text Display
  308. # %Y = year, %m = month, %d = date,
  309. # %H = hour, %M = minute, %S = second, %T = HH:MM:SS,
  310. # %v = event, %q = frame number, %t = thread (camera) number,
  311. # %D = changed pixels, %N = noise level, \n = new line,
  312. # %i and %J = width and height of motion area,
  313. # %K and %L = X and Y coordinates of motion center
  314. # %C = value defined by text_event - do not use with text_event!
  315. # You can put quotation marks around the text to allow
  316. # leading spaces
  317. ############################################################
  318.  
  319. # Locate and draw a box around the moving object.
  320. # Valid values: on, off and preview (default: off)
  321. # Set to 'preview' will only draw a box in preview_shot pictures.
  322. locate off
  323.  
  324. # Draws the timestamp using same options as C function strftime(3)
  325. # Default: %Y-%m-%d\n%T = date in ISO format and time in 24 hour clock
  326. # Text is placed in lower right corner
  327. text_right %Y-%m-%d\n%T-%q
  328.  
  329. # Draw a user defined text on the images using same options as C function strftime(3)
  330. # Default: Not defined = no text
  331. # Text is placed in lower left corner
  332. ; text_left CAMERA %t
  333.  
  334. # Draw the number of changed pixed on the images (default: off)
  335. # Will normally be set to off except when you setup and adjust the motion settings
  336. # Text is placed in upper right corner
  337. text_changes off
  338.  
  339. # This option defines the value of the special event conversion specifier %C
  340. # You can use any conversion specifier in this option except %C. Date and time
  341. # values are from the timestamp of the first image in the current event.
  342. # Default: %Y%m%d%H%M%S
  343. # The idea is that %C can be used filenames and text_left/right for creating
  344. # a unique identifier for each event.
  345. text_event %Y%m%d%H%M%S
  346.  
  347. # Draw characters at twice normal size on images. (default: off)
  348. text_double off
  349.  
  350.  
  351. ############################################################
  352. # Target Directories and filenames For Images And Films
  353. # For the options snapshot_, jpeg_, mpeg_ and timelapse_filename
  354. # you can use conversion specifiers
  355. # %Y = year, %m = month, %d = date,
  356. # %H = hour, %M = minute, %S = second,
  357. # %v = event, %q = frame number, %t = thread (camera) number,
  358. # %D = changed pixels, %N = noise level,
  359. # %i and %J = width and height of motion area,
  360. # %K and %L = X and Y coordinates of motion center
  361. # %C = value defined by text_event
  362. # Quotation marks round string are allowed.
  363. ############################################################
  364.  
  365. # Target base directory for pictures and films
  366. # Recommended to use absolute path. (Default: current working directory)
  367. target_dir /tmp/motion
  368.  
  369. # File path for snapshots (jpeg or ppm) relative to target_dir
  370. # Default: %v-%Y%m%d%H%M%S-snapshot
  371. # Default value is equivalent to legacy oldlayout option
  372. # For Motion 3.0 compatible mode choose: %Y/%m/%d/%H/%M/%S-snapshot
  373. # File extension .jpg or .ppm is automatically added so do not include this.
  374. # Note: A symbolic link called lastsnap.jpg created in the target_dir will always
  375. # point to the latest snapshot, unless snapshot_filename is exactly 'lastsnap'
  376. snapshot_filename %v-%Y%m%d%H%M%S-snapshot
  377.  
  378. # File path for motion triggered images (jpeg or ppm) relative to target_dir
  379. # Default: %v-%Y%m%d%H%M%S-%q
  380. # Default value is equivalent to legacy oldlayout option
  381. # For Motion 3.0 compatible mode choose: %Y/%m/%d/%H/%M/%S-%q
  382. # File extension .jpg or .ppm is automatically added so do not include this
  383. # Set to 'preview' together with best-preview feature enables special naming
  384. # convention for preview shots. See motion guide for details
  385. jpeg_filename %v-%Y%m%d%H%M%S-%q
  386.  
  387. # File path for motion triggered ffmpeg films (mpeg) relative to target_dir
  388. # Default: %v-%Y%m%d%H%M%S
  389. # Default value is equivalent to legacy oldlayout option
  390. # For Motion 3.0 compatible mode choose: %Y/%m/%d/%H%M%S
  391. # File extension .mpg or .avi is automatically added so do not include this
  392. # This option was previously called ffmpeg_filename
  393. movie_filename %v-%Y%m%d%H%M%S
  394.  
  395. # File path for timelapse mpegs relative to target_dir
  396. # Default: %Y%m%d-timelapse
  397. # Default value is near equivalent to legacy oldlayout option
  398. # For Motion 3.0 compatible mode choose: %Y/%m/%d-timelapse
  399. # File extension .mpg is automatically added so do not include this
  400. timelapse_filename %Y%m%d-timelapse
  401.  
  402.  
  403. ############################################################
  404. # Live Webcam Server
  405. ############################################################
  406.  
  407. # The mini-http server listens to this port for requests (default: 0 = disabled)
  408. webcam_port 8081
  409.  
  410. # Quality of the jpeg (in percent) images produced (default: 50)
  411. webcam_quality 50
  412.  
  413. # Output frames at 1 fps when no motion is detected and increase to the
  414. # rate given by webcam_maxrate when motion is detected (default: off)
  415. webcam_motion off
  416.  
  417. # Maximum framerate for webcam streams (default: 1)
  418. webcam_maxrate 5
  419.  
  420. # Restrict webcam connections to localhost only (default: on)
  421. webcam_localhost off
  422.  
  423. # Limits the number of images per connection (default: 0 = unlimited)
  424. # Number can be defined by multiplying actual webcam rate by desired number of seconds
  425. # Actual webcam rate is the smallest of the numbers framerate and webcam_maxrate
  426. webcam_limit 0
  427.  
  428.  
  429. ############################################################
  430. # HTTP Based Control
  431. ############################################################
  432.  
  433. # TCP/IP port for the http server to listen on (default: 0 = disabled)
  434. control_port 8080
  435.  
  436. # Restrict control connections to localhost only (default: on)
  437. control_localhost on
  438.  
  439. # Output for http server, select off to choose raw text plain (default: on)
  440. control_html_output on
  441.  
  442. # Authentication for the http based control. Syntax username:password
  443. # Default: not defined (Disabled)
  444. ; control_authentication username:password
  445.  
  446.  
  447. ############################################################
  448. # Tracking (Pan/Tilt)
  449. ############################################################
  450.  
  451. # Type of tracker (0=none (default), 1=stepper, 2=iomojo, 3=pwc, 4=generic, 5=uvcvideo)
  452. # The generic type enables the definition of motion center and motion size to
  453. # be used with the conversion specifiers for options like on_motion_detected
  454. track_type 0
  455.  
  456. # Enable auto tracking (default: off)
  457. track_auto off
  458.  
  459. # Serial port of motor (default: none)
  460. ; track_port value
  461.  
  462. # Motor number for x-axis (default: 0)
  463. track_motorx 0
  464.  
  465. # Motor number for y-axis (default: 0)
  466. track_motory 0
  467.  
  468. # Maximum value on x-axis (default: 0)
  469. track_maxx 0
  470.  
  471. # Maximum value on y-axis (default: 0)
  472. track_maxy 0
  473.  
  474. # ID of an iomojo camera if used (default: 0)
  475. track_iomojo_id 0
  476.  
  477. # Angle in degrees the camera moves per step on the X-axis
  478. # with auto-track (default: 10)
  479. # Currently only used with pwc type cameras
  480. track_step_angle_x 10
  481.  
  482. # Angle in degrees the camera moves per step on the Y-axis
  483. # with auto-track (default: 10)
  484. # Currently only used with pwc type cameras
  485. track_step_angle_y 10
  486.  
  487. # Delay to wait for after tracking movement as number
  488. # of picture frames (default: 10)
  489. track_move_wait 10
  490.  
  491. # Speed to set the motor to (stepper motor option) (default: 255)
  492. track_speed 255
  493.  
  494. # Number of steps to make (stepper motor option) (default: 40)
  495. track_stepsize 40
  496.  
  497.  
  498. ############################################################
  499. # External Commands, Warnings and Logging:
  500. # You can use conversion specifiers for the on_xxxx commands
  501. # %Y = year, %m = month, %d = date,
  502. # %H = hour, %M = minute, %S = second,
  503. # %v = event, %q = frame number, %t = thread (camera) number,
  504. # %D = changed pixels, %N = noise level,
  505. # %i and %J = width and height of motion area,
  506. # %K and %L = X and Y coordinates of motion center
  507. # %C = value defined by text_event
  508. # %f = filename with full path
  509. # %n = number indicating filetype
  510. # Both %f and %n are only defined for on_picture_save,
  511. # on_movie_start and on_movie_end
  512. # Quotation marks round string are allowed.
  513. ############################################################
  514.  
  515. # Do not sound beeps when detecting motion (default: on)
  516. # Note: Motion never beeps when running in daemon mode.
  517. quiet on
  518.  
  519. # Command to be executed when an event starts. (default: none)
  520. # An event starts at first motion detected after a period of no motion defined by gap
  521. ; on_event_start value
  522.  
  523. # Command to be executed when an event ends after a period of no motion
  524. # (default: none). The period of no motion is defined by option gap.
  525. ; on_event_end value
  526.  
  527. # Command to be executed when a picture (.ppm|.jpg) is saved (default: none)
  528. # To give the filename as an argument to a command append it with %f
  529.  
  530. ; on_picture_save
  531.  
  532. # Command to be executed when a motion frame is detected (default: none)
  533. ; on_motion_detected value
  534.  
  535. # Command to be executed when motion in a predefined area is detected
  536. # Check option 'area_detect'.   (default: none)
  537. ; on_area_detected value
  538.  
  539. # Command to be executed when a movie file (.mpg|.avi) is created. (default: none)
  540. # To give the filename as an argument to a command append it with %f
  541. ; on_movie_start value
  542.  
  543. # Command to be executed when a movie file (.mpg|.avi) is closed. (default: none)
  544. # To give the filename as an argument to a command append it with %f
  545. on_movie_end cp %f /media/HDD/smn1/
  546.  
  547. # Command to be executed when a camera can't be opened or if it is lost
  548. # NOTE: There is situations when motion doesn't detect a lost camera!
  549. # It depends on the driver, some drivers don't detect a lost camera at all
  550. # Some hang the motion thread. Some even hang the PC! (default: none)
  551. ; on_camera_lost value
  552.  
  553. ############################################################
  554. # Common Options For MySQL and PostgreSQL database features.
  555. # Options require the MySQL/PostgreSQL options to be active also.
  556. ############################################################
  557.  
  558. # Log to the database when creating motion triggered image file  (default: on)
  559. sql_log_image on
  560.  
  561. # Log to the database when creating a snapshot image file (default: on)
  562. sql_log_snapshot on
  563.  
  564. # Log to the database when creating motion triggered mpeg file (default: off)
  565. sql_log_mpeg off
  566.  
  567. # Log to the database when creating timelapse mpeg file (default: off)
  568. sql_log_timelapse off
  569.  
  570. # SQL query string that is sent to the database
  571. # Use same conversion specifiers has for text features
  572. # Additional special conversion specifiers are
  573. # %n = the number representing the file_type
  574. # %f = filename with full path
  575. # Default value:
  576. # insert into security(camera, filename, frame, file_type, time_stamp, text_event) values('%t', '%f', '%q', '%n', '%Y-%m-%d %T', '%C')
  577. sql_query insert into security(camera, filename, frame, file_type, time_stamp, event_time_stamp) values('%t', '%f', '%q', '%n', '%Y-%m-%d %T', '%C')
  578.  
  579.  
  580. ############################################################
  581. # Database Options For MySQL
  582. ############################################################
  583.  
  584. # Mysql database to log to (default: not defined)
  585. ; mysql_db value
  586.  
  587. # The host on which the database is located (default: localhost)
  588. ; mysql_host value
  589.  
  590. # User account name for MySQL database (default: not defined)
  591. ; mysql_user value
  592.  
  593. # User password for MySQL database (default: not defined)
  594. ; mysql_password value
  595.  
  596.  
  597. ############################################################
  598. # Database Options For PostgreSQL
  599. ############################################################
  600.  
  601. # PostgreSQL database to log to (default: not defined)
  602. ; pgsql_db value
  603.  
  604. # The host on which the database is located (default: localhost)
  605. ; pgsql_host value
  606.  
  607. # User account name for PostgreSQL database (default: not defined)
  608. ; pgsql_user value
  609.  
  610. # User password for PostgreSQL database (default: not defined)
  611. ; pgsql_password value
  612.  
  613. # Port on which the PostgreSQL database is located (default: 5432)
  614. ; pgsql_port 5432
  615.  
  616.  
  617. ############################################################
  618. # Video Loopback Device (vloopback project)
  619. ############################################################
  620.  
  621. # Output images to a video4linux loopback device
  622. # The value '-' means next available (default: not defined)
  623. ; video_pipe value
  624.  
  625. # Output motion images to a video4linux loopback device
  626. # The value '-' means next available (default: not defined)
  627. ; motion_video_pipe value
  628.  
  629.  
  630. ##############################################################
  631. # Thread config files - One for each camera.
  632. # Except if only one camera - You only need this config file.
  633. # If you have more than one camera you MUST define one thread
  634. # config file for each camera in addition to this config file.
  635. ##############################################################
  636.  
  637. # Remember: If you have more than one camera you must have one
  638. # thread file for each camera. E.g. 2 cameras requires 3 files:
  639. # This motion.conf file AND thread1.conf and thread2.conf.
  640. # Only put the options that are unique to each camera in the
  641. # thread config files.
  642. ; thread /usr/local/etc/thread1.conf
  643. ; thread /usr/local/etc/thread2.conf
  644. ; thread /usr/local/etc/thread3.conf
  645. ; thread /usr/local/etc/thread4.conf
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top