Installation of perfect playing mplayer in LINUX

Source: Internet
Author: User

Sometimes we envy windows for simple settings to play the perfect DVD. Now I tell you that you can play the perfect DVD in LINUX. first, let's talk about my configuration: gigabyte intel845 motherboard, 1.5 GCPU, TNT2 video card, AC97 integrated sound card, sony DVDrom, system RedHat8.0, and then start our installation journey.

1. Install the latest nvidia video card driver. mplayer requires the video card to have 3D acceleration to play the full screen and smooth playback of the DVD:

1. Check the kernel: # uname-

2. For example, my kernel is 2.14.18-14, to http://www.nvidia.com/download the official driver file:

NVIDIA_GLX-1.0-4191.i386.rpm

NVIDIA_kernel-1.0-4191.rh80up.i686.rpm

3. Install the driver:

# Rpm-ivh NVIDIA_kernel-1.0-4191.rh80up.i686.rpm

# Rpm-ivh NVIDIA_GLX-1.0-4191.i386.rpm

4. Configure the XF86Config file:

# Vi/etc/X11/XF86Config

Find Driver "nv" or Driver "vesa" and change to: Driver "nvidia" (press the letter a to change to the insert status, and move the cursor to modify it)

In addition, if the following configuration is available, comment out (that is, add the symbol # before it #):

Load "dri"

Load "GLcore"

Press ESC, enter Colon:, enter wq after colon, and press enter to save and exit.

Restart to see the Nvidia startup interface.

5. Failure Recovery Method: if the driver fails to be installed and cannot enter X, it is in character mode.

# Rpm-e NVIDIA_GLX

# Rpm e NVIDIA_kernel-1.0
Use the 4th-point method to change the original modification.

# Startx

6. Do not confuse the command sequence of installation and recovery.

2. If you confirm that your optical drive supports the DMA function, enable the DMA of the optical drive in the following ways to play the dvd smoothly. Otherwise, there will be a pause:

Refer to the above method to use vim and add options ide-cd dma = 1 to/etc/modules. conf. Restart to enable the DMA mode.

Third, install the mplayer 0.90rc4 player (because the. tgz file is difficult to install, we recommend that you use the. PRM file ):

1. In http://www.piorunek.pl /~ Dominik/linux/pkgs/mplayer/download the following software package:

Mplayer-common-0.90rc4-2.i386.rpm

Mplayer-0.90rc4-2.i386.rpm

Mplayer-skin-default-1.6-1.noarch.rpm

Mplayer-font-iso1-1.0-3.noarch.rpm

Mplayer-gui-0.90rc4-2.i386.rpm

2. The installation method is simple.

# Rpm-ivh mplayer-common-0.90rc4-2.i386.rpm

# Rpm-ivh mplayer-0.90rc4-2.i386.rpm

# Rpm-ivh mplayer-skin-default-1.6-1.noarch.rpm

# Rpm-ivh mplayer-font-iso1-1.0-3.noarch.rpm

# Rpm-ivh mplayer-gui-0.90rc4-2.i386.rpm

Check whether the following RPM packages have been installed on the system before installation. These are system installation packages (on the installation disc)

* SDL-1.2.3-7

* XFree86-libs-4.2.0-8

* Audiofile-0.2.3-1

* Freetype-2.0.9-2

* Libjpeg-6b-19

* Libogg-1.0rc3-1

* Libpng-1.0.14-0.7x.3

* Libtermcap-2.0.8-28

* Libvorbis-1.0rc3-1

* Zlib-1.1.3-25.7

* For vidix support: libgcc-3.1-5 (from RedHat Network)

* For mencoder: lame-libs-3.9x (from my page)

* For GUI:

Glib-1.2.10-5

Gtk +-1.2.10-15

Download point of skin and Font:

Http://www.piorunek.pl /~ Dominik/lin... mplayer/noarch/

3. Create a symbolic connection: # ln-s/dev/hdd/dev/dvd

4. in the menu-others-sound and video-Mplayer, click it to open Mplayer, place it on a DVD disc, right-click it to play the DVD. In my opinion, the effect is as smooth as that of win! Haha!

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.