Mplayer Installation Process in fc6

Source: Internet
Author: User
Mplayer is a movie player with powerful functions in Linux. Of course, it can also play MP3, WMA, and other audio format files.
The following process is passed in redhat9, which is suitable for users who have a preliminary understanding of Linux:

1. download and install the required files:
(1) Main Program: http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre5.tar.bz2
Font File: http://www1.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
(3) skin file (GUI supported): http://www1.mplayerhq.hu/MPlayer/Skin/plastic-1.2.tar.bz2

You can also download other skin files.
(4) Support for Avi and other W32 multimedia format plug-ins:

Http://www1.mplayerhq.hu/MPlayer/releases/codecs/win32codecs-20040703.tar.bz2

(5) support for multimedia plug-ins such as realplay (RM, Ram)

Http://www1.mplayerhq.hu/MPlayer/releases/codecs/essential-20040704.tar.bz2

If you are only running in the console (text), you only need to download (1) (4) (5). If you want to use a graphical interface and support Chinese characters, you must download all the above five.

2. Upload the above five files to/root (you can select the directory by yourself) and decompress the package:
[Root @ localhost root] # tar jxvf MPlayer-1.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 decompression, the file name is relatively long. You can use commands such as MV or ln to rename or connect the folder to facilitate the following process. This document does not process file names.

3. Copy the w32codec support library (win32codecs-20040703) and realplay support library (essential-20040704)

You must first execute this step, and note that if you have installed realplay8 or realplay9, you do not need to merge it into the support library of realplay, note the directory where configure is running.
[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/lib

4. Go to the mplayer installation directory and run the command. Note the following parameters:
[Root @ localhost root] # MPlayer-1.0pre5 CD
[Root @ localhost MPlayer-1.0pre5] #./configure -- enable-Gui -- disable-gcc-checking -- With-reallibdir =/usr/lib/essential-20040704 -- language = zh_cn
(The -- disable-gcc-checking parameter ---- jiangtao9999 is not recommended)

# Note: -- enable-Gui is a broadcaster that supports graphical interfaces, -- disable-gcc-checking is used to skip the GCC version check (but it is not guaranteed that the following operations can be performed in all Linux systems. In this case, please note), -- With-reallibdir =/usr/lib/essential-20040704 is used to specify the directory of the realplay support library. If you have installed realplay 8, the option should be -- With-reallibdir =/usr/lib/realplay8/codecs. If you have installed realplay 9 (you can modify it as needed): -- With-reallibdir =/root/real/codecs, -- language = zh_cn is used to specify the font of mplayer as Chinese. Version 1.0 already supports RTSP streams, so you don't need to use -- enable-live.

5. Execute the following commands in sequence:
[Root @ localhost MPlayer-1.0pre5] # Make
[Root @ localhost MPlayer-1.0pre5] # make install

6. font of the token:
[Root @ localhost MPlayer-1.0pre5] # cp/root/font-arial-iso-8859-1/font-arial-14-iso-8859-1/*/usr/local/share/mplayer/font/

7. merge into skin:
[Root @ localhost MPlayer-1.0pre5] # cp-r/root/plastic/usr/local/share/mplayer/skin/Default

Note that the first letter of the skin must be capitalized.

8. Input input the input. conf file to the terminal:
[Root @ localhost MPlayer-1.0pre5] # cp/root/MPlayer-1.0pre5/etc/input. CONF/usr/local/share/mplayer/

9. Run gmplayer in X to enable the graphic interface broadcasting mode. Run mplayer in the console to enable the character playing mode.

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.