Describe the perfect mplayer installation manual. Article

Source: Internet
Author: User
This article is completely wrong, but it has been the essence of income. I am very hurt. I am here to protest, I hope the moderator will delete it, And I am posting an article.

: Installation perfect MplayerManual! (From www.linuxfans.org)
: Mail site: Yixian Time and Space Yat-sen channel (Thu Dec 26 22:38:52 2002), mail
:
: MplayerIt is the fastest player in Linux and supports the most media formats. It can play almost
: All win media files! The following describes how to install it:
:
: Most of the articles in this Article refer to the articles posted by the chairman of this site at the ch2000 Technology Forum, http: // www. ch2000
: .Com.cn/lbbbs/cgi-bin/topic.cgi? Forum = 19 & topic = 974 & START = 0 & show = 0, this
: People only make some supplements
:
: If you are using a nvdia video card, be sure to install the NVIDIA for Linux driver. Otherwise, the XV mode is not supported.
: Although it can be played in SDL video mode, the effect is not satisfactory.
:
: 1. Download from this site MplayerThe latest version and the collection package http://www.linu to install the required software packages
: Xfans.org/nuke/modules.php? Name = downloads & d_op = getit & lid = 23
:
: 2. Unzip Mplayer. Zip
: Get MplayerDirectory, CD
: Mplayer, Run the LS command, should be able to see divx4linux-20020418, arial-18, gcc3
:, Default these four directories (three directories have some files, which are not listed here), and MPLA
: Yer-0.90pre5.tar, w32codec-0.60.tar, SDL-1.2.3-1.i686.rpm, SDL-deve
: L-1.2.3-1.i686.rpm these four articles .?
: 3. Upgrade GCC:
: Check Your GCC version and run gcc-V to check the output. If it is less than 3.0, it is recommended to install GCC.
: More than 3.0 (according MplayerAccording to the official instructions, GCC below 3.0 can use./configre -- disabl
: E-gcc-checking parameter compilation, but may be unstable.) install gcc3 by entering GC.
: C3 directory, run rpm-IVH *. rpm
: -- Nodeps, all installed, open a terminal window and run mV/usr/bin/g
: CC/usr/bin/gcc2 and MV/usr/bin/gcc3/usr/bin/GCC, and then run gcc-V,
: Check whether the output is 3.0.2. If yes, OK. If no, check the installation steps.

This GCC installation really kills people. In fact MplayerThe best supported is the 2.95 series.
2.96 is used by RedHat in 7.x, which has a lot of compatibility problems. It is said that it is related to the CPU-optimized code.
Gcc3.0 is a relatively bad version, which improves the C ++ code and has a very poor compilation effect on the c code.
The compilation code is optimized only when gcc3.2 is reached.
Generally, don't install GCC, especially nodeps.
Unless you know what you are doing, you are looking for trouble.
In my own experience, there were no serious problems in 2.96.


:
4. Install SDL and SDL-devel:
:
: Check whether your system has installed SDL and the SDL-devel library of the same version (the same version must be used ).
: Run "Software Package Manager", click "search software package", enter SDL, search, if you can find
: SDL and SDL-devel packages are installed. if the version is higher than 1.2.0, skip to step 1.
:; If not installed or the version is relatively low (less than 1.2.0), install

: The SDL package provided on this site, command rpm-ivh sdl *. rpm -- nodeps or rpm-uvh SDL *. rpm
: -- Nodeps. Run SDL-config -- version after installation to check whether the output is correct.
: 1.2.3. If it is correct, OK. If it is incorrect or has a problem, check the steps or send a post to ask.

Users who use RedHat do not need to use it. The database of the RedHat generation is enough. Users are disgusted with using the nodeps parameter.
Teach bad guys

:
: 5. Install the Win32 for Linux dll library: (required. Only after you install it can you play the media files under Win .)
: Parts, including ASF, WMV, MP3, Avi, dat, mpg, etc)

Here it is just fart. MP3 has always been using libmp3, and mpegii also has a special decoding program.
These so files and qt dll files must be installed.
Now FFMPEG has native WMV decoding codecs, Win32 has
In most cases, unless you want to use mediaplayer 9-encoded media programs
Besides, this DLL package is not used.

: Run the command tar vxf w32codec-0.60.tar. you must go to the w32codec-0.60.tar directory and create
:/Usr/lib/Win32 Directory (mkdir/usr/lib/win32.pdf, under the w32codec-0.60.tar directory
: There are files copied to the/usr/lib/Win32 Directory (CP w32codec-0.60/*. */usr/lib/Win32)
:
: 6. Install divx5 for Linux: (if you want to play a movie file in DivX format, you must install this

Who said yes ??

: Xine can also be used after this is installed. recommended)
: Go to the divx4linux-20020418 directory (CD divx4linux-20020418) and run./In
: Stall. Sh
:


: 7. decompress, compile, and installMplayer:
: Tar vxf MPlayer-0.90pre5.tar, CD MPlayer-0.90pre5.tar,./configure (such
: If you want the GUI operation interface, use this command./configrue -- enable-Gui, but it seems that
: The version of GUI compilation is incorrect. Neither linuxcn nor I can succeed, and the pre4 version is okay.), make, make
: Install, run successfullyMplayer(This is to make it establish. mplayer in the home directory.
: Configure the directory for the next step)
:
Now RC2 is available and many new functions are added, such as OSD menu and TrueType font
FFmpeg has been greatly improved

However, there are many problems with configuration, such as using RTC
Rendering Parameters
Many useful plug-ins
Read more documents.
There are now good Chinese documents
BTW smth's hooey is a big bull in this regard.
If you have any questions, look for him.
He is happy to help others.

: 8, copy the configuration file :( Note: The following etc directory is extracted from the previous MPlayer-0.90pre5 Mesh
Directory, non-/etc)
: Cp etc/codecs. conf ~ /. Mplayer
: Cp etc/example. conf ~ /. Mplayer/config
:
: 9. Install font and skin: (if you select./configure -- enable-Gui, skin is required; otherwise, skin does not need to be installed)
: Enter your home directory, display hidden files, enter the. mplayer folder, and create two folders: font and skin. Then all the files in the arial-18 are written into the font, the entire default folder (Note: Is together with the file:
: 10. Running Mode
: Two types: (1) mpalyer/path/media file name to be played; (2) gmplayer (only compiled with./configure -- enable-Gui (A6 <n?
:
:--
Together) copy to skin!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.