LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Can't run Mplayer (https://www.linuxquestions.org/questions/mandriva-30/cant-run-mplayer-329806/)

dolphans1 06-02-2005 11:26 PM

Can't run Mplayer
 
I installed Mplayer but when I type "Mplayer" in command box nothing happens. If I run it in Konsole I get the following message below, what do I need to do to get it to work?

[stan@localhost ~]$ mplayer
MPlayer 1.0pre7-3.4.3 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 0)
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.


85 audio & 196 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 (S)VCD (Super Video CD) track (raw device, no mount)
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 -vf expand

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

[stan@localhost ~]$


d-1

kencaz 06-02-2005 11:29 PM

Mplayer needs to know what file you want to load...

try:
$ mplayer <filename.ext>

KC

dolphans1 06-02-2005 11:44 PM

I got DVD playing with Kaffine by doing a urpmi update and running "urpmi libdvdcss". For some reason "Mplayer" wont come up when I ran the run command. As for running mplayer [file extension] what would that be for a DVD movie?

d-1

kencaz 06-03-2005 12:09 AM

Try:
mplayer dvd://1
or
mplayer -dvd 1

KC

dolphans1 06-03-2005 12:11 AM

Well maybe I should take the above back, the movie played for a little while then it stopped and now it wont play because it says error " no plugin to handle this resource (dvd:/)" I don't get it?

d-1



Quote:

Originally posted by dolphans1
I got DVD playing with Kaffine by doing a urpmi update and running "urpmi libdvdcss". For some reason "Mplayer" wont come up when I ran the run command. As for running mplayer [file extension] what would that be for a DVD movie?

d-1


davcefai 06-03-2005 12:29 AM

I suggest you install GMPlayer, the graphical interface to MPlayer.

This then makes it easir#er to configure and use.

dolphans1 06-03-2005 12:31 AM

This what I get:

[stan@localhost ~]$ mplayer dvd://1
MPlayer 1.0pre7-3.4.3 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 0)
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.


85 audio & 196 video codecs
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startupscripts.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing dvd://1.
Reading disc structure, please wait...


It just sits here forever and does nothing.....

d-1





Quote:

Originally posted by kencaz
Try:
mplayer dvd://1
or
mplayer -dvd 1

KC


dolphans1 06-03-2005 12:36 AM

[root@localhost stan]# urpmi GMPlayer
no package named GMPlayer

???????

d-1





Quote:

Originally posted by davcefai
I suggest you install GMPlayer, the graphical interface to MPlayer.

This then makes it easir#er to configure and use.


Liakoni 06-03-2005 12:48 AM

You can try
'urpmi mplayer-skins'

kencaz 06-03-2005 12:52 AM

Not sure what the problem would be. Could be a codec or region problem. Look through here:
http://www.mplayerhq.hu/DOCS/HTML/en/dvd.html
and see if you have the needed DVD support files in the right locations.

I don't have a DVD so am not familiar with what may be the issue.

Good Luck

KC

dolphans1 06-03-2005 12:54 AM

OK that command worked but stil mplayer will not run or open:

[stan@localhost ~]$ mplayer dvd://1
MPlayer 1.0pre7-3.4.3 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 0)
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.


85 audio & 196 video codecs
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startupscripts.
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Can't init input joystick
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
Playing dvd://1.
Reading disc structure, please wait...



QUOTE]Originally posted by Liakoni
You can try
'urpmi mplayer-skins'
[/QUOTE]

Liakoni 06-03-2005 02:06 AM

Run 'gmplayer' from commandline, and try DVD -> Open disk from GUI .

davcefai 06-03-2005 05:06 AM

GMPlayer needs to be downloaded and installed separately. I don't think it is even on the install discs.

J.K 06-03-2005 05:40 AM

The package is mplayer-gui and it should be on your install disks

dolphans1 06-03-2005 08:03 AM

I have tried to run this command $ "mplayer -dvd1" but I do not understand what it is saying or what I have to do, can anyone help me out?

[stan@localhost ~]$ mplayer -dvd 1
MPlayer 1.0pre7-3.4.3 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred (Family: 6, Stepping: 0)
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.


-dvd N is deprecated, use dvd://N instead.
[stan@localhost ~]$


d-1




QUOTE]Originally posted by J.K
The package is mplayer-gui and it should be on your install disks [/QUOTE]


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