MplayerInstallHowto

Differences between revisions 1 and 24 (spanning 23 versions)
Revision 1 as of 2005-05-28 20:48:24
Size: 5600
Editor: adsl-213-190-44-43
Comment: imported from the old wiki
Revision 24 as of 2006-06-14 22:46:12
Size: 19
Editor: dtm9-d9bbbb5c
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= MplayerInstallHowto =

{{{
MplayerInstallHowto
}}}

= MplayerInstallHowto =

== 1- Introduction ==

    * This howto will help you install and configure mplayer.
    
    * It is aimed at hoary users. Warty users should go here InstallingMplayerFromHoaryInWarty

== 2- Contents ==

    * 1- Introduction
    
    * 2- Contents
    
    * 3- Overview of the process
    
    * 4- Setting up your ubuntu repositories
      
    * 5- Choosing the right package and installing
    
    * 6- Configuring sound
    
    * 7- Author
    
    * 8- About the document

== 3- Overview of the process ==

    * 4- Setting up your ubuntu repositories.
    
    * 5- Choosing the right package and installing.
    
    * 6- Configuring sound.

== 4- Setting up your ubuntu repositories ==

    * This chapter will make sure you have access to hoary repositories, section multiverse.
    
    * You can skip this step if you think you have already configured your package manager with enough sources and in fact, you're encouraged to do so. Things won't break. At most you will not find the package and will have to read this chapter then.
    
    * To enable the multiverse section of ubuntu repositories, you can either :
        
        * Use the "Ubuntu update manager" and choose "Preferences". This is the user-friendly way to do it.
            
        * Add "multiverse" for an ubuntu repository in /etc/apt/sources.list.
            
        * Use this default /etc/apt/sources.list (which is really good by the way) :

------
{{{
## Hoary
## Security
deb http://security.ubuntu.com/ubuntu hoary-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu hoary-security main restricted universe multiverse
## Major bug fixes
deb http://archive.ubuntu.com/ubuntu hoary-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu hoary-updates main restricted universe multiverse
## Main archive
deb http://archive.ubuntu.com/ubuntu hoary main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu hoary main restricted universe multiverse
}}}
------

== 5- Choosing the right package and installing ==

    * Many different versions of mplayer exists in ubuntu, we will choose the one that best suits your processor.
    
    * __The different versions available :__
    
        * You can see the complete list of available versions here http://packages.ubuntu.com/hoary/allpackages if you ''really'' want to.
        
        * __Basically, you will have to choose one of these packages :__
        
            * '''mplayer-586''', this version is for Pentium Pro/Celeron/Pentium II/Pentium III/Pentium IV.
            
            * '''mplayer-k6''', this version is for AMD K6/Duron/Athlon.
            
            * '''mplayer-amd64''', this version is for AMD64 CPUs.

    * __Installing mplayer :__

        * __Use your preferred package manager__, be it synaptic, apt-get, or anything else.
        
            * Follow http://www.ubuntulinux.org/wiki/SynapticHowto to install mplayer using synaptic and select the package best suited for your processor as defined above.
        
            * Installing mplayer using apt-get :
            
                * '''sudo apt-get install mplayer-586''' for the mplayer-586 version.

                * '''sudo apt-get install mplayer-k6''' for the mplayer-amd64 version.

                * '''sudo apt-get install mplayer-amd64''' for the mplayer-amd64 version.
                
            * __You may also consider installing :__
            
                * __mplayer-fonts__ (to handle subtitles).
                
                * __mozilla-mplayer__ (mplayer plugin for mozilla to allow playing embedded movies on web pages).

== 6- Configuring sound ==

    * Mplayer-* packages really provide mplayer '''and''' gmplayer. Mplayer is more a command-line version of mplayer and gmplayer (the one you're using) a graphical version.

    * Ubuntu uses esound as its default sound daemon, we will configure mplayer to use the appropriate audio driver, '''esd'''.

    * __Configuring sound in '''gmplayer''' :__ (the one you're using)
    
        * Start mplayer in "Menu" -> "Sound & Video" -> "Mplayer".
        
        * Right-click on the mplayer window and select "Preferences".
        
        * In the "Audio" tab, choose the "'''esd'''" driver.
        
        * Validate your change with "OK" and exit mplayer.
    
    * __Configuring sound in '''mplayer''' :__

        * Mplayer reads its configuration file from ~/.mplayer/config (if it does not exists, just create it) :

------
{{{
######
## Audio drivers

## Ubuntu uses esd by default.
ao=esd

## These are only mentionned for the sake of completion.
#ao=oss
#ao=alsa
#ao=arts

######
}}}
------
    
== 7- Author ==

    * Yannick Le Saint (kyncani) <y.lesaint@gmail.com>
    
    * Got valuable help from ubuntu-doc mailing list.
  
== 8- About the document ==

    * 13/05/2005, 07:11
    
        * Configure gmplayer also, as it is our main interest.
        
        * Advise some related packages.
    
    * 13/05/2005, 04:20
    
        * Removed w32codecs, as the package is not in ubuntu.
        
        * Added link to SynapticHowto.
        
        * Added clarity on which version for which processor.
        
        * Ubuntu uses esd by default.
    
    * 13/05/2005, 23:00
    
        * First version.
#REDIRECT MPlayer

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