LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-17-2005, 09:42 PM   #1
thorney
Member
 
Registered: Jul 2005
Location: Canada
Distribution: Ubuntu Hardy
Posts: 98

Rep: Reputation: 15
How do I get Mplayer Working?


I donloaded an rpm for Mplayer and then I followed the instructions for getting a GUI and placing it in the appropriate directory but I can't figure out how to execute MPlayer with the GUI.

I'm new in Linux and this install process seems rather elaborate in comparison to the good old point and click stuff in winXP! Any help would be great.

Thanks
 
Old 07-17-2005, 10:10 PM   #2
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
Try gmplayer. If you got everything in the right directorys you should have a gui with no error msgs.
 
Old 07-17-2005, 10:10 PM   #3
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
go to command line and

Code:
$ gmplayer
gmplayer command opens up a gui for mplayer...

If you want to play a media file via command line

Code:
$ mplayer name-of-the-file.mp3
If you want a shortcut (for your desktop) you could do that do too...let me know what desktop environment you are using and we can go from there.

EDIT: I am too slow...Boow beat me
 
Old 07-17-2005, 10:12 PM   #4
thorney
Member
 
Registered: Jul 2005
Location: Canada
Distribution: Ubuntu Hardy
Posts: 98

Original Poster
Rep: Reputation: 15
Hey

The shell claims that it can't find the command gmplayer. Should I have compiled MPlayer from the source? This is apparently better than using an rpm. I'm using KDE.
 
Old 07-17-2005, 10:15 PM   #5
thorney
Member
 
Registered: Jul 2005
Location: Canada
Distribution: Ubuntu Hardy
Posts: 98

Original Poster
Rep: Reputation: 15
The command line version seems to work well so far!
 
Old 07-17-2005, 10:23 PM   #6
Boow
Member
 
Registered: Feb 2004
Distribution: Slackware 10.2
Posts: 669

Rep: Reputation: 32
gmplayer is just a symlink to mplayer you might be able to create the link. if the gui is enabled it should work if not its a badly built rpm.
 
Old 07-17-2005, 10:24 PM   #7
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
Since mplayer command works, gmplayer should also be in your path. Just to check if you at all have gmplayer. Installing mplayer from source is what I do but it may be a little challenging and overwhelming (if you are used to windows way). If you want to give it a shot jump right in and download the source from mplayer site.

Code:
$ locate gmplayer
What distro are you using??? It's always a good idea to include distro whenever you post a question or better yet, include it in your profile...

Tux,
 
Old 07-17-2005, 10:30 PM   #8
thorney
Member
 
Registered: Jul 2005
Location: Canada
Distribution: Ubuntu Hardy
Posts: 98

Original Poster
Rep: Reputation: 15
locate gmplayer returns nothing and I'm using FC4. I got the source for MPlayer but should I remove the previous installation before compiling the source? Apparently I have a problem with my gcc being to old but I used up2date gcc and I'm told that the packages are already up to date. Oh ya, and there's a GTK package I need. I'm not to sure about these dependencies. Are familiar with that stuff?

thanks
 
Old 07-17-2005, 10:38 PM   #9
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
May be its a bad rpm without a gui for mplayer. Yes, its a good idea to remove old rpm install. What gcc version are you using...

Code:
$ gcc --version
 
Old 07-17-2005, 10:41 PM   #10
thorney
Member
 
Registered: Jul 2005
Location: Canada
Distribution: Ubuntu Hardy
Posts: 98

Original Poster
Rep: Reputation: 15
It's gcc 4. By the way, how do I remove the rpm. Sorry, but I'm used to add/remove programs.

thanks
 
Old 07-17-2005, 10:59 PM   #11
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
Thats the latest gcc you have. You can remove rpm by the following commands

Code:
# rpm -qa mplayer
This will query all the rpms installed on your system for the name "mplayer". After you get the name...it would be something like this
mplayer-xx.xx.i386

Code:
# rpm -e exact-name-of-rpm
rpm -e will remove rpm.

you should also refer man (manual) pages that come with every distro for help on commands.

Code:
$ man rpm
Note that you would have to be root (superuser) to remove rpm.
Tux,
 
Old 07-17-2005, 11:08 PM   #12
thorney
Member
 
Registered: Jul 2005
Location: Canada
Distribution: Ubuntu Hardy
Posts: 98

Original Poster
Rep: Reputation: 15
Thanks that worked fine. I've found some useful sites on setting up MPlayer. Wish me luck. Thanks for the posts. If there's anything else you think I should know I'll be happy to read about it!
 
Old 07-17-2005, 11:20 PM   #13
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,144

Rep: Reputation: 56
When you get the source...untar and unzip it. You would find INSTALL & README files. Read the files and follow them...you would not have major problems. If you have problems, come back here.

I've written a short how-to on compiling mplayer from source. it is
here

Tux,
 
Old 07-17-2005, 11:48 PM   #14
thorney
Member
 
Registered: Jul 2005
Location: Canada
Distribution: Ubuntu Hardy
Posts: 98

Original Poster
Rep: Reputation: 15
Thanks for the link. I used ./ configure as you suggested but I added --disable-gcc-checking because it wouldn't run unless I did so. After using make the following showed up on the screen `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. I don't know if this matters. I tried typing mplayer at the prompt after typing make install and the command wasn't found. Did I do something wrong. I followed your instructions word for for except for the --disable-gcc-checking part. I found a site where someone claimed that using this option didn't bother the installation at all. I don't know if this thing will ever work!!!! Thorney's getting a little sad here!!!!
 
Old 07-18-2005, 12:05 AM   #15
thorney
Member
 
Registered: Jul 2005
Location: Canada
Distribution: Ubuntu Hardy
Posts: 98

Original Poster
Rep: Reputation: 15
I'll be back in here tomorrow. If anyone knows what my prob. is please post something.

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mplayer not working sripathi_venky Linux - Software 3 11-25-2005 02:30 AM
mplayer working -- gmplayer not working. kinji5 Debian 9 06-26-2005 09:28 PM
mplayer not working einstien Linux - Software 4 02-20-2005 04:56 PM
Mplayer (trying to get this working) carlosinfl Linux - Software 10 02-06-2005 12:37 PM
mplayer is working! shanenin Linux - Software 5 09-28-2003 05:19 PM


All times are GMT -5. The time now is 03:10 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration