forked from Motion-Project/motion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
24 lines (18 loc) · 1.09 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
The following is a brief overview of the building and installing instructions for debian / ubuntu.
For full instructions on how to build and install Motion, see the motion_guide.html that is
distributed with this source code. The guide also includes instructions for building Motion
on distributions other than debian/ubuntu such as BSD, Mac and Centos.
The packages and library names change frequently and vary across base operating systems.
Adjust the following lines as required by the base operating system.
Install basic build packages:
sudo apt-get install autoconf automake pkgconf libtool libjpeg8-dev build-essential libzip-dev gettext libmicrohttpd-dev
Install FFMPEG packages
sudo apt-get install libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavdevice-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.