安裝mplayer
下載codecs
下載mplayer
root> cd /usr/src
root> mkdir mplayer
root> cd mplayer
root> svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
安裝程式
root> cd /usr/src/mplayer/mplayer
root> ./configure --enable-largefiles --prefix=/usr --confdir=/etc/mplayer --cc=gcc-3.3
如果想要GUI
root> ./configure --enable-largefiles --enable-gui --enable-menu --prefix=/usr --confdir=/etc/mplayer --cc=gcc-3.3
不過要安裝 xorg-dev (x windows devel kit), libgtk2.0-dev (gtk devel kit)
root> make
root> make install
- 1) lame-3.97.tar.gz (Download下載位址)
root> tar zxvf lame-3.97.tar.gz
root> cd lame-3.97
root> ./configure --prefix=/usr
root> make
root> make install - 2) xvidcore-1.1.2.tar.gz (Download)
root> tar jxvf xvidcore-1.1.2.tar.bz2
root> cd xvidcore-1.1.0/build/generic/
root> ./configure
root> make
root> make install - 3) live555-latest.tar.gz for Real Time Steaming (Download @
root> tar zxvf live555-latest.tar.gz
root> cd live
root> ./genMakefiles linux
root> make
root> cd ..
root> cp -a live /usr/local/lib/live - 4) all-20061022.tar.bz2 和 windows-all-20061022.zip (Download @)
root> tar jxvf all-20061022.tar.bz2
root> mkdir /usr/local/lib/codecs/
root> mv -f all-20061022/* /usr/local/lib/codecs/
root> rmdir all-20060611
then
root> unzip windows-all-20061022.zip
root> mv windows-all-20061022 /usr/lib/win32
root> ln -s /usr/local/lib/codecs /usr/lib/win32
下載mplayer
root> cd /usr/src
root> mkdir mplayer
root> cd mplayer
root> svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
安裝程式
root> cd /usr/src/mplayer/mplayer
root> ./configure --enable-largefiles --prefix=/usr --confdir=/etc/mplayer --cc=gcc-3.3
如果想要GUI
root> ./configure --enable-largefiles --enable-gui --enable-menu --prefix=/usr --confdir=/etc/mplayer --cc=gcc-3.3
不過要安裝 xorg-dev (x windows devel kit), libgtk2.0-dev (gtk devel kit)
root> make
root> make install
Comments