歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> openSUSE 11 x86_64下MPlayer安裝經驗

openSUSE 11 x86_64下MPlayer安裝經驗

日期:2017/2/28 17:01:18   编辑:Linux教程

經過兩天的堅苦奮斗,我終於安裝成功了,以下是我的安裝經驗,如果有不對的地方,請告訴我,謝謝[email protected]
在openSUSE 11 x86_64下安裝MPlayer

用以下命令下載最新的mplayer
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
如果你以前有下載的話可以用以下命令進行更新
svn update
以上命令記住要在同一個目錄下運行
--------------------------------
進入到mplayer,並運行以下命令
--------------------------------
./configure --prefix=/opt/mplayer --enable-gui --enable-largefiles --enable-menu --codecsdir=/opt/mplayer/mycodec --win32codecsdir=/opt/mplayer/mycodec --realcodecsdir=/opt/mplayer/mycodec --libdir=/opt/mplayer/mycodec --language=zh_CN --charset=utf8 --confdir=/opt/mplayer/confs
--------------------------------
make
--------------------------------
make install
--------------------------------
到這一步mplayer就安裝成了,這裡帶的一些參數是指定解碼器的所在目錄和mplayer的安裝目錄


然後再下載以下的文件
all-20071007.tar.bz2
essential-amd64-20071007.tar.bz2
rp9codecs-win32-20050115.tar.bz2
essential-20071007.tar.bz2
rp8codecs-win32-20040626.tar.bz2
windows-all-20071007.zip
-------------------------------------------
解壓縮以上全部文件
tarj -jxvf all-20071007.tar.bz2
tarj -jxvf essential-amd64-20071007.tar.bz2
tarj -jxvf rp9codecs-win32-20050115.tar.bz2
tarj -jxvf essential-20071007.tar.bz2
tarj -jxvf rp8codecs-win32-20040626.tar.bz2
unzip -u windows-all-20071007.zip
----------------------------------------------------------------------
復制所有的文件到/opt/mplayer/codecs目錄下面
cp all-20071007/* /opt/mplayer/mycodecs/
cp essential-amd64-20071007/* /opt/mplayer/mycodecs/
cp rp9codecs-win32-20050115/* /opt/mplayer/mycodecs/
cp essential-20071007/* /opt/mplayer/mycodecs/
cp rp8codecs-win32-20040626/* /opt/mplayer/mycodecs/
cp windows-all-20071007/* /opt/mplayer/mycodecs/
-----------------------------------------------------------------------
x86_64還有另外的要求,要把essential-amd64-20071007下面所有的文件復制到/usr/lib64/RealPlayer10/codecs/
---
cp /home/software/codecs/essential-amd64-20071007/* /usr/lib64/RealPlayer10/codecs/
---
/home/software/codecs/essential-amd64-20071007/ 這個目錄是我解essential-amd64-20071007出來的目錄,請改成你自己的。

現在再用gmplayer moviefile試試

總結:
其實在這個過程中,如果播放不了,請在終端的中運行播放命令,這樣你可以看到錯誤信息,根據自己的錯誤信息來解決問題。以上幾個下載的文件中的解碼器一定可以播放rmvb文件的。
-----------------------相信自己,你能行的--------------------------------
-------------trust youself, you can do--------------------------------


以上有些目錄如果沒有,請自己創建。

Copyright © Linux教程網 All Rights Reserved