LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-03-2005, 12:26 AM   #1
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Rep: Reputation: 34
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
 
Old 06-03-2005, 12:29 AM   #2
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Mplayer needs to know what file you want to load...

try:
$ mplayer <filename.ext>

KC
 
Old 06-03-2005, 12:44 AM   #3
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Original Poster
Rep: Reputation: 34
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

Last edited by dolphans1; 06-03-2005 at 01:05 AM.
 
Old 06-03-2005, 01:09 AM   #4
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Try:
mplayer dvd://1
or
mplayer -dvd 1

KC
 
Old 06-03-2005, 01:11 AM   #5
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Original Poster
Rep: Reputation: 34
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
 
Old 06-03-2005, 01:29 AM   #6
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 771

Rep: Reputation: 32
I suggest you install GMPlayer, the graphical interface to MPlayer.

This then makes it easir#er to configure and use.
 
Old 06-03-2005, 01:31 AM   #7
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Original Poster
Rep: Reputation: 34
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
 
Old 06-03-2005, 01:36 AM   #8
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Original Poster
Rep: Reputation: 34
[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.
 
Old 06-03-2005, 01:48 AM   #9
Liakoni
Member
 
Registered: Aug 2003
Location: Greece
Distribution: Ubuntu Feisty PPC, Ubuntu Feisty x86
Posts: 49

Rep: Reputation: 15
You can try
'urpmi mplayer-skins'
 
Old 06-03-2005, 01:52 AM   #10
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
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
 
Old 06-03-2005, 01:54 AM   #11
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Original Poster
Rep: Reputation: 34
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]
 
Old 06-03-2005, 03:06 AM   #12
Liakoni
Member
 
Registered: Aug 2003
Location: Greece
Distribution: Ubuntu Feisty PPC, Ubuntu Feisty x86
Posts: 49

Rep: Reputation: 15
Run 'gmplayer' from commandline, and try DVD -> Open disk from GUI .
 
Old 06-03-2005, 06:06 AM   #13
davcefai
Member
 
Registered: Dec 2004
Location: Malta
Distribution: Debian Sid
Posts: 771

Rep: Reputation: 32
GMPlayer needs to be downloaded and installed separately. I don't think it is even on the install discs.
 
Old 06-03-2005, 06:40 AM   #14
J.K
Member
 
Registered: Dec 2003
Location: Australia
Distribution: mandrake 10.1 Official
Posts: 218

Rep: Reputation: 30
The package is mplayer-gui and it should be on your install disks
 
Old 06-03-2005, 09:03 AM   #15
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Original Poster
Rep: Reputation: 34
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]
 
  


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
how to run mplayer in GUI talariganesh Linux - Newbie 2 09-30-2005 02:49 PM
How to run MPlayer GUI ? thandermax Linux - Newbie 2 07-04-2005 07:08 PM
How to run Mplayer with GUI ? xelt Linux - Software 2 04-28-2005 05:27 PM
How do I run mplayer Fear58 Linux - Software 8 06-13-2004 09:57 AM
More Mplayer CRAP! Won't run... lt1derful Slackware 5 07-25-2003 04:04 PM


All times are GMT -5. The time now is 06:45 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration