How to Install Mplayer (a brief guide)

I have seen many people struggling to get the MPlayer working in GNU/Linux and the following is a simplified guide for these people, it worked for me. Follow this method in any disto, it should work, unless of course if you don’t have the basic resources like make, gcc and etc.

Before you install MPlayer, it asks for either DivX or XVid codec (not sure if they are available in you distro) else fetch it from http://www.xvid.org/ and http://download.divx.com/labs/ divx611-20060201-gcc4.0.1.tar.gz. Just install them both so you can use both of them. First install these two, so mplayer can support these codecs as well. It’s not a big deal to install these codecs.

 

DivX has a shell script called install.sh just run it using ./install.sh command. By the way, to extract a tar.gx or a tgx file, use the following command tar –xzvf file_name.tar.gx To extract a tar.bx2 file or a tbz file use the following command.

tar –xjvf file_name_here.tar.bz2

for xvid codec uncompress it and go to that directory and in that, go to build/generic
and then do the following

  • ./configure
  • make
  • make install

Then download MPlay from the following link http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre8.tar.bz2.
Then start installing MPlayer. uncompress it using this command

  • tar -xjzf MPlayer-1.0pre8.tar.bz2

.Go into that directory that it creates.

  • ./configure –enable-gui

If you don’t use –enable-gui option it will not compile it to enable the GUI skin.

  • make
  • make install

Then install a font Copy a *.ttf file form any ware to the /user/local/share/mplayer/ directory and rename it to subfont.ttf.

Then install a skin. Download any skin from http://www.mplayerhq.hu/MPlayer/Skin/ and then make a director inside /user/local/share/mplayer/ calles skins. Copy the skin (.tar.bz2 file) into the newly created directory and uncompress it. Then rename the skin (the name of the directory which was created by uncompress process) that you want to appear as the default skin for Mplayer, to default. Then you can play music and movies. Use gmplayer file_name.mp3 in a terminal or you can set file association and then use it like any other player you are already familiar with.
Have fun!!!

Dharshin.


Tags:
HI There is a program test,c

HI
There is a program test,c in the mplayer Library.
When i am trying to run that C program after installing Mplayer, it is throwing some linking problem. I am linking by using -lMP3 ,but error is cannot found MP3.

Inside /usr/local/lib i can see mplayer folder and inside that a vidix folder.

Also i have included /usr/local/lib in my ld.so.conf file present in /etc Directory.

Please help if you have any idea.

Submitted by Prabal pr Singh (not verified) on Fri, 06/15/2007 - 06:09.
Sorry I have no idea about

Sorry I have no idea about ur problem. If you are using a latest distribution like Ubuntu 7.04 or FC 7, the package management is very easy.

Submitted by Dharshin on Sat, 06/16/2007 - 11:01.
Thanks

Thanks

Submitted by Jane (not verified) on Sun, 04/01/2007 - 06:15.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Translate

Syndicate

Syndicate content

Admin Login

Subscribe

Subscribe

Recent comments