新聞中心
在Linux系統(tǒng)中,MPlayer是一款非常強(qiáng)大的多媒體播放器,它支持各種格式的電影文件,包括常見的在Linux系統(tǒng)中,MPlayer是一款非常強(qiáng)大的多媒體播放器,它支持各種格式的電影文件,包括常見的MPEG、AVI、OGG、FLAC等,本文將詳細(xì)介紹如何使用MPlayer播放各種格式的電影。

安裝MPlayer
在Linux系統(tǒng)中,我們可以通過以下幾種方式安裝MPlayer:
1、使用系統(tǒng)包管理器安裝:以Ubuntu為例,打開終端,輸入以下命令:
sudo apt-get update sudo apt-get install mplayer
2、從官方網(wǎng)站下載源代碼編譯安裝:訪問MPlayer官方網(wǎng)站(http://www.mplayerhq.hu/),下載最新版本的源代碼包,解壓后進(jìn)入目錄,執(zhí)行以下命令進(jìn)行編譯安裝:
./configure make sudo make install
基本操作
1、啟動(dòng)MPlayer:在終端中輸入mplayer,按回車鍵啟動(dòng)MPlayer。
2、播放電影:在MPlayer界面中,輸入open filename,按回車鍵播放指定格式的電影文件,要播放一個(gè)名為“example.avi”的視頻文件,輸入open example.avi。
3、暫停/恢復(fù)播放:按下空格鍵暫停播放,再按一次空格鍵恢復(fù)播放。
4、停止播放:按下“q”鍵停止播放。
5、退出MPlayer:按下“ESC”鍵退出MPlayer。
播放各種格式的電影
1、MPEG格式:MPEG是一種廣泛使用的視頻壓縮標(biāo)準(zhǔn),常見的有MPEG-1、MPEG-2和MPEG-4,在MPlayer中,直接輸入文件名即可播放,要播放一個(gè)名為“example.mpg”的視頻文件,輸入open example.mpg。
2、AVI格式:AVI是一種微軟開發(fā)的音視頻交叉格式,具有較高的兼容性,在MPlayer中,直接輸入文件名即可播放,要播放一個(gè)名為“example.avi”的視頻文件,輸入open example.avi。
3、OGG格式:OGG是一種開源的音視頻壓縮格式,具有較高的壓縮率和音質(zhì),在MPlayer中,需要安裝額外的解碼器才能播放OGG格式的視頻文件,首先安裝FFmpeg工具包:
sudo apt-get install ffmpeg ffmpeg-tools libavcodec-extra libavformat-extra libavutil-extra libswscale-extra libtheora-extra libvorbis-extra libxvidcore-extra libx264-extra libx265-extra yasm
在MPlayer中使用VLC作為后端播放器來播放OGG格式的視頻文件:輸入vo_vlc,按回車鍵啟用VLC后端播放器,接下來,輸入open example.ogv,按回車鍵播放OGG格式的視頻文件。
4、FLAC格式:FLAC是一種無損音頻壓縮格式,具有較高的音質(zhì),在MPlayer中,需要安裝額外的解碼器才能播放FLAC格式的音頻文件,首先安裝FLAC工具包:
sudo apt-get install flac flac-utils lame nautilus-scripts mpg123 mpg321 ogg123 vorbis-tools wavpack wmainfo unrar unzip vlc gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-plugins-good gstreamer0.10-plugins-base gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad gstreamer0.10-plugins-good gstreamer0.10-plugins-base gstreamer0.10-plugins-good gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10-plugins-base gstreamer0.10 msplaye -ao alsa filennamen -f flac -
網(wǎng)站欄目:如何使用LinuxMplayer播放各種格式的電影
網(wǎng)頁網(wǎng)址:http://m.fisionsoft.com.cn/article/dpopoce.html


咨詢
建站咨詢
