LinuxQuestions.org
Help answer threads with 0 replies.
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 07-21-2003, 05:47 PM   #1
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
MPLAYER issues


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

Last edited by jon_k; 07-21-2003 at 08:11 PM.
 
Old 07-21-2003, 05:56 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hi jon_K!!!

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:

http://freshrpms.net/

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 .
 
Old 07-21-2003, 06:06 PM   #3
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30
OK - went to freshrpms and finally I got to
http://ftp.freshrpms.net/pub/freshrpms/redhat/9/apt/
...

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)

Last edited by jon_k; 07-21-2003 at 06:10 PM.
 
Old 07-21-2003, 06:14 PM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Ok, I will make an step by step before bed time .

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 06:16 PM.
 
Old 07-21-2003, 06:26 PM   #5
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Correction... you've got a wrong file the correct is:

apt-0.5.5cnc6-fr1.i386.rpm

I really need to sleep or I will make more mistakes here like that. I dunno what fr means, but I don't think it's french
 
Old 07-21-2003, 07:49 PM   #6
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30
Console will speak for itself this time

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

Last edited by jon_k; 07-21-2003 at 07:58 PM.
 
Old 07-22-2003, 03:22 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
don't use an src rpm, use a precompiled rpm.

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.
 
Old 07-22-2003, 04:02 AM   #8
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
This is the package you are trying to install:

apt-0.5.5cnc6-fr1.src.rpm

This is the one I've recommended:

apt-0.5.5cnc6-fr1.i386.rpm

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
 
Old 07-22-2003, 03:31 PM   #9
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30
OK... got apt get installed after alot of bs and hard work ok... now - apt-get install mplayer'd and it's installed but now when I type 'mplayer'

a GUI doesn't pop up what do i do from here?

I can open and listen to media files via console (no video cause.. duh.. itsa console... what you want ascii text?)
I hate console anyway

Any ideas on how to get that GUI up?

Last edited by jon_k; 07-22-2003 at 03:38 PM.
 
Old 07-22-2003, 04:23 PM   #10
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Congratz jon_k!!!

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

Good luck!
 
Old 07-23-2003, 03:27 AM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
Quote:
when I type 'mplayer' a GUI doesn't pop up what do i do from here?
you go back and actually *read* the replies you've already had...
 
Old 07-23-2003, 05:13 PM   #12
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30
ok i've read their documentation and gmplayer brings it up!

;-)

Thanks for the help everyone
 
Old 07-23-2003, 06:40 PM   #13
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Rep: Reputation: 30
This is what I get when doing the above


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)
 
Old 07-23-2003, 06:57 PM   #14
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Rep: Reputation: 30
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.
 
Old 07-23-2003, 10:45 PM   #15
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30
Yep! Happy my original question ended up helping others too!! MPLAYER is a great can do everything windows media can.

Sometimes when you RTFM it doesn't have all the questions.
Some programmers good at C aren't so good at writing manuals....

Last edited by jon_k; 07-23-2003 at 10:47 PM.
 
  


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
Help please !!issues getting mplayer installed copter Fedora 3 07-12-2004 10:58 AM
Mplayer issues ch4s3r Linux - Software 2 03-01-2004 10:41 AM
more issues with mplayer nsong Linux - Software 5 09-04-2003 01:53 PM
More mplayer issues...no /.mplayer folder?! lt1derful Linux - Software 3 08-03-2003 10:09 PM
MPLayer GUI Issues - Please :) Slinger Linux - Newbie 2 11-09-2002 03:19 PM

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

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