forked from Motion-Project/motion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
43 lines (35 loc) · 1.35 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
The following is a brief overview of the building and installing instructions.
For full instructions on how to build and install Motion, see the
motion_guide.html that is distributed with this source code.
The building instructions vary based upon the base system and the desired options.
For most installs, it will be desired to include either ffmpeg or libav and these will
have associated dependencies which dictate the configuration options.
Build Packages:
autoconf
automake
pkgconf
libtool
libjpeg8-dev
build-essential
libzip-dev
The option to include FFMPEG or Libav functionality in motion is a choice of one OR the other not both.
The packages and library names change frequently and vary across base operating systems. If ffmpeg or
libav are built and installed from source the custom motion configuration options will usually be needed.
FFMPEG Packages
libavformat-dev
libavcodec-dev
libavutil-dev
libswscale-dev
Libav Packages
libavformat-dev
libavcodec-dev
libavutil-dev
libswscale-dev
Once required packages are installed, execute:
autoreconf -fiv
./configure
make
make install
Sample custom configuration options:
--prefix : Specify the install location for the motion package
--with-ffmpeg=[dir] : Specify the location in which ffmpeg/libav is installed.