LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-30-2003, 03:18 AM   #1
sxa
Senior Member
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186

Rep: Reputation: 49
Mplayer Installed.. now for running it..


I have spent I don't know how many hours trying to install Mplayer, after all this time all my install problems were fixed, and it install mplayer.. now where do I go to run it? Since on Linux things don't appear in the menu.. what can I type in to open mplayer? Please Help...
 
Old 12-30-2003, 03:25 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
type in "mplayer".... surely you could have guessed that yourself ;-)

if you have installed the gui too, then you can also use "gmplayer", but remember, gui's slow you down and are generally a waste of time
 
Old 12-30-2003, 03:25 AM   #3
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
mplayer or gmplayer
 
Old 12-30-2003, 03:28 AM   #4
sxa
Senior Member
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186

Original Poster
Rep: Reputation: 49
My mistake, I was typing that in Run Command, not in the terminal thanks guys...
 
Old 12-30-2003, 03:48 AM   #5
sxa
Senior Member
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186

Original Poster
Rep: Reputation: 49
Update:

What command in Mplayer do I use to run an Mpeg File?
 
Old 12-30-2003, 04:18 AM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Um, 'mplayer file'. Mplayer's documentation is much improved - check the man pages, /usr/doc, the website, etc.
 
Old 12-30-2003, 03:04 PM   #7
sxa
Senior Member
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186

Original Poster
Rep: Reputation: 49
I have tried Mplayer file.. here is what I get

Quote:
[sanness@localhost sanness]$ mplayer Beatles - Yellow Submarine - Complete.mpg
MPlayer dev-CVS--3.2 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Duron MG Morgan (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Reading config file /etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/sanness/.mplayer/config
Reading /home/sanness/.mplayer/codecs.conf: Can't open '/home/sanness/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
font: can't open file: /home/sanness/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
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 startup scripts.
Using usleep() timing
Can't open input config file /home/sanness/.mplayer/input.conf: No such file or directory
Can't open input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
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: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.

Playing Complete.mpg
File not found: 'Complete.mpg'
Failed to open Complete.mpg


Exiting... (End of file)
The file name is not Complete.mpg either its Beatles - Yellow Submarine - Complete.mpg, and its from a CD I have inserted into the computer...
 
Old 12-30-2003, 07:56 PM   #8
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
It actually has the spaces in the filename? If so, that's weird - usually apps jettison the end of stuff like that whereas it looks like mplayer is treating the beginning as arguments or something and keeping the end. Try

mplayer "Beatles - Yellow Submarine - Complete.mpg"

The command line is being read as 'app arg arg title' instead of 'app "title"', I think.

That being said, I haven't tried to play an mpeg from a CD with mplayer. Don't see why it would be any different from an ordinary hard disk file in that regard, though. Though, if it is a file on a CD you need to be in the directory of the mounted disk or issue the full path. (DVDs and audio CDs, as such, are different but this is just a file, it seems.)

(All the other stuff mplayer's spitting out is non-critical.)
 
Old 12-30-2003, 08:22 PM   #9
sxa
Senior Member
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186

Original Poster
Rep: Reputation: 49
Here is what I did, I copied the file to my computer and renamed the file to yellowsub.mpg and it worked just great..

Thanks!
 
Old 12-30-2003, 08:31 PM   #10
Jose Muņiz
Member
 
Registered: Jul 2003
Location: Mexico City
Distribution: Slackware 9.1, SuSE 9.1
Posts: 248

Rep: Reputation: 32
Yes.. but still a better solution would have been just to use the " "'s, which would have allowed you to play any file even with spaces.
 
Old 12-30-2003, 08:45 PM   #11
sxa
Senior Member
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186

Original Poster
Rep: Reputation: 49
On to my next questions.. Playing DVDs.. I am not sure what to enter in the terminal to start the DVD...
 
Old 12-30-2003, 08:54 PM   #12
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Quote:
Originally posted by Freakygeek55
Here is what I did, I copied the file to my computer and renamed the file to yellowsub.mpg and it worked just great..

Thanks!
It was either Kernighan or Ritchie who said, "When in doubt, use brute force."

mplayer dvd:// (and add chapters and whatever details you want - 'man mplayer' for this stuff. As Jose Muniz indicates, I need to do a little more man reading myself, it seems. )
 
Old 12-30-2003, 09:10 PM   #13
sxa
Senior Member
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186

Original Poster
Rep: Reputation: 49
Excuse me for being the dumb one here, but I am not sure how I should do this..

Should it be mplayer dvd://1 The one being the first chapter or should I write out one? or what? I am really confused...
 
Old 12-30-2003, 09:22 PM   #14
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
If you want to play 1, it's optional - 'mplayer dvd://' will do - but, yeah, if you want to play 8, say, it's just 'mplayer dvd://8'.
 
Old 12-30-2003, 09:37 PM   #15
sxa
Senior Member
 
Registered: Aug 2003
Location: Austin, TX
Distribution: Mac OS 10.7 / CentOS 6(servers) / xubuntu 13.04
Posts: 1,186

Original Poster
Rep: Reputation: 49
I seem to be having a problem.. first off I am not sure the excat numeber of chapter the DVD's have... and I no longer have the cases.. so I guessed a number, does that make a difference if I got over the acutal number of chapters.. here is what I get..

Quote:
[sanness@localhost sanness]$ mplayer dvd://49
MPlayer dev-CVS--3.2 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Duron MG Morgan (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Reading config file /etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/sanness/.mplayer/config
Reading /home/sanness/.mplayer/codecs.conf: Can't open '/home/sanness/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf
font: can't open file: /home/sanness/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
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 startup scripts.
Using usleep() timing
Can't open input config file /home/sanness/.mplayer/input.conf: No such file or directory
Can't open input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
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: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.

Playing dvd://49
libdvdread: Can't stat /dev/dvd
No such file or directory
Couldn't open DVD device: /dev/dvd


Exiting... (End of file)
 
  


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 02:46 AM
mplayer installed but problems bloodfulldesire Linux - Newbie 2 02-09-2005 10:43 PM
Installed MPlayer and now sound doesn't work siepmann Linux - Software 1 11-14-2004 06:01 AM
Help please !!issues getting mplayer installed copter Fedora 3 07-12-2004 10:58 AM
Hmm... i installed Mplayer only1gameguru Linux - Software 4 10-28-2003 06:30 PM

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

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