LINUX Solutions Under Movie Player - MPLAYER

xiaoxiao2021-03-06  150

-------------------------------------------------- ------------------------------------------- This article is original, copyright Author zxhong all, anyone needs to reprint articles, must be certified by Zxhong authorization. -------------------------------------------------- -------------------------------------------

MPlayer is a movie player under Linux. Of course, it can also play the MP3, WMA and other sound format files, in short, it can play all the multimedia format files and MMS, RTSP streaming media files you see. If you want to click on the webpage directly to watch the MMS, RTSP streaming media files, you need to install the corresponding plugins that support the Mozilla browser, and the knowledge about streaming will be described later.

The following processes are adopted under redhat9, suitable for friends who have initially understood Linux:

1. Download and install the required files: (1) Main program: http://www1.mplayerhq.hu/mplayer/releases/mplayer-1.0pre5.tar.bz2 (2) Font file: http://www1.mplayerhq. HU / MPLAYER / RELESES / FONTS / FONT-Arial-ISO-8859-1.tar.bz2 (3) SKIN file (supporting GUI): http://www1.mplayerhq.hu/mplayer/skin/plastic-1.2.tar .bz2

Of course, you can also download other skin files (4) support AVI and other W32 multimedia format plug-ins:

http://www1.mplayerhq.hu/mplayer/releases/codecs/win32codecs-20040703.tar.bz2

(5) Support for multimedia format plugins such as RealPlay (RM, RAM, etc.)

http://www1.mplayerhq.hu/mplayer/releases/codecs/essential-20040704.tar.bz2

If you only run under the console (text), only download (1) (4) (5), if you want the graphical interface and support Chinese, the above 5 must be downloaded.

2, copy the above 5 files under / root (you can choose the directory yourself), unzip: [root @ localhost root] # tar jxvf mplayer -...0pre5.tar.bz2 [root @ localhost root] # tar jxvf font-arial -ISO-8859-1.tar.bz2 [root @ localhost root] # tar jxvf plastic-1.2.tar.bz2

[root @ localhost root] # tar jxvf win32codecs-20040703.tar.bz2 [root @ localhost root] # tar jxvf essential-20040704.tar.bz2

After the decompressed file name is relatively long, it is possible to consider that the folder is changed or connected by commands such as MV or LN, which is convenient for the following procedure. This document does not make a file name process.

3, copy W32CODEC support library (Win32CODECS-20040703) and RealPlay Support library (Essential-20040704)

Be sure to implement this step, and you must pay attention to the directory of copying. If you have installed RealPlay8 or RealPlay9, you should pay attention to your directory when you run Configure when you have already installed RealPlay8 or RealPlay9. [root @ localhost root] # mkdir / usr / lib / win32 [root @ localhost root] # cp / root / win32codecs-20040703 / * / usr / lib / win32 [root @ localhost root] # cp -r / root / essential -20040704 / usr / lib4, enter the mPlayer installation directory and execute, pay attention to parameters: [root @ localhost root] # cd mplayer-1.0pre5 [root @ localhost mplayer-1.0pre5] # ./configure --enable-gui --disable -gcc-checking --with-reallibdir = / usr / lib / essential-20040704 --language = zh_cn

# Description: - Enable-GUI is the player used to support the graphical interface, - Disable-gcc-checking is used to skip the check-GCC version (but not guaranteed to pass the following under all Linux Operation. If this is, please explain it), - with-reallibdir = / usr / lib / essential-20040704 is the directory where the RealPlay support library is located. If you have installed RealPlay 8, this option should be: - with-reallibdir = / usr / lib / realplay8 / codecs If you have installed RealPlay 9 (you can modify according to actual changes): - with-reallibdir = / root / REAL / CODECS, --Language = zh_cn is used to specify the font of MPLAYER as Chinese. The 1.0 version already supports the RTSP stream, so you don't have to- Inable-Live.

5. Execute: [root @ localhost mplayer-1.0pre5] # make [root @ localhost mplayer-1.0pre5] # make install

6, copy in the font: [root @ localhost mplayer-1.0pre5] # cp / root / font-arial-iso-8859-1 / font-arial-14-ISO-8859-1 / * / usr / local / share / MPlayer / Font /

7, copy in Skin: [root @ localhost mplayer-1.0pre5] # cp -r / root / plastic / usr / local / share / mplayer / skin / default

Note that Skin's first letters should be capitalized

8, copy it into the input.conf file: [root @ localhost mplayer-1.0pre5] # cp / root / mplayer-1.0pre5 / etc / input.conf / usr / local / share / mplayer /

9. Run the GMPlayer in X When you start the graphical interface broadcast mode, run MPlayer under the console to start the character playback mode.

About the MPLAYER player is very simple, you will know it.

Online reference documentation:

http://mp.dev.hu/docs/html/en/documentation.html

http://www.mplayerhq.hu/homepage/design7/dload.html

转载请注明原文地址:https://www.9cbs.com/read-127661.html

New Post(0)