MplayerInstallHowto

Differences between revisions 21 and 22
Revision 21 as of 2006-06-08 04:50:53
Size: 4770
Editor: 12-217-223-62
Comment: Configuration should be its own section, not part of Ubuntu 5.10
Revision 22 as of 2006-06-14 22:44:00
Size: 82
Editor: dtm9-d9bbbb5c
Comment: redirecting to MPlayer
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;">'''Contents'''[[BR]][[TableOfContents]]|| ## This page has been consolidated at MPlayer and subpages.
Line 3: Line 3:
== Introduction ==

  '''[http://www.mplayerhq.hu MPlayer]''' and its graphical cousin, '''gmplayer''' are versatile media players available from the [http://www.ubuntulinux.org/ubuntu/components multiverse] repository. They can play all types of FreeFormats media, and with the addition of some packages available from outside of Ubuntu, they can also play most non-free media formats. See RestrictedFormats for instructions for enabling non-free formats in MPlayer and gmplayer.

== Before you start ==
  You must have '''administrative privileges''' to install packages. RootSudo explains how Ubuntu provides the necessary privileges.

  In order to install MPlayer, you will need to enable the [http://www.ubuntulinux.org/ubuntu/components/ multiverse] repository. AddingRepositoriesHowto explains how to enable the multiverse repository.

== Ubuntu 6.06 (Dapper Drake) ==
  Beginning with Ubuntu 6.06, you no longer need to match your CPU to the proper MPlayer package. Simply [:AddingRepositoriesHowto: enable the multiverse repository] and install the {{{mplayer}}} package.

== Ubuntu 5.10 (Breezy Badger) and earlier ==

=== Choosing the right package ===
  MPlayer comes in several flavors, some of which are optimized to take advantage of your CPU's capabilities. The following chart will help you choose the package that will best suit your computer. [:AddingRepositoriesHowto: 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.

  Note that you should only install ''mplayer-586'' or ''mplayer-k6'' if you have one of the CPU's listed for those packages in the chart. Newer CPU's such as the AMD Athlon or Intel Pentium 4 will run much faster with the ''mplayer-386'' package. ''mplayer-386'' is compiled with runtime CPU detection and takes advantage of modern features like MMX2, SSE, SSE2, 3DNow!, 3DNow2! on CPU's that supports it.

  attachment:IconsPage/IconDialog-Warning1.png The packages ''mplayer-686'' and ''mplayer-k7'' are also available as dummy packages that install ''mplayer-586'' and ''mplayer-k6'' respectively. '''Never''' install those packages, even if you have a i686 or k7 class CPU. ''mplayer-386'' will give significantly better performance (30-40% decrease in CPU usage).

## Comment regarding why I only list Pentium III for the mplayer-586 package:
##
## The Pentium, Pentium MMX or Pentium 2 are usually called i586 while Pentium III is i686. However mplayer-586 is compiled with SSE wich i586 CPU's don't support. I don't have any of those CPUs to try this with, but it should break... The package is also compiled with MMX, which shouldn't be required for a i586 package since the original Pentium don't have that.

|| '''Distribution''' || '''processor family''' || '''mplayer package''' || '''terminal command''' ||
|| 32-bit PC (i386) || Intel 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 2, Pentium 4, 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 ||
|| Mac (PPC) || all || mplayer-powerpc || sudo apt-get install mplayer-powerpc ||
|| || g4 and above || mplayer-g4 || sudo apt-get install mplayer-g4 ||

== Configuration ==
  Configuring MPlayer and gmplayer is not obvious to the casual observer. The configurations options given below are mostly taken from Ubuntu 6.06, and should work on most computers. To use this configuration, first open your MPlayer configuration file:
  {{{
gedit ~/.mplayer/config
}}}

  Then cut and paste the following block into the file:
  {{{
# 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
}}}

  Save and close the file.

== Streaming Video ==
  MPlayer and gmplayer provide excellent streaming video support for Mozilla, Firefox, Epiphany and Konqueror. To enable support for streaming media install the package {{{mozilla-mplayer}}}.


CategoryDocumentation
#REDIRECT MPlayer

#REDIRECT MPlayer

MplayerInstallHowto (last edited 2008-08-06 17:01:29 by localhost)