Perfectly installed MPlayer manual! (Reposted, please indicate www.linuxfans.org)
Date: November 19 @ 00:40:34 CST Article theme: Multimedia class
MPlayer is the fastest player, supporting the most player in Linux, which is almost playing all WIN media files! The following describes its installation method ... MPlayer is the fastest player in Linux, supports the most player in the media format, which can play all WIN media files! The following describes its installation method: Most of this article refers to the article on the Chair of this site in the CH2000 Technology Forum, http://www.ch2000.com.cn/lbbs/cgi-bin/topic.cgi? Forum = 19 & Topic = 974 & Start = 0 & show = 0, I only make some friends who add NVDIA graphics cards to be sure to install NVIDIA for Linux driver, otherwise the XV mode cannot be supported, although it can be played with SDL video mode, but the effect is not ideal. 1. Download the latest version of MPlayer in this site and install the set package of the required package http://www.linuxfans.org/nuke/modules.php?name=downloads&d_op=getiTiD=23 2, unzip mplayer.zip Get MPLAYER Directory, CD MPlayer, run the LS command, you should see the four directories of Divx4Linux-20020418, Arial-18, GCC3, Default (there are some files in three directories, this is not listed here), and MPlayer-0.90PRE5 .TAR, W32CODEC-0.60.tar, SDL-1.2.3-1.i686.rpm, SDL-Devel-1.2.3-1.i686.rpm These four files 3, upgrade GCC: Check your GCC version, run GCC -V looks out, if it is 3.0 or less, it is recommended to install GCC3.0 (according to MPLAYER's official instructions, GCC below 3.0 can be compiled with ./configre --disable-gcc-checking parameters, but may not Stable), the method of installing GCC3 is: enter the GCC3 directory, run rpm -ivh *.rpm --Nodeps, all 100% installed, open a terminal window, run MV / USR / BIN / GCC / USR / BIN / GCC2 And MV / USR / BIN / GCC3 / USR / BIN / GCC, run GCC -V, see if the output is 3.0.2, if yes, OK, not, check the installation step.
4, install SDL and SDL-Devel: Check your system if there is an SDL and the same version (must be the same version): Run "Software Pack Manager", press the "Find Pack" button, Enter SDL, lookup, if you can find SDL and SDL-Devel packets, it is already installed. If the version is higher than 1.2.0, then jump to step 5; if it is not installed or low (less than 1.2.0), Then install the SDL package provided by this site, command rpm -ivh sdl * .rpm --Nodeps or rpm -uvh sdl * .rpm --Nodeps, run SDL-Config -Version [/ color] after installation, look at the output Is it 1.2.3, if it is correct, then ok; incorrect or have a problem, check the steps, or post ask. 5. Install the DLL library of Win32 for Linux: (must, only if you install it can play media files under WIN, including ASF, WMV, MP3, AVI, DAT, MPG, etc.) Run: TAR VXF W32codec-0.60.tar, Get this catalog of W32CODEC-0.60.tar, create / usr / limited / win32 directory (MKDIR / USR / LIB / WIN32), copy all files in the W32CODEC-0.60.tar to / usr / lib / win32 directory (CP W32CODEC -0.60 /*.* / usr / lib / win32) 6, install Divx5 for Linux: (if you want to play the movie file in the DivX format, you must install this, after installing this, XINE can also be used, recommended) Enter DivX4linux-20020418 Directory (CD Divx4Linux-20020418), run ./install.sh 7, unzipped compilation installation MPLAYER: TAR VXF MPLAYER-0.90pre5.tar, cd mplayer-0.90pre5.tar,. / Configure (if you want GUI's operation interface This command is changed ./configrue --enable-gui, but it seems that this version of the GUI compilation is wrong, I and Linuxcn can't succeed, and the PRE4 version is no problem), make, make install, successfully run MPLAYER. This is to make it created in a home directory, so the next step) 8, copy the configuration file: (Note: Below this ETC directory is the mplayer-0.90pre5 directory decompressed in the previous step, non- / etc) cp etc / codecs.conf ~ / .MPlayer CP etc / example.conf ~ / .mplayer / config 9, installation font and skin: (if you choose ./configure --enable-gui) only Skin, Otherwise, SKIN does not need to be installed) Enter your own home directory, display hidden files, enter the .mplayer folder, create 2 built folders: font and skin.
Then copy all the files in Arial-18 into the Font, copy the entire folder of the Default (note: is along with the folder)! 10, running mode: (1) MPALYER / path / media file name to play; (2) GMPlayer (only ./configure --enable-gui compiled this command is valid) 11, About ~ / .mplayer Some configuration instructions for / config files VO = XV (Select the default play mode, the XV mode is the mode of supporting the hard acceleration function of the graphics card, which is small for the CPU, recommended; more display mode can be used to see the MPlayer -vo Help The VESA mode can be played when the XWIN interface is not started, a little bit of the Jinshan Mountainea under DOS) AO = OSS (Select Sound Play mode, OSS is the best playing mode, recommended; you can also try Test SDL mode) FS = yes (full screen mode, YES, by default, the default is 1: 1 play mode) zoom = yes (instant change movie picture size, yes) If you use the mouse free to pull the picture to pull the picture, NO is not possible) GUI = YES (default is the graphical operation interface, which requires you to compile it before. But if you don't have Yes. GUI operation interface) Skin = default (set the default SKIN, change the value on the right side of the equal sign to Skin) You can set the desired Skin as the default, this parameter is valid in the GUI operation interface) Cache = 8192 ( The default play cache size, if the machine is large enough, increase it, if not very large, such as 128 or less, or use the default calculation) framedrop = yes (allowed to jump frame if your machine CPU speed is very Very slow, please put this Yes, default is NO or front plus ## will be prohibited; for machines above 366MHz, it is recommended to set it into no or front plus ##) Other settings Use the default to do some tips: Standard play mode Generally, press the F button to switch to full screen mode, then press the restoration, press Q to exit; playback If the sound and the picture are not synchronized, you can adjust the number (shift =) or - numbers; if you play DivX AVI if To support Chinese subtitles, you must have the subtitle files in the two formats of IDX and SUBs in your movie file directory. Support network broadcast flow files, such as entering mplayer http: //IP/1.asf You can play the 1.asf attraction online: ./ Configure Output window, note Enabled Optional Drivers: Codecs: Divx5Linux Libavcodec DirectShow Wi N32 This line represents all media formats that support movie formats include DivX, Avi, Win32DLL; if you miss DivX, check your DivX4Linux installation if you miss Win32, check your Win32Codec installation. No correctly.