castanyes blaves

Random ramblings about some random stuff, and things; but more stuff than things -- all in a mesmerizing and kaleidoscopic soapbox-like flow of words.

10/27/2005

 
# Instructions for compiling VLC with H264 and Live555 support under Ubuntu Breezy

# Install dependencies available from the Ubuntu repositories (main and universe)

sudo apt-get install libwxgtk2.6-dev libdvbpsi3-dev libmpeg2-4-dev libmad0-dev libasound2-dev libesd0-dev x11proto-video-dev libdvdnav-dev liba52-0.7.4-dev libflac-dev libfreetype6-dev libid3tag0-dev libogg-dev libpng12-dev libspeex-dev libtheora-dev libvorbis-dev libxml2-dev zlib1g-dev gcc g++ automake1.9 autoconf libtool subversion cvs libx11-dev

# Install libdvdcss (DVD support)

mkdir ~/videolan ; cd ~/videolan

wget http://downloads.videolan.org/pub/videolan/vlc/0.8.2/contrib/libdvdcss-1.2.8.tar.bz2

tar -jxvf libdvdcss-1.2.8.tar.bz2 ; cd libdvdcss-1.2.8

./configure --prefix=/usr ; make ; sudo make install

# Compile faad2 (AAC support)

cd ~/videolan ; wget http://downloads.videolan.org/pub/videolan/vlc/0.8.2/contrib/faad2-20040923.tar.bz2

tar -jxvf faad2-20040923.tar.bz2 ; cd faad2-20040923

./configure --prefix=/usr ; cd libfaad ; make

# Compile ffmpeg (support for H264 and many other codecs)

cd ~/videolan ; cvs -z9 -d:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg co ffmpeg

cd ffmpeg ; ./configure --enable-pp --enable-gpl ; make

# Compile live555

cd ~/videolan ; wget http://www.live555.com/liveMedia/public/live555-latest.tar.gz ; tar -zxvf live555-latest.tar.gz

cd live ; ./genMakefiles linux ; make

# Compile libvc1 (WMV9 support)

# only if you have access to the files

# cd ~/videolan ; wget http://nanocrew.net/sw/libvc1-1.0.tar.gz ; tar -zxvf libvc1-1.0.tar.gz

# wget http://USERNAME:PWD@www.smpte-vc1.org/TrialPublication/Decoder/VC1_reference_decoder_release6.zip

# unzip VC1_reference_decoder_release6.zip

# cp VC1_reference_decoder_release6/decoder/*.[ch] libvc1-1.0/src/.

# cp VC1_reference_decoder_release6/shared/*.[ch] libvc1-1.0/src/.

# cd libvc1-1.0 ; ./bootstrap ; ./configure --prefix=/usr ; make

# Install VLC

cd ~/videolan ; svn co svn://svn.videolan.org/vlc/trunk vlc-trunk

cd vlc-trunk ; wget -O - http://nanocrew.net/sw/vlc-libvc1.diff | patch -p0

# only if you have access to VC1 files

# ./bootstrap ; ./configure --with-ffmpeg-tree=../ffmpeg --enable-faad --with-faad-tree=../faad2-20040923 --enable-esd --enable-flac --enable-theora --enable-libvc1 --with-libvc1-tree=../libvc1-1.0 --disable-hal --enable-livedotcom --with-livedotcom-tree=../live

./bootstrap ; ./configure --with-ffmpeg-tree=../ffmpeg --enable-faad --with-faad-tree=../faad2-20040923 --enable-esd --enable-flac --enable-theora --disable-hal --enable-livedotcom --with-livedotcom-tree=../live

#make ; sudo make install

make


Comments: Post a Comment

Subscribe to Post Comments [Atom]





<< Home

Archives

200409   200412   200501   200502   200503   200504   200505   200506   200507   200508   200509   200510   200511   200512   200601   200602   200603   200604   200605   200606   200607   200608   200609   200610   200611   200612   200701   200702   200703   200704   200705   200707   200708   200709   200710   200711   200712   200801   200802   200803   200804   200805   200806   200807   200808   200809   200810   200811   200812   200901   200902   200903   200904   200905   200906   200907   200908   200909   200912   201001   201002   201003   201004   201007   201009   201011   201102  

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]