diff --git a/motion_guide.html b/motion_guide.html index 875f6cd2..f2a49603 100644 --- a/motion_guide.html +++ b/motion_guide.html @@ -635,7 +635,7 @@ This is a list of shared libraries used by Motion and the RPM packages that prov

Motion will always need these libraries to be built and work - + @@ -646,7 +646,7 @@ For generating mpeg films with ffmpeg you need this library:
Motion must be installed with revision 0.4.8 or 0.4.9pre1 of ffmpeg. Motion will also work with later CVS snapshots of ffmpeg but the API of the ffmpeg libraries changes all the time and without warning. If you have problems compiling Motion or with running an RPM of Motion you may try with an older CVS snapshot of ffmpeg. The Motion developers will like to know when ffmpeg changes and breaks Motion so we can fix it. Please file a bug report then with the exact date of the ffmpeg CVS version you have trouble with.

Library RPM Packages Debian Packages
Library RPM Packages Debian Packages
libm, libresolv, libdl, libpthread, libc, ld-linux, libcrypt, and libnsl glibc and glibc-devel libc6 , libc6-dev ,libglib1.2
libjpeg libjpeg and libjpeg-devel libjpeg62 and libjpeg62-dev ( optional libjpeg-mmx-dev )
libz zlib and zlib-devel zlib1g and zlib1g-dev
- +
Library RPM Packages Debian Packages
Library RPM Packages Debian Packages
libavcodec, libavframe ffmpeg and ffmpeg-devel or install from source ffmpeg ,libavcodec1,libavcodec1-dev (*)

@@ -663,13 +663,13 @@ apt-get update ; apt-get -y install ffmpeg libavcodec1 libavcodec1-dev

For logging in MySQL you need this library: - +
Library RPM Packages Debian Packages
Library RPM Packages Debian Packages
libmysqlclient mysql and mysql-devel libmysqlclient10 and libmysqlclient10-dev

For logging in PostgreSQL you need this library: - +
Library RPM Packages Debian Packages
Library RPM Packages Debian Packages
libpq postgresql-libs and postgresql-devel postgresql-dev and libpgsql2

@@ -855,7 +855,7 @@ The table below shows the new options in the left column, and obsolete options i - + @@ -978,7 +978,7 @@ motion [ -hns ] [ -c config file path]
New Options Obsolete Options
New Options Obsolete Options
text_left (3.1.13)
text_right (3.1.13)
text_changes (3.1.13)
drawtext_user (3.1.13)
drawtext_shots (3.1.13)
drawtext_changes (3.1.13)
jpeg_filename (3.1.13)
ffmpeg_filename (3.1.13)
snapshot_filename (3.1.13)
timelapse_filename (3.1.13)
predict_filename (3.1.13)
(predict_filename removed in 3.1.18)
oldlayout (3.1.13)
snapshots_overwrite (3.1.13)
snapshot_interval (3.1.13) snapshots (3.1.13)
- + @@ -1018,7 +1018,7 @@ FFMPEG (libavcodec)

The table below lists all the Motion options in alphabetical order. Click on the option name to see a longer description of each.

Option Description Editors comment
Option Description Editors comment
-n Run in non-daemon mode. Instead of running Motion in the background Motion runs in the terminal window writing messages when things happen. If you have problems getting Motion to start or work, run Motion in this mode to get more messages that can help you solve the problem.
-s Run in setup mode. Also forces non-daemon mode
-c config file path Full path and filename of config file. E.g. /home/kurt/motion.conf. Default is /usr/local/etc unless specified differently when building Motion. Many RPMs and debian packages will most likely use /etc or /etc/motion as default
- + @@ -1136,7 +1136,7 @@ A signal can be sent from the command line by typing e.g. kill -s SIGHUP p Motion responds to the following signals:

Option Range/Values
Default
Description
Option Range/Values
Default
Description
auto_brightness Values: on, off
Default: off
Let motion regulate the brightness of a video device. Only recommended for cameras without auto brightness
brightness Values: 0 - 255
Default: 0 (disabled)
The brightness level for the video device.
contrast Values: 0 - 255
Default: 0 (disabled)
The contrast level for the video device.
- + @@ -1442,7 +1442,7 @@ The colour saturation level for the video device.

-The tuner device used for controlling the tuner in a tuner card. This option is only used when Motion is compiled for FreeBSD. +The tuner device used for controlling the tuner in a tuner card. This option is only used when Motion is compiled for FreeBSD.

Make sure to remove or comment out this option when running Motion under Linux.

@@ -1456,13 +1456,13 @@ Make sure to remove or comment out this option when running Motion under Linux.

  • Range / Valid values: Max 4095 characters
  • -
  • Default: /dev/video0 (FreeBSD: /dev/bktr0) +
  • Default: /dev/video0 (FreeBSD: /dev/bktr0)
  • Option Topic
  • -The video device to be used for capturing. Default for Linux is /dev/video0. for FreeBSD the default is /dev/bktr0. +The video device to be used for capturing. Default for Linux is /dev/video0. for FreeBSD the default is /dev/bktr0.

    This is the video4linux device name. Ignore this for net cameras.

    @@ -2718,7 +2718,7 @@ Option text_event defines the value %C which then can be used in filenames and t

    -User defined text overlayed on each in the lower left corner. Use A-Z, a-z, 0-9, " / ( ) @ ~ # < > ¦ , . : - + _ \n and conversion specifiers (codes starting by a %). +User defined text overlayed on each in the lower left corner. Use A-Z, a-z, 0-9, " / ( ) @ ~ # < > ¦ , . : - + _ \n and conversion specifiers (codes starting by a %).

    text_left is displayed in the lower left corner of the pictures. If the option is not defined no text is displayed at this position.

    @@ -2789,7 +2789,7 @@ For a full list of conversion specifiers see the section

    -User defined text overlayed on each in the lower right corner. Use A-Z, a-z, 0-9, " / ( ) @ ~ # < > ¦ , . : - + _ \n and conversion specifiers (codes starting by a %). Default: %Y-%m-%d\n%T = date in ISO format and time in 24 hour clock +User defined text overlayed on each in the lower right corner. Use A-Z, a-z, 0-9, " / ( ) @ ~ # < > ¦ , . : - + _ \n and conversion specifiers (codes starting by a %). Default: %Y-%m-%d\n%T = date in ISO format and time in 24 hour clock

    text_right is displayed in the lower right corner of the pictures. If the option is not defined no text is displayed at this position.

    @@ -3186,7 +3186,7 @@ The table below shows all the supported Conversion Specifiers you can use in the In text_left and text_right you can additionally use '\n' for new line.

    Signal Description Editors comment
    Signal Description Editors comment
    SIGHUP The config file will be reread. This is a very useful signal when you experiment with settings in the config file.
    SIGTERM If needed motion will create an mpeg file of the last event and exit  
    SIGUSR1 Motion will create an mpeg file of the current event.  
    - + @@ -3542,7 +3542,7 @@ A redesign of the external commands was due. They were not very easy to understa This is how the new script commands look like:

    Conversion Specifier Description
    Conversion Specifier Description
    %a The abbreviated weekday name according to the current locale.
    %A The full weekday name according to the current locale.
    %b The abbreviated month name according to the current locale.
    - + @@ -3581,7 +3581,7 @@ Mail and sms has been removed because they were not configurable. If you want to

    -Command to be executed when an event ends after a period of no motion. The period of no motion is defined by option gap. You can use Conversion Specifiers and spaces as part of the command. +Command to be executed when an event ends after a period of no motion. The period of no motion is defined by option gap. You can use Conversion Specifiers and spaces as part of the command.

    Full path name of the program/script.

    @@ -3605,7 +3605,7 @@ The command is run when an event is over. I.e. the number of seconds defined by

    -Command to be executed when an event starts. An event starts at first motion detected after a period of no motion defined by gap. You can use ConversionSpecifiers and spaces as part of the command. +Command to be executed when an event starts. An event starts at first motion detected after a period of no motion defined by gap. You can use ConversionSpecifiers and spaces as part of the command.

    Full path name of the program/script.

    @@ -3631,7 +3631,7 @@ This option replaces the former options 'mail', 'sms' and 'execute'.

    -Command to be executed when a motion frame is detected. You can use Conversion Specifiers and spaces as part of the command. +Command to be executed when a motion frame is detected. You can use Conversion Specifiers and spaces as part of the command.

    Do not write "none" if you do not want to execute commands. Simply do not include the option in the file or comment it out by placing a "#" or ";" as the first character on the line before the execute command.

    @@ -3650,7 +3650,7 @@ Do not write "none" if you do not want to execute commands. Simply do not includ

    -Command to be executed when an ffmpeg movie is closed at the end of an event. You can use Conversion Specifiers and spaces as part of the command. Use %f for passing filename (with full path) to the command. +Command to be executed when an ffmpeg movie is closed at the end of an event. You can use Conversion Specifiers and spaces as part of the command. Use %f for passing filename (with full path) to the command.

    Full path name of the program/script.

    @@ -3708,7 +3708,7 @@ Most common Conversion Specifiers and spaces as part of the command. Use %f for passing filename (with full path) to the command. +Command to be executed when an mpeg movie is created. You can use Conversion Specifiers and spaces as part of the command. Use %f for passing filename (with full path) to the command.

    Full path name of the program/script.

    @@ -3764,7 +3764,7 @@ Most common Conversion Specifiers and spaces as part of the command. Use %f for passing filename (with full path) to the command. +Command to be executed when an image is saved. You can use Conversion Specifiers and spaces as part of the command. Use %f for passing filename (with full path) to the command.

    Full path name of the program/script.

    @@ -4235,7 +4235,7 @@ Configuration option common to MySQL and PostgreSQL. Motion must be built with M

    -SQL query string that is sent to the database. The values for each field are given by using convertion specifiers +SQL query string that is sent to the database. The values for each field are given by using convertion specifiers

    Most common conversion specifiers

    Function Old Option New Option Argument Appended
    Function Old Option New Option Argument Appended
    Start of event (first motion) execute on_event_start None
    End of event (no motion for gap seconds) New! on_event_end None
    Picture saved (jpg or ppm) onsave on_picture_save Filename of picture