LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 06-04-2004, 11:27 PM   #1
JunZ
LQ Newbie
 
Registered: May 2004
Posts: 19

Rep: Reputation: 0
Can't open up mplayer


I downloaded mplayer and uncompressed it
did ./configure make make install in konsole
then what should I do?
 
Old 06-05-2004, 03:34 AM   #2
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
If you compiled it with a gui, type mplayer-gui or gmplayer into a terminal, or look in your menus for it. If you did not, type mplayer <path_and_filename_of_movie_file> into a terminal.

For more options and information on using the command-line version, type man mplayer or mplayer --help into a terminal.

Hope this helps.
 
Old 06-05-2004, 05:35 AM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
What are you trying to play with it?
 
Old 06-05-2004, 06:59 AM   #4
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
you need to also install the package called mplayer-gui. in addition, you may need the mplayer-skins package. to run mplayer, type in terminal.............

Code:
gmplayer
hit enter

if it opens full screen for you, then use the following command.......

Code:
gmplayer -quiet -nofs
hit enter

if you want to add a menu entry or desktop shortcut, use the following as the execute command.....

Code:
/usr/bin/gmplayer -quiet -nofs
also note, to be able to play most Windows type media files, you need to install the Win32 codecs from the mplayer site. and, you need to go to the mplayer preferences & make sure you choose the proper audio & video drivers to use & the codecs section to choose the proper codecs. if you need more help, please post back.

one final note............... if you want to forego all the above nonsense, get a PLF site in your urpmi sources & get their mplayer rpms. it will install everything you need (codecs & menu entries included) & all you'll need to do is choose the correct audi & video drivers to be on your merry way. go to Easy URPMI to set up a PLF source.

otis
 
Old 06-05-2004, 07:32 AM   #5
JunZ
LQ Newbie
 
Registered: May 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Sorry, but I still can't get it, can someone guide me through all the steps need to install it.
When I type gmplayer it says bash: gmplayer: command not found
and when I try to install mplayer-gui-1.0-0.pre4.3plf.i586.rpm I get
Quote:
Some package requested cannot be installed:
mplayer-1.0-0.pre3.13.100mdk.i586 (due to unsatisfied rpmlib(CompressedFileNames) <= 3.0.4-1)
mplayer-gui-1.0-0.pre4.3plf.i586 (due to missing mplayer-1.0-0.pre3.13.100mdk.i586)
do you agree ?
 
Old 06-05-2004, 07:40 AM   #6
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
a few questions...........

when you compiled mplayer, did you do /.configure & make as normal user, then make install as root? if not, that's the proper way to do it. if you do it all as root, it will only compile as root & normal users won't be able to run it. when you're trying to run it, are you trying as root or normal user? if it's normal user, try as root. if it opens only as root, then you'll need to recompile per the above method.

IMHO, i'd uninstall mplayer then go with the PLF rpm's. mplayer can be a bugger to get set up properly from a compile if you don't know what you're doing. the reason that the plf stuff won't install right now is becuase it's conflicting with your compiled version. if you want to uninstall it & use the rpms, go to the mplayer directory where you compiled from in terminal as root & type.......

Code:
make uninstall
hit enter

then in terminal as root type..........

Code:
find / -name mplayer
hit enter

that will show you where any mplayer remnants might be. delete them, then try the PLF rpm's.

otis
 
Old 06-05-2004, 07:56 AM   #7
JunZ
LQ Newbie
 
Registered: May 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Even as root, I still cannot open up mplayer
After I uninstalled it and deleted all the folders, I still get the same message when I try to install
 
Old 06-05-2004, 08:08 AM   #8
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Probably because of this :
Code:
Some package requested cannot be installed:
mplayer-1.0-0.pre3.13.100mdk.i586 (due to unsatisfied rpmlib(CompressedFileNames) <= 3.0.4-1)
If mPlayer can't install, then mplayer-gui won't install either, and you need to install this library before the mplayer backend will install.

Did you only add the PLF source to your Software Media Manager using Easy URPMI, or did you add main and contrib sources as well? Easy URPMI warns that many PLF packages are dependent on packages in the contrib repository, so you need to have those too.

And how are you trying to install these files? Are you using the urpmi command in a terminal, or RPMDrake (Install Software), or are you trying to use the rpm command on a downloaded *.rpm file? That won't work (as you already know).
 
Old 06-05-2004, 08:29 AM   #9
JunZ
LQ Newbie
 
Registered: May 2004
Posts: 19

Original Poster
Rep: Reputation: 0
I tried to typed
Quote:
urpmi.addmedia --update updates ftp://mirror.tuxpeople.org/distribut...ates/10.0/RPMS with ../base/hdlist.cz
urpmi.addmedia main ftp://mirror.tuxpeople.org/distribut.../Mandrake/RPMS with ../base/hdlist.cz
urpmi.addmedia contrib ftp://mirror.tuxpeople.org/distribut...0/contrib/i586 with ../../i586/Mandrake/base/hdlist2.cz
as in that urpmi site, but I got bash: urpmi: command not found, then I tried the downloaded rpm file, which still cant install
 
Old 06-05-2004, 09:46 AM   #10
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
The addmedia commands look correct (even though they're all from the same mirror, which seems odd), but you must su to root (type su, hit enter, then enter root password and hit enter) before trying to use them, as only root can install software (or add sources to the SMM). That would be the most likely reason that the urpmi command is not found-- it is not available to a regular user.
 
Old 06-05-2004, 09:48 AM   #11
doug_s
Member
 
Registered: Apr 2004
Posts: 82

Rep: Reputation: 15
You need to be logged on as root to do those things. As root, try:

urpmi.removemedia -a

Then go to easyurpmi again and select plf rpms as well, and enter the sources again.

Then, if all of the above worked:

urpmi mplayer-gui
 
Old 06-05-2004, 10:01 AM   #12
JunZ
LQ Newbie
 
Registered: May 2004
Posts: 19

Original Poster
Rep: Reputation: 0
As root, the first line urpmi.addmedia --update goes well but when I type urpmi.addmedia main and contrib, it says urpmi database locked
 
Old 06-05-2004, 10:11 AM   #13
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
doug_s, may I just correct you: saying that one needs to be logged in as root is not the same as saying that one needs to run commands that require root access.

This is a common misconception among new users, especially those newly migrated from Windows.

The only time you need to explicitly log in as root is if the user login will not work or the entire system will not boot.

This is why root login is hidden in all the login managers... to discourage you from logging in as root, which can get you into a heap of trouble before you know it.

The su and su - commands are specifically meant to provide temporary root access on a user level, and the kdesu and gnomesu programs are both readily available to provide a GUI front-end to the su command, and can even be used to create root-access app shortcuts on the panel or desktop.

Logging in as root to an X environment not only makes it ridiculously easy for you to trash your system, but also exposes you to much greater security risks if you use the Internet during that time and your system is compromised in any way by a hacker.

If it is your habit to log in as root for any reason other than an emergency, please break yourself of that habit, and please do not encourage others to begin with it.

Last edited by motub; 06-05-2004 at 10:12 AM.
 
Old 06-05-2004, 10:22 AM   #14
doug_s
Member
 
Registered: Apr 2004
Posts: 82

Rep: Reputation: 15
Motub:

Thanks for the information. You now need to contact the admin at www.urpmi.org and have him correct the easyurpmi page.
 
Old 06-05-2004, 10:32 AM   #15
JunZ
LQ Newbie
 
Registered: May 2004
Posts: 19

Original Poster
Rep: Reputation: 0
For some reason, I reboot the computer and now I installed all 3 urpmi.addmedia, then I installed mplayer-gui, but I cannot view wmv files, when I open them I only get sound, how do I add the codecs to play them?
 
  


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 installed, but doesn't open mustangfanatic01 Slackware 13 11-18-2005 01:46 AM
MPlayer Hangs When Trying to Open a DVD dudeman41465 Linux - Software 1 10-20-2005 02:40 AM
mplayer wont open pasalacqua128 Linux - Software 2 08-25-2004 09:17 AM
Keep mplayer windows open Wynd Linux - General 2 09-07-2003 11:04 AM
mplayer open gl cyrille Linux - General 9 05-28-2002 05:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 03:06 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