Adding A/V support for linux: Install Mplayer
This is for Mplayer installing: x86 based PC on Linux

mplayer
Many people are talking about cannot getting videos or sounds to play on linux. (except for ubuntu new)
Even if you have installed codecs, you should really go for this player: It can even play with win32 codecs; just need to drop in to folder!
go to http://www.mplayerhq.hu/design7/dload.html to check it out
download from
http://www.mplayerhq.hu/MPlayer/rele…1.0rc2.tar.bz2
untar it using your archeive manager (open- and drag and drop where you want to copy)
go in to the folder in command line (termina/console) and type
./configure –enable-gui
if no errors found (if you get dependency errors you’ve to install them first — look the list down)
then type
make
this takes about an hour ——- wait and hope for good luck — program is being compiled from the source code………
then if it’s completed without errors, then go admin in command line
su -
passwd: (enter your admin passwd here)
(NOTE: you can always type “root” as username and passwd at linux login screen to be admin from the start-if you are not familiar with command line-so you can use normal GUI to copy files without permission problems.)
type:
make install
will install mplayer to every user but, without codecs
download codecs at
http://www.mplayerhq.hu/MPlayer/rele…071007.tar.bz2
untar it as i said before, and copy the codec files (not the folder) in to
/usr/local/lib/codecs, if no codecs folder exist, create one. (hope you know to use cp and mkdir commands)
now goto the codecs path and type (as admin/root)
chmod ugo+rwx *.*
now you can type
mplayer filename
to play anyfile!
ex: mplayer *.* will play all files in directory.
for the gui; use gmplayer instead
in order to GUI to work, you need skins, download this:
http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2
untar it,
and paste the whole folder
/home/(your user name)/.mplayer/skins
or
~/.mplayer/skins (as normal user, not admin)
go inside the folder and use chmod as before (as admin)
enjoy!
If need more help, please reply.
I’m using fedora 9 (and not windows)
dependencies:
If configure says your machine not having something — you can just ignore them if they are optional
or else goto www.rpmfind.net search and type it there to find what you want (for Suse, mandriva and fedora only)
Check for my “Compiling Linux apps from source” page for more help.



Jim said,
November 2, 2008 at 3:45 am
You can just install it from the Livna repository (soon from the RPM Fusion) along with the codecs for the current versions (8 and 9).
Malshan Peiris said,
November 2, 2008 at 7:35 am
I was going to mention that too. But the thing it that you get the most out of mplayer and mencoder only if it was compiled for your machine, with selections among what to activate and not all linux can have that luck. And of course, many people have asked me how to compile from source.
Thanks for the comment………..
as Jim said,
For livna packages, type “mplayer” on http://www.rpmfind.net search
Chaminda said,
June 2, 2009 at 11:11 am
Good work bro. Keep it up
Im using CentOS 5.3 but cant install Mplayer. there is a dependency problem. The system say libavcodec can’t install.
Malshan Peiris said,
June 3, 2009 at 3:56 pm
Do you mean, it says that libavcodec can’t install or unable to find libavcodec (as a dependency) so it can’t install? For the second matter, i suppose you install package avcodec seperately.