What is the good process to compile vlc & co on ubuntu 10.04
Posted: 29 Aug 2011 11:09
Hi, I've tryed to compile vlc 1.2 with x264, ffmpeg and live555... from the git and svn in a virtualbox all the last week without success.
I want to test on an ubuntu server 10.04 without X screen the last versions and see if my problems are still here.
I'm merging a video record in h264 format and a wav record in one record with video and audio but I have some already known problems of synchronization with the v1.1.11. I'm working with libvlc and not with the graphical interface.
When the v1.2 is plan to be published ?
I'm not a beginner with linux but not comfortable with all the process to compile vlc. I have read many doc about but it's always changing. What is the last process in my case to have the be able to compile the very last version. How to apply patches, which patches need to be applyed...
This is the procedure i use to do it. Can someone tell me what's wrong ?
I want to test on an ubuntu server 10.04 without X screen the last versions and see if my problems are still here.
I'm merging a video record in h264 format and a wav record in one record with video and audio but I have some already known problems of synchronization with the v1.1.11. I'm working with libvlc and not with the graphical interface.
When the v1.2 is plan to be published ?
I'm not a beginner with linux but not comfortable with all the process to compile vlc. I have read many doc about but it's always changing. What is the last process in my case to have the be able to compile the very last version. How to apply patches, which patches need to be applyed...
This is the procedure i use to do it. Can someone tell me what's wrong ?
Code: Select all
1 - External libraries
=======================
Get :
- Autoconf version 2.60 or later
- Automake version 1.9 or later
- gettext version 0.16.1 or later
- pkg-config
- libtool
- git
- subversion
sudo apt-get install libtool automake autoconf gettext subversion
With ubuntu 10.10 : sudo apt-get install git
With ubuntu 10.04 : sudo apt-get install git-core
2- Dependencies
=======================
sudo apt-get build-dep vlc
3- Other libraires in case of 10.04
=======================
sudo apt-get -y install yasm faac libfaac-dev lame libmp3lame-dev lua5.1
4- Get VLC
=======
git clone git://git.videolan.org/vlc.git
cd vlc
./bootstrap
5- Get x264
===================
cd extras;
git clone git://git.videolan.org/x264.git x264-trunk
cd x264-trunk
./configure --prefix=/usr
make
6- Get live555
=======================
Take the one from contrib to be compatible :
ftp://ftp.videolan.org/pub/videolan/contrib/
Else to get the last from the official site
cd extras;
wget http://www.live555.com/liveMedia/public/live555-latest.tar.gz
tar xvzf live555-latest.tar.gz
cd live
sh genMakefiles linux;
make
7- Get ffmpeg
=======================
cd extras;
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg
./configure --prefix=/usr --enable-gpl --enable-pthreads --enable-libmp3lame --enable-libfaac --enable-nonfree
make
sudo make install
8- Compile VLC
============
On ubuntu 10.10 :
mkdir build && cd build
../configure --prefix=/usr --enable-live555 --with-live555-tree=../extras/live --enable-x264 --with-x264-tree=../extras/x264-trunk --enable-run-as-root
make
sudo make install
On ubuntu 10.04 :
mkdir build && cd build
../configure --prefix=/usr --enable-live555 --with-live555-tree=../extras/live --enable-x264 --with-x264-tree=../extras/x264-trunk --enable-run-as-root --disable-vorbis --disable-mkv --disable-xcb
make
sudo make install