-
Notifications
You must be signed in to change notification settings - Fork 66
Setup guide
The environment requirements to correctly install and deploy liveMediaStreamer.
- Ubuntu 14.04 x64
- g++4.8 compiler
- It is recommended to uninstall apt versions of:
-
Libav libraries (libavutil, libavformat, libavcodec, libavfilter, libavdevice, libswscale, libavresample):
apt-get remove --purge libavutil* libavformat* libavcodec* libavfilter* libavdevice* libswscale* libavresample*
-
LiveMedia (liblivemedia-dev):
apt-get remove --purge liblivemedia*
-
NOTE: default (and recommended) installation path is /usr/local/
Note: after compiling and installing any source code remember to:
sudo ldconfig
sudo apt-get update
sudo apt-get -y install git cmake autoconf automake build-essential libass-dev \
libtheora-dev libtool libvorbis-dev pkg-config zlib1g-dev libcppunit-dev yasm \
libx264-dev libmp3lame-dev libopus-dev libvpx-dev libfdk-aac-dev liblog4cplus-dev \
libtinyxml2-dev opencv-data libopencv-dev libsdl1.2-dev
sudo apt-get install mercurial cmake-curses-gui
hg clone https://bitbucket.org/multicoreware/x265
cd x265
cmake -G "Unix Makefiles" ./source
make
sudo make install
Tested from in 2.5 ~ 3.0 ffmpeg versions
wget https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
tar xjvf ffmpeg-snapshot.tar.bz2
cd ffmpeg
./configure --enable-gpl --enable-libass --enable-libtheora --enable-libvorbis \
--enable-libx264 --enable-nonfree --enable-shared --enable-libopus --enable-libmp3lame \
--enable-libvpx --enable-libfdk_aac --enable-libx265 --enable-ffplay --enable-sdl
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
liveMediaStreamer
If you installed ffmpeg or live555 on custom directories, you can add --with-ffmpeg and --with-livemedia respectively to the ./autogen.sh call in order to set the paths where livemediastreamer build will look for them.
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