LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-23-2003, 11:24 AM   #1
oicdn
Member
 
Registered: Dec 2003
Distribution: Suse 9.0 Pro
Posts: 136

Rep: Reputation: 15
Mplayer issue...I have no controls....


Well, I DL'd the latest MPlayer version from http://packman.links2linux.org/ It's an RPM for "Suse 9.0". I also DL'd the Mozilla plug-in to view from the browser.

I have some issues though. Here is the error I get if I try to access it via script:

oicdn@linux:~> /usr/bin/mplayer
MPlayer 0.92-3.3.1 (C) 2000-2003 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading config file /etc/MPlayer/mplayer.conf
Reading config file /home/oicdn/.mplayer/config
Reading /home/oicdn/.mplayer/codecs.conf: can't open '/home/oicdn/.mplayer/codecs.conf': No such file or directory
Reading /etc/MPlayer/codecs.conf: 50 audio & 136 video codecs
Usage: mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
-vo <drv[:dev]> select video output driver & device ('-vo help' for a list)
-ao <drv[:dev]> select audio output driver & device ('-ao help' for a list)
-vcd <trackno> play VCD (Video CD) track from device instead of plain file
-dvd <titleno> play DVD title from device instead of plain file
-alang/-slang select DVD audio/subtitle language (by 2-char country code)
-ss <timepos> seek to given (seconds or hh:mm:ss) position
-nosound do not play sound
-fs fullscreen playback (or -vm, -zoom, details in the man page)
-x <x> -y <y> set display resolution (for use with -vm or -zoom)
-sub <file> specify subtitle file to use (also see -subfps, -subdelay)
-playlist <file> specify playlist file
-vid x -aid y select video (x) and audio (y) stream to play
-fps x -srate y change video (x fps) and audio (y Hz) rate
-pp <quality> enable postprocessing filter (details in the man page)
-framedrop enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
<- or -> seek backward/forward 10 seconds
up or down seek backward/forward 1 minute
pgup or pgdown seek backward/forward 10 minutes
< or > step backward/forward in playlist
p or SPACE pause movie (press any key to continue)
q or ESC stop playing and quit program
+ or - adjust audio delay by +/- 0.1 second
o cycle OSD mode: none / seekbar / seekbar + timer
* or / increase or decrease PCM volume
z or x adjust subtitle delay by +/- 0.1 second
r or t adjust subtitle position up/down, also see -vop expand

* * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *

Now, I don't want to access it through script. I want to access it through my desktop via an Icon.

The Player works, I DL'd a WMV file and it ran it, but I had to right-click and specify it. But It wasn't available to pick, I had to type in MPlayer Other application.....it wasn't in the list of media players. The issue when it plays though is that it just opens in a window. There are no controls to pause or anything...it's just playing in a window! When I play an MP3 with it (again have to specify Mplayer with the right-click and type it in), a little box appears in my toolbar aty the bottom, but then it goes away and the music plays. No controls to stop it or anything...LOL, it's just playing in teh background.

I don't really like scripting through things till I get experianced enough with the the OS, so, I tried to goto the usr/bin directory and click on the Mplayer executable like I did for AIM (before I made a shortcut icon to the desktop).... And nothing happens.

I know there are skins and fonts cause in teh usr/share/Mplayer, there are icons for them....

I want to be able to utilize MPlayer like it was intended, with controls and as a default player....how do I go about doing this? Do I have to delete them as root mode(cause in my user mode, they have the little locks over them, even when I typed in the password for root access through Yast) then re-install them WITHOUT the Mozilla Browser Plug-in?

Anybody?
 
Old 12-23-2003, 11:27 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Did you try gmplayer instead of mplayer?

I really don't know if the rpm has this option 'compiled'.

Mplayer is by default a command line player, with an optional gui (gmplayer).
 
Old 12-23-2003, 11:56 AM   #3
oicdn
Member
 
Registered: Dec 2003
Distribution: Suse 9.0 Pro
Posts: 136

Original Poster
Rep: Reputation: 15
How do I get Gmplayer? but still, theres a problem with me not being able to control it, unless it is ofcourse controlled by script....
 
Old 12-23-2003, 12:00 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by oicdn
How do I get Gmplayer? but still, theres a problem with me not being able to control it, unless it is ofcourse controlled by script....
To control it is used by keys on your keyboard.

If you want the GUI player, you have to compile it and enable this during compile. Like again, I'm not sure either if the RPM enables this or not. I would suggest installing by source and read the man pages, they are helpful, really, they are when using mplayer.

man mplayer
 
Old 12-23-2003, 12:42 PM   #5
oicdn
Member
 
Registered: Dec 2003
Distribution: Suse 9.0 Pro
Posts: 136

Original Poster
Rep: Reputation: 15
Yeah, the RPM didn't let me configure anything......it just was installed and voila...that was it, LOL. No read me file, nothing...just a directory for skins, and fonts, and under usr/bin there was an executable......nothin else....

I guess I'll get a source for it, but mplayers website is down.......
 
Old 12-23-2003, 12:50 PM   #6
RedHatMasta
Member
 
Registered: Nov 2003
Location: Central Kentucky
Distribution: Mandrake 10.0 Official
Posts: 77

Rep: Reputation: 15
do a search for mplayer-gui-0.91-1.i386.rpm
That is what I used and it works. there may be some other things you have to get to install it, but it should tell you.
Did yousay you got your plugin to work? I cant. How?
 
Old 12-23-2003, 01:16 PM   #7
Area51
LQ Newbie
 
Registered: Dec 2003
Posts: 22

Rep: Reputation: 15
Open a shell and type gmplayer.......you should now get the gui
 
Old 12-23-2003, 01:30 PM   #8
oicdn
Member
 
Registered: Dec 2003
Distribution: Suse 9.0 Pro
Posts: 136

Original Poster
Rep: Reputation: 15
OIC...I did that shell GMplayer...now, how can I get it so I can have an ICON on my Desktop....If I close the Script, I get an error and Mplayer closes down, like anything else script activatated.

Here is what I get on the shell:

oicdn@linux:~> gmplayer
MPlayer 0.92-3.3.1 (C) 2000-2003 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading config file /etc/MPlayer/mplayer.conf
Reading config file /home/oicdn/.mplayer/config
[cfg] read config file: /home/oicdn/.mplayer/gui.conf
Reading config file /home/oicdn/.mplayer/gui.conf
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local display)
Reading /home/oicdn/.mplayer/codecs.conf: can't open '/home/oicdn/.mplayer/codecs.conf': No such file or directory
Reading /etc/MPlayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: /home/oicdn/.mplayer/font/font.desc
Font /usr/share/MPlayer/font/font.desc loaded successfully! (206 chars)
Failed to open /dev/rtc: Permission denied (mplayer should be setuid root or /dev/rtc should be readable by the user.)
Using usleep() timing
Can't open input config file /home/oicdn/.mplayer/input.conf: No such file or directory
Input config file /etc/MPlayer/input.conf parsed: 52 binds
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such device
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Permission denied
Failed to open LIRC support.
You will not be able to use your remote control.
SKIN dir 1: '/home/oicdn/.mplayer/Skin'
SKIN dir 2: '/usr/share/MPlayer/Skin'

Exiting... (Quit)

The exiting portion is cause I closed it......but all the script looks kinda unneeded. Like I said, it works, but how do I set it as default to all my media options and have an icon on my desktop?
 
Old 12-23-2003, 01:32 PM   #9
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
From a terminal, you need to start it along with running it in the background like this:

gmplayer &

What desktop are you using? It all depends on creating an icon as there are dozens of different ways, depending on your envrionment.
 
Old 12-23-2003, 01:38 PM   #10
oicdn
Member
 
Registered: Dec 2003
Distribution: Suse 9.0 Pro
Posts: 136

Original Poster
Rep: Reputation: 15
Alright, n/m...I just right clicked all the different files and added "gmplayer" on the list, and moved it to the top.

Man, this player rocks.....no icon, LOL, but that's OK I guess, all the files are defaulted to use Mplayer....eh....it'd be nice to have one though, LOL.
 
Old 12-24-2003, 07:05 AM   #11
RedHatMasta
Member
 
Registered: Nov 2003
Location: Central Kentucky
Distribution: Mandrake 10.0 Official
Posts: 77

Rep: Reputation: 15
I'm not exaclty sure how suse is like for making icons, but I have an icon and it is located in /usr/share/pixmaps, and it is called gnome-mplayer.png, so You might could do a file search and get your icon that way. To make a shortcut on the desktop, I'm guessing right click it and look in that menu? Are you using kde? for that right click the kbutton on the bottom left and open menu editor if you want it in the menu. That might get you somewhere.

And for the command just gmplayer......just making sure.

Last edited by RedHatMasta; 12-24-2003 at 07:07 AM.
 
Old 12-24-2003, 10:02 AM   #12
oicdn
Member
 
Registered: Dec 2003
Distribution: Suse 9.0 Pro
Posts: 136

Original Poster
Rep: Reputation: 15
Yeah...I have everything defaulter to GMplayer, so whenever I open a file, it works, it's just that I think it's more of a convenience factor to have an icon on teh desktop.

I've made the shortcuts for AIM and Mozilla, but LOL, the icon looks teh same...that Blue Gear...it'd be cool if I could get the spcific Icon, not just a little page icon or gear Icon.....

**edit**
I went to that pixmaps, and have icons for AIM, Audacity......other programs I haven't heard of, but as far as frequented programs, I have AIM and Audacity in that directory.....

Last edited by oicdn; 12-24-2003 at 10:04 AM.
 
Old 12-24-2003, 03:41 PM   #13
RedHatMasta
Member
 
Registered: Nov 2003
Location: Central Kentucky
Distribution: Mandrake 10.0 Official
Posts: 77

Rep: Reputation: 15
right click the shortcut that you have made and it should open up a settings/preferences. click on the blue gear. Another window should open. Click browse. then navigate to /usr/share/pixmaps and you should be able to select the icon? I think you said you are in kde so that should work. if not take pics of the windows with ctrl+prntscreen and email them to me.
 
Old 12-24-2003, 05:25 PM   #14
oicdn
Member
 
Registered: Dec 2003
Distribution: Suse 9.0 Pro
Posts: 136

Original Poster
Rep: Reputation: 15
I have no shortcut with gmplayer, I just right clicked the file, and clicked open with, and manually put in gmplayer. Gmplayer is the default for all my music and video files, but I have no icon for it....atleast that I can find, LOL.

But I tried those steps with something else, so I would be familiar with it. After preferences, I see that blue gear......click it and nothing happens.....
 
Old 12-24-2003, 05:57 PM   #15
RedHatMasta
Member
 
Registered: Nov 2003
Location: Central Kentucky
Distribution: Mandrake 10.0 Official
Posts: 77

Rep: Reputation: 15
can you at least make a shortcut to run gmplayer? It might have a blue gear but thats a start. Try Right click desktop->create new->Link to application. For the name, Mplayer, for Execute, command is gmplayer. That should make it. There's got to be some place that lets you specify the icon. Or if you have an icon in your kmenu to the program (sound and video, more s&v applications), drag and drop that onto your desktop.
 
  


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
Mplayer controls lowbrow Linux - Newbie 3 06-07-2005 10:22 AM
Mplayer controls all volume in KDE 3.2 wpg9210 Linux - Software 2 07-25-2004 01:28 PM
MPlayer controls appear off screen ohzo Linux - Newbie 2 07-15-2004 07:03 PM
mplayer plugin doesn't show player controls cscott Linux - Software 4 05-27-2004 01:49 AM
mplayer plugin controls beaucoup Linux - Software 1 04-24-2004 09:58 AM

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

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