Use mplayer to play movies of various formats

Source: Internet
Author: User
Use mplayer to play movies of various formats-Linux general technology-Linux technology and application information. The following is a detailed description. This step requires the use of the linva Repository

Use root to execute the command
Yum install mplayer-gui mplayerplug-in mplayer-doc mplayer-fonts

After the installation, mplayer is successfully installed.

If you use a common user to execute mplayer, the following information is displayed:
[Maid @ dhcp-0-151 scsi] $ mplayer
MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel (R) Core (TM) 2 CPU T7200 @ 2.00 GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags: MMX: 1 MMX2: 1 3 DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Usage: mplayer [options] [url | path/] filename
.......

You can also execute gmplayer to display a graphic dialog box.

Next, you need to install the decoder.

Download the latest decoder from the following webpage.
Http://www1.mplayerhq.hu/MPlayer/releases/codecs/

Decompress the files and put them in the/usr/lib/codecs directory.

Tar xvjf all-20061022.tar.bz2-C/tmp
Cp/tmp/all-20061022/*/usr/lib/codecs

Find an rmvb file to test

Run the following command:
Mplayer test. rmvb
Or
Gmplaer test. rmvb

You can play this movie.

Firefox can use mplayerplug-in as a plug-in to play videos on webpages.

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.