-
Notifications
You must be signed in to change notification settings - Fork 66
Setup guide
Xavier Carol edited this page Feb 26, 2015
·
48 revisions
The environment requirements to correctly install and deploy liveMediaStreamer.
- Ubuntu 14.04 x64
- g++4.8 compiler
- It is highly recommended to uninstall apt versions of:
- Libav libraries (libavutil, libavformat, libavcodec, libavfilter, libavdevice, libswscale, libavresample)
- OpenCV (libopencv-dev)
- LiveMedia (liblivemedia-dev)
- x264 (libx264-dev)
NOTE: default (and recommended) installation path is /usr/local/
Basic dependencies
sudo apt-get update
sudo apt-get -y install git cmake autoconf automake build-essential libass-dev libgpac-dev \
libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libx11-dev \
libxext-dev libxfixes-dev pkg-config texi2html zlib1g-dev libcppunit-dev
Yasm
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
tar xzvf yasm-1.3.0.tar.gz
cd yasm-1.3.0
./configure
make
sudo make install
x264
git clone git://git.videolan.org/x264.git
cd x264
./configure --enable-shared
make
sudo make install
libmp3lame
sudo apt-get install libmp3lame-dev
libopus
sudo apt-get install libopus-dev
libvpx
sudo apt-get install libvpx-dev
FFMPEG
wget http://ffmpeg.org/releases/ffmpeg-2.5.4.tar.bz2
tar xjvf ffmpeg-2.5.4.tar.bz2
cd ffmpeg-2.5.4
./configure --extra-libs="-ldl" --enable-gpl --enable-libass --enable-libtheora --enable-libvorbis \
--enable-libx264 --enable-nonfree --enable-shared --enable-libopus --enable-libmp3lame \
--enable-libvpx
make
sudo make install
wget https://github.com/Itseez/opencv/archive/3.0.0-beta.zip
unzip 3.0.0-beta.zip
cd opencv-3.0.0-beta
cmake .
make
sudo make install
wget http://www.live555.com/liveMedia/public/live555-latest.tar.gz
tar xaf live555-latest.tar.gz
cd live
./genMakefiles linux-with-shared-libraries
make
sudo make install
sudo apt-get install liblog4cplus-dev
liveMediaStreamer
git clone https://github.com/ua-i2cat/livemediastreamer.git
cd livemediastreamer
./autogen.sh
make
sudo make install
You can now follow up with the Deployment-guide