LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do I run mplayer (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-run-mplayer-192823/)

Fear58 06-12-2004 07:45 PM

How do I run mplayer
 
Installed player1.0 just now, compiled it, put everything together, but I cannot run it. I searched for it, couldnt find anything. Any help? Running mandrake 9.2 in KDE 3.1

Nychold 06-12-2004 07:55 PM

If you know where you installed mplayer, you should just be able to type in mplayer <video name>, where <video name> is the correct path and name of the video you want to play. There should also be program call gmplayer, which loads a GUI to help load files. I haven't gotten that to work myself, so I can't help you with that. :(

imagreg 06-12-2004 07:56 PM

did u extract the proper codecs...skin...and font? did you do a ./configure --enable-gui?

if you need help with these let me know

Fear58 06-12-2004 07:59 PM

i forgot a ./configure --enable gui :(

Fear58 06-12-2004 08:05 PM

how do i go about changing that after I already made the MPlayer directory?

imagreg 06-12-2004 08:18 PM

fear 58...i will explain in detail how to install mplayer:

first step is to go here and get the codecs: http://www.mplayerhq.hu/homepage/design7/dload.html

create a folder under /usr/lib called codecs and extract the codecs to this folder.

all of the codecs should now be in /usr/lib/codecs

next step is to download a skin. you can do so at the same link above. download the skin named blue.

create a folder in your /usr/share folder named mplayer

you should now have a folder called /usr/share/mplayer

you will want to create a folder called Skin inside the /usr/share/mplayer folder

you will now be in /usr/share/mplayer/Skin

now you will want to extract the skin you downloaded to this folder. if you downloaded the skin named blue you will want to rename it default. this is important. mplayer will look for the skin named default when it starts.

now you will need to get a font at the same link above.

create a folder in your /usr/share/mplayer folder named font and extract the font you downloaded to this folder.

the font should now be in the /usr/share/mplayer/font folder.

now we are ready to build mplayer...this is where the fun begins.

open up a terminal and cd into your mplayer folder that you extracted originally

do this ./configure --enable-gui --prefix=/usr

make

su -c (become root)

make install

you should be good to go!

Fear58 06-12-2004 10:01 PM

when u put"extract" do you mean just place them there, or is there a certain process of doing this?

salahuddin_66 06-13-2004 12:25 AM

try this

after got the win32 codec if u want to play windows media coadec 9 vedio and audio
and got the lame and xvid from sf net

./configure --help

i have done it by

./configure --enable-gui --enable-divx4linux --enable-libavcodec --enable-vorbis --enable-mad --enable-mp3lib --enable-liba52 --enable-alsa --enable-ossaudio --enable-arts --enable-runtime-cpudetection --with-codecsdir=/usr/local/lib/ --enable-win32 --with-xvidlibdir=/usr/local/lib/ --with-win32libdir=/usr/local/lib/codecs/

imagreg 06-13-2004 08:57 AM

fear 58...

when i say extract there is a certain way to do this. I don't know which distro you are using but there is a simple process. i will explain.

take for instance the codecs that you download from the mplayer website. the main codec package is called essentials. this one will get you up and going.

when you download this you will get a package called: essential-20040427.tar.bz2

save this to your home folder.

once you have downloaded it go to your home folder and right click on essential-20040427.tar.bz2...scroll down to where it says ark and left click...this will launch a gui...up at the top click extract...go ahead and extract the contents to your home folder for now.

now you should have a folder in your home directory that is named essential-20040427. inside of this folder are all of the codecs that you need. you will want to open up this folder and copy all of its contents to the folder /usr/lib/codecs

you can do the same with the rest of the items you downloaded. take for instance the skin. If you downloaded the skin i told you you will download: Blue-1.4.tar.bz2

again use ark to extract this package to your home directory. now inside your home direcory you will have a folder called Blue-1.4. you will want to copy this folder (not the contents) to your /usr/share/mplayer/Skin folder. Once you have done this you will want to rename the folder Blue-1.4 to default. you do this by right clicking on the folder. this will give you the option of renaming it.

lastly you will need to download a font. the one i download is: font-arial-iso-8859-1.tar.bz2

again ark and extract this package to your home folder. now you will have a folder called: font-arial-iso-8859-1

inside of this folder you will have four folders. open the one named: font-arial-28-iso-8859-1 and copy all of its contents to /usr/share/mplayer/font

this is how to get everything set up. remember that you launch the frontend of mplayer by issuing the command gmplayer.

****ps...please do not mix salahuddin_66 directions with mine as his will not work with the directions i have given. thanks.


All times are GMT -5. The time now is 12:49 PM.