mirror of
https://github.com/Motion-Project/motion.git
synced 2026-01-08 06:48:28 -05:00
59 lines
2.1 KiB
Plaintext
59 lines
2.1 KiB
Plaintext
# /usr/local/etc/thread2.conf
|
|
#
|
|
# This config file was generated by @PACKAGE_NAME@ @PACKAGE_VERSION@
|
|
|
|
|
|
|
|
###########################################################
|
|
# Capture device options
|
|
############################################################
|
|
|
|
# Videodevice to be used for capturing (default /dev/video0)
|
|
# for FreeBSD default is /dev/bktr0
|
|
videodevice /dev/video1
|
|
|
|
# The video input to be used (default: -1)
|
|
# Should normally be set to 1 for video/TV cards, and -1 for USB cameras
|
|
input 1
|
|
|
|
# Draw a user defined text on the images using same options as C function strftime(3)
|
|
# Default: Not defined = no text
|
|
# Text is placed in lower left corner
|
|
text_left CAMERA 2
|
|
|
|
|
|
############################################################
|
|
# Target Directories and filenames For Images And Films
|
|
# For the options snapshot_, jpeg_, mpeg_ and timelapse_filename
|
|
# you can use conversion specifiers
|
|
# %Y = year, %m = month, %d = date,
|
|
# %H = hour, %M = minute, %S = second,
|
|
# %v = event, %q = frame number, %t = thread (camera) number,
|
|
# %D = changed pixels, %N = noise level,
|
|
# %i and %J = width and height of motion area,
|
|
# %K and %L = X and Y coordinates of motion center
|
|
# %C = value defined by text_event
|
|
# Quotation marks round string are allowed.
|
|
############################################################
|
|
|
|
# Target base directory for pictures and films
|
|
# Recommended to use absolute patch. (Default: current working directory)
|
|
target_dir /usr/local/apache2/htdocs/cam2
|
|
|
|
|
|
############################################################
|
|
# Live Webcam Server
|
|
############################################################
|
|
|
|
# The mini-http server listens to this port for requests (default: 0 = disabled)
|
|
webcam_port 8082
|
|
|
|
# Command to be executed when a picture (.ppm|.jpg) is saved (default: none)
|
|
# The filename of the picture is appended as an argument for the command.
|
|
on_picture_save /usr/local/motion-extras/camparse2.pl
|
|
|
|
# Command to be executed when a movie file (.mpg|.avi) is closed. (default: none)
|
|
# Filename of movie is appended as an argument for the command.
|
|
on_movie_end /usr/local/motion-extras/mpegparse2.pl
|
|
|