MplayerInstallHowto

Differences between revisions 4 and 5
Revision 4 as of 2005-07-22 01:21:15
Size: 2965
Editor: bob
Comment:
Revision 5 as of 2005-07-22 02:01:30
Size: 2631
Editor: bob
Comment:
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
== Overview of the process == == Setting up your ubuntu multiverse repositories ==
Line 14: Line 14:
   1. Setting up your ubuntu repositories.
    
   1. Choosing the right package and installing.
    
   1. Configuring sound.

== Setting up your ubuntu repositories ==

    See AddingMultimediaRepositories
    See AddingRepositoriesHowto
Line 27: Line 19:
    * Many different versions of mplayer exists in ubuntu, we will choose the one that best suits your processor.     There are several different versions of mplayer that exist in ubuntu, you should choose the one that best suits your processor.
Line 29: Line 21:
    * __The different versions available :__     The different versions available :
Line 31: Line 23:
       * '''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.
       * {{{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.
Line 35: Line 27:
    * __Installing mplayer :__

        * __Use your preferred package manager__, be it synaptic, apt-get, or anything else.
    Installing mplayer :
    Use your preferred package manager, be it synaptic, apt-get, or anything else.
Line 39: Line 30:
            * Follow http://www.ubuntulinux.org/wiki/SynapticHowto to install mplayer using synaptic and select the package best suited for your processor as defined above.     Follow SynapticHowto to install mplayer using synaptic and select the package best suited for your processor as defined above.
Line 41: Line 32:
            * Installing mplayer using apt-get :     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 :
Line 43: Line 39:
                * {{{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).
    * {{{mplayer-fonts}}} (to handle subtitles).
    * {{{mozilla-mplayer}}} (mplayer plugin for mozilla to allow playing embedded movies on web pages).
Line 61: Line 48:
    * __Configuring sound in '''gmplayer''' :__ (the one you're using)     * Configuring sound in '''gmplayer''' : (the one you're using)
Line 71: Line 58:
    * __Configuring sound in '''mplayer''' :__     * Configuring sound in '''mplayer''' :
Line 81: Line 68:
## These are only mentionned for the sake of completion. ## These are only mentioned for the sake of completion.

MplayerInstallHowto

TableOfContents()

Introduction

Setting up your ubuntu multiverse repositories

Choosing the right package and installing

  • There are several different versions of mplayer that exist in ubuntu, you should choose the one that best suits your processor. The different versions available :
    • 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 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).

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 exist, just create it) :

######
## Audio drivers

## Ubuntu uses esd by default.
ao=esd

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

######

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