Advertisement
Guest User

Untitled

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