Linux Mplayer播放各種格式的電影

來源:互聯網
上載者:User

   在Linux下使用Mplayer播放各種格式的電影,這個步驟需要使用linva倉庫。

  使用root執行命令。

  yum install mplayer mplayer-gui mplayerplug-in mplayer-doc mplayer-fonts

  安裝結束後mplayer就安裝成功了。

  使用普通使用者執行mplayer會出現如下資訊:

  [jzhenyon@dhcp-0-151 scsi]$ mplayerMPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer TeamCPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (Family: 6, Model: 15, Stepping: 6)CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1Compiled with runtime CPU detection.Usage: mplayer [options] [url|path/]filename.......

  也可以執行gmplayer,會出現一個圖形對話方塊。

  接下來需要安裝解碼器。

  從下面的網頁下載一個最新的解碼器。

  http://www1.mplayerhq.hu/MPlayer/releases/codecs/

  並且把其中的檔案解壓之後放入/usr/lib/codecs目錄下。

  tar xvjf all-20061022.tar.bz2 -C /tmp

  cp /tmp/all-20061022/* /usr/lib/codecs

  然後找一個rmvb檔案測試。

  執行如下命令

  mplayer test.rmvb

  或

  gmplaer test.rmvb

  都可以播放這個電影。

  firefox可以使用mplayerplug-in來作為外掛程式來播放網頁中的視頻。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.