Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Installed MPLAYER (after reading their horrible documentation... for install) and added gui=yes or whatever the hell they want in the config file for GUI to be enabled...
Now... in the console I type mplayer
and some lines of the following code appear -- then I see an empty dialog popup for a half a second then closes... and then the rest of the imput below is printed. (does it too fast to see where the dialog shows up)
Code:
MPlayer 0.90rc5-3.2.2 (C) 2000-2003 Arpad Gereoffy (see DOCS)
CPU: Intel Pentium 4 Willamette (Family: 8, Stepping: 10)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directo
ry
Reading config file /home/jon/.mplayer/config
[cfg] read config file: /home/jon/.mplayer/gui.conf
Reading config file /home/jon/.mplayer/gui.conf: No such file or directory
vo: X11 running at 1152x864 with depth 24 and 32 bpp (":0.0" => local display)
Reading /home/jon/.mplayer/codecs.conf: can't open '/home/jon/.mplayer/codecs.co
nf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 136 video codecs
font: can't open file: /home/jon/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
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/jon/.mplayer/input.conf : No such file or dir
ectory
Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or
directory
Falling back on default (hardcoded) input config
SKIN dir 1: '/home/jon/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'
[skin] file ( /usr/local/share/mplayer/Skin/default/skin ) not found.
Skin not found ( default ).
[jon@localhost bin]$
NOW DO NOTE... I CAN PLAY VIDEOS IN THE X-CONSOLE... BUT I DON'T SEE ANY VIDEO ALL I CAN HEAR IS AUDIO FROM VIDEOS
SIDENOTE: I tried xine (an alternative, unrelated to mplayer) -- And whenever I drag and drop (or manually add) an AVI/MPG/MPEG/WMV file to the playlist it just closes down like I had typed KILL <PROCESS ID> or somethings
I can see by your profile that you are using RedHat 9.0 aren't you?. I also have had many problems to get mplayer working and yes, the docs aren't good and the guys there aren't friendly either. Still, it's a great player. The easiest way to install it (at least, the only one which worked for me in two different boxes, both redhat 9.0) was with apt-get.
first, download and install apt-get rpm's here for your linux distribution:
The installation would run smooth. Done with it, simply type at the console:
apt-get install mplayer
It will download and install all packages pain free. I did not even need to download codecs or anything.Try reading and learning how to use apt-get and synaptic well. There're very quick tutorials at their page. They will guide you pretty easy when you need install or remove programs .
I saw 3 files.... I decided to get the first one (apt-0.5.5cnc6-fr1.i386.rpm)
RATHER THAN GETTING
apt-0.5.5cnc6-fr1.src.rpm (Because it says FR... french version I suppose)
apt-devel-0.5.5cnc6-fr1.i386.rpm (devel = developer fr = french (FRENCH DEVELOPERS EDITION)
THE DESCRIPTIONS OF THE FILES ARE ONLY MY ASSUMPTION OF WHAT THEY MEAN -- IF YOU'RE A NEWB AND TRYING TO INSTALL APT TOO... DON'T ASSUME IM RIGHT
So... I installed apt-0.5.5cnc6-fr1.i386.rpm (using REDHATS built in graphical RPM installer... it did the header check blah blah... and then it was done...)
and I type apt mplayer at my console... nothing
I tried locate apt -- but billions of things showed up -- so I couldn't exactly find where apt is located (if it is even installed)
You've got the right file for RedHat 9.0 (I've just checked). Go to the folder where you've downloaded it and type:
Code:
su
You will become root then:
Code:
rpm -ivh apt-0.5.5cnc6-fr1.i386.rpm
to install the package.
done it, type at the console:
Code:
apt-get upgrade
It'll upgrade apt-get to the latest version. Now, do still at the console, still as root:
Code:
apt-get install mplayer
Note that, if you don't type exactly as I'm typing, it won't work . You've said above that you've typed apt mplayer and it's wrong
Good luck, I will check here tomorrow to see if it went fine for you, if not, let me know
P.S: the forum puts CODE everywhere, you don't have to type code at the console
Last edited by Mega Man X; 07-21-2003 at 05:16 PM.
To make sure it wasnt some BS error -- I tried apt get even after trying to rpm this ... but still cmd not found..
NOTE: I have no user or group named dude -- I don't know who that is.
Code:
[root@localhost .gnome-desktop]# rpm -ivh apt-0.5.5cnc6-fr1.src.rpm
warning: apt-0.5.5cnc6-fr1.src.rpm: V3 DSA signature: NOKEY, key ID e42d547b
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
warning: user dude does not exist - using root
warning: group dude does not exist - using root
1:apt ########################################### [100%]
[root@localhost .gnome-desktop]#
As I said above... I tried APT even after I had tried installing with all the bogus dude crap
Code:
[root@localhost .gnome-desktop]# apt
bash: apt: command not found
But compiling mplayer from source is a doddle, there's also a guy called yowwww round here how has an installation guide in his signature
also please do not use gui=yes with mplayer, that is a debugging option, and you should use MPlayer instead. As a matter of fact I personally got that option removed from the mplayers default configuration file and docs as it seriously screws things up in various areas.
So... they are different packages for different situations that we don't need get into now.... Also, even if you have installed it correctly, typing only apt is not a command.
This is what you've typed:
apt
This is what I've recommended:
apt-get
Again, if you don't type correctly and install the right files, even Linux being kind, smart and friendly... it won't guess all commands and packages with wrong/incomplete syntaxes
Isn't it a kinda relief to beat a problem which did not let you sleep the night before and boom, fix it later . That's what I enjoy the most with Linux .
Well... if you are in X (gnome, kde, blackbox, whatever) mplayer should play movies from the command line anyway... Unless you are totally at the console, before X starts...
mplayer <options if you have any> <file_to_play.avi>
That would play a file, where file_to_play.avi is your movie file. the tab
<options if you have any>
Is, as you know, optional To call mplayer with gui, type at console
gmplayer
Remember, you must be at X to watch movies and call gmplayer
warning: /var/cache/apt/archives/aalib_1.4rc5-fr2_i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
Preparing... ########################################### [100%]
file /usr/share/mplayer/font from install of mplayer-fonts-1.0-fr1 conflicts with file from package mplayer-common-0.90rc2-1
file /etc/mplayer/codecs.conf from install of mplayer-0.90-fr2 conflicts with file from package mplayer-common-0.90rc2-1
file /usr/share/man/man1/mencoder.1.gz from install of mplayer-0.90-fr2 conflicts with file from
package mplayer-common-0.90rc2-1
file /usr/share/man/man1/mplayer.1.gz from install of mplayer-0.90-fr2 conflicts with file from package mplayer-common-0.90rc2-1
E: Sub-process /bin/rpm returned an error code (12)
Figured it out. First off, Megaman X, thanks for the great tip.
I had to remove Ogle and all of my old mplayer rpms (which I could never get to work) and didn't realize I still have the mplayer-common rpm installed. Once that was gones it installed like a breaze.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.