Linux安裝mplayer命令列版完整步驟

來源:互聯網
上載者:User


Linux安裝mplayer命令列版完整步驟 Linux安裝mplayer 命令列版完整步驟yasm,Linux安裝mplayer 命令列版完整步驟yasm.項目中有用到linux上調用mplayer 讀取視頻資訊,借鑒網路上的文章,整理來一下安裝步驟。說明:我安裝時沒有指定圖形介面(即:沒有加入 --enable-gu 參數)步驟:1:解壓MPlayer解碼器:tar -jxvf all-20110131.tar.bz2 mkdir /usr/local/lib/codecs/mv -f all-20110131/* /usr/local/lib/codecs/   www.2cto.com  注意:是把 all-20110131 中所有的檔案複製到/usr/loc-al/lib/codecs中,而不是檔案夾,否則編譯後不能播放。 2:解壓win32解碼器:mkdir /usr/local/lib/win32mv windows-all-20071007/* /usr/local/lib/win32 3:安裝yasmcd /usr/local/bin     mkdir yasm       tar xvf yasm-1.1.0.tar.gz          cd yasm./configure --prefix=/usr/local/bin/yasm PATH=$PATH:/usr/local/bin/yasm/binmakemake install 4:下周mplayer 源碼cd MPlayer-1.1./configure --prefix=/usr --codecsdir=/usr/local/lib/codecs --yasm=/usr/local/bin/yasm/bin/yasm  --enable-menu --language=zh_CN,en --charset=utf8 --confdir=/usr/local/mplayermakemake install  www.2cto.com  另外付上讀取視頻資訊的方法: mplayer -identify movie http://www.baidu.com/240.3gp -nosound -nocache -vc dummy -vo null  

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.