Article Title: Use Mplayer to play movies of various formats in Linux. Linux is a technology channel of the IT lab in China. Linux system management, kernel research, embedded systems, open source, and other basic classification steps require 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.
When you use a common user to execute mplayer, the following information is displayed:
[jzhenyon@dhcp-0-151 scsi]$ mplayerMPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer TeamCPU: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz (Family: 6, Model: 15, Stepping: 6)CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1Compiled 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 for testing.
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.