PDA

View Full Version : Getting full A/V support for linux: Install Mplayer


070348K
11-01-2008, 09:45 PM
This is for Mplayer installing: x86 based PC on Linux

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/releases/MPlayer-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/releases/codecs/essential-20071007.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 (http://www.rpmfind.net) search and type it there to find what you want (for Suse, mandriva and fedora only)
http://photos4.hi5.com/0062/564/015/GMWXKd564015-02.jpg
http://www.flickr.com/photos/lmpeiris/2995466490/