February 28,2006

Compiling VLC with VC-1 (WMV9) support under Ubuntu Breezy


This is a modification from So sue me
Platfrom : ubuntu 5.10 i386

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 libvc1 (WMV9 support)


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

$ wget http://www.multimedia.cx/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 ( or you can get source snapshot, by the way, I use snapshot-20060227)

$ cd vlc-trunk ; wget -O - http://nanocrew.net/sw/vlc-libvc1.diff | patch -p0 (choose n, if it ask for your confirm)
$ ./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

$ make ; sudo make install


Enjoy It!!


 

Posted by yam_orbit at 樂多Roodo! │15:04 │回應(0)引用(2)電腦新知
樂多分類:網路/3C 共同主題:linux 工具:編輯本文
Ads by Roodo! 

引用URL

http://cgi.blog.roodo.com/trackback/1184474
引用列表:
Low-price cymbalta.
Low-price cymbalta.【Low-price cymbalta.】 at July 20,2007 00:28
all about polomurinureon and top news
polomurinureon 68 post【polomurinureon blog】 at October 24,2007 19:12