UbuntuHelp:MPlayer/Breezy
来自Ubuntu中文
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
MPlayer is a powerful and versatile media player that can play all types of free media formats (see the FreeFormats page) as well as most 'non-free' media formats. See the RestrictedFormats wiki page for instructions for enabling non-free formats in MPlayer and gmplayer. For more information visit the MPlayer web site.
Installing MPlayer on Ubuntu 5.10 (Breezy Badger) and earlier
Choosing the right package
The MPlayer package for Breezy comes in a number of different versions. The mplayer-386 package is the standard package that will work best with most computers. The other packages are optimized to take advantage of some CPU's capabilities. The following chart will help you choose the package that will best suit your computer architecture and CPU. Enable the multiverse repository and install the correct package using your favorite package manager, or use the terminal command line that is provided in the chart.
- If you are unsure what version you need then you should try mplayer-386 first.
- Only install mplayer-586 or mplayer-k6 if your CPU is listed in the corresponding chart. Newer CPUs such as the AMD Athlon or Intel Pentium IV will run much faster with the standard mplayer-386 package. mplayer-386 is compiled with runtime CPU detection and takes advantage of modern features like MMX2, SSE, SSE2, 3DNow!, 3DNow2! on CPUs that support it.
- The packages mplayer-686 and mplayer-k7 are placeholders or "dummy packages" that install mplayer-586 and mplayer-k6 respectively. Don't install these packages even if you have a i686 or k7 class CPU. mplayer-386 will usually perform significantly better (30-40% decrease in CPU usage).
Note that these instructions apply to Ubuntu 5.10 (Breezy Badger) and earlier only. See the MPlayer wiki page for installation instructions for Ubuntu 6.06 LTS (Dapper Drake).
Architecture | <:> Processor Family | <:> mplayer Package | <:> Terminal Command |
32-bit PC (x386) | Pentium III | mplayer-586 | sudo apt-get install mplayer-586 |
AMD K6, K6-2, K6-3 | mplayer-k6 | sudo apt-get install mplayer-k6 | |
All other x86 CPUs. (for example Pentium MMX, Pentium II, Pentium IV, Pentium M, Pentium D, AMD Athlon, AMD Duron, AMD Sempron, VIA C3) |
mplayer-386 | sudo apt-get install mplayer-386 | |
64-bit PC (AMD64) | all | mplayer-amd64 | sudo apt-get install mplayer-amd64 |
Power'PC' | all | mplayer-powerpc | sudo apt-get install mplayer-powerpc |
Power Macintosh G4 and later | mplayer-g4 | sudo apt-get install mplayer-g4 |
Configuration
The configuration options for MPlayer given here are mostly taken from Ubuntu 6.06 and should work on most computers. To use this configuration, open MPlayer's configuration file
~/.mplayer/config
and edit the file as follows:
# Specify default video driver (see mplayer -vo help for a list). vo=xv,sdl,x11 # Specify default audio driver (see mplayer -ao help for a list). ao=alsa,oss,sdl,esd,arts # Drop frames to preserve audio/video sync. framedrop = yes # get a default OSD font from fontconfig fontconfig = yes font = "Sans" subfont-text-scale = 3