LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-12-2004, 07:45 PM   #1
Fear58
Member
 
Registered: Feb 2004
Location: Reno, Nevada
Distribution: Mandrake 9.2
Posts: 221

Rep: Reputation: 30
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
 
Old 06-12-2004, 07:55 PM   #2
Nychold
LQ Newbie
 
Registered: Mar 2004
Distribution: Fedora Core 1
Posts: 20

Rep: Reputation: 0
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.
 
Old 06-12-2004, 07:56 PM   #3
imagreg
Member
 
Registered: Mar 2004
Distribution: Slackware 10.0
Posts: 76

Rep: Reputation: 15
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
 
Old 06-12-2004, 07:59 PM   #4
Fear58
Member
 
Registered: Feb 2004
Location: Reno, Nevada
Distribution: Mandrake 9.2
Posts: 221

Original Poster
Rep: Reputation: 30
i forgot a ./configure --enable gui
 
Old 06-12-2004, 08:05 PM   #5
Fear58
Member
 
Registered: Feb 2004
Location: Reno, Nevada
Distribution: Mandrake 9.2
Posts: 221

Original Poster
Rep: Reputation: 30
how do i go about changing that after I already made the MPlayer directory?
 
Old 06-12-2004, 08:18 PM   #6
imagreg
Member
 
Registered: Mar 2004
Distribution: Slackware 10.0
Posts: 76

Rep: Reputation: 15
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!

Last edited by imagreg; 06-12-2004 at 08:27 PM.
 
Old 06-12-2004, 10:01 PM   #7
Fear58
Member
 
Registered: Feb 2004
Location: Reno, Nevada
Distribution: Mandrake 9.2
Posts: 221

Original Poster
Rep: Reputation: 30
when u put"extract" do you mean just place them there, or is there a certain process of doing this?
 
Old 06-13-2004, 12:25 AM   #8
salahuddin_66
Member
 
Registered: Jan 2004
Location: Dhaka, Bangladesh
Distribution: Debian, Gentoo
Posts: 283

Rep: Reputation: 30
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/
 
Old 06-13-2004, 08:57 AM   #9
imagreg
Member
 
Registered: Mar 2004
Distribution: Slackware 10.0
Posts: 76

Rep: Reputation: 15
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.

Last edited by imagreg; 06-13-2004 at 09:01 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to run mplayer in GUI talariganesh Linux - Newbie 2 09-30-2005 01:49 PM
How to run MPlayer GUI ? thandermax Linux - Newbie 2 07-04-2005 06:08 PM
Can't run Mplayer dolphans1 Mandriva 14 06-03-2005 08:03 AM
How to run Mplayer with GUI ? xelt Linux - Software 2 04-28-2005 04:27 PM
More Mplayer CRAP! Won't run... lt1derful Slackware 5 07-25-2003 03:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration