LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-23-2003, 09:50 AM   #1
jsandro7
Member
 
Registered: Nov 2003
Location: Dallas, TEXAS
Distribution: Slackware AMD Athalon XP2200
Posts: 39

Rep: Reputation: 15
Unhappy mplayer works in command but I can't get it in GUI


Hi, well I did configure the GUI version of mplayer and have got the contens of the fonts and skin out and put it in /usr/local/share/mplayer/skins and fonts, but when I start the gmplayer it give me this error
MPlayer 1.0pre3-3.2.2 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 1999 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
[cfg] read config file: /root/.mplayer/gui.conf
Reading config file /root/.mplayer/gui.conf: No such file or directory
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf: No such file or directory
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: '/root/.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).
You have new mail in /var/spool/mail/root

It's seems it can't find the file codecs.conf. I did download the codecs and place them where am I going wrong? The command line mplayer works perfectly fine. Please help

Thanks
 
Old 12-23-2003, 10:07 AM   #2
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
It's telling you that you do not have a /root/.mplayer/codecs.conf or a /usr/local/etc/mplayer/codecs.conf directory where it wants the codecs stored.

<----- This little area that has your username and info can be really helpful if you fill in your distro since you failed to give it in your post.

Each distro (major) had different ways to install/compile/build programs and not knowing which one you are using or how you are installing/compiling/building something it is really hard for anyone to help.

rberry88
 
Old 12-23-2003, 10:19 AM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
On a side note: Why are you attempting to run mplayer as root? Bad security practice.

How are you attempting to launch the gui portion of mplayer? Like, gmplayer or what? And your certain you enabled the gui during the ./configure portion when installing?
 
Old 12-23-2003, 10:27 AM   #4
jsandro7
Member
 
Registered: Nov 2003
Location: Dallas, TEXAS
Distribution: Slackware AMD Athalon XP2200
Posts: 39

Original Poster
Rep: Reputation: 15
Yes the Gui portion has been enable, and I am using the the command like gmplayer to attampt to launch the player, however even after I created the directory codecs.conf in the /usr/local/etc/mplayer it still gives me this error message
[root@localhost Music online]# gmplayer
MPlayer 1.0pre3-3.2.2 (C) 2000-2003 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 1998 MHz (Family: 6, Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /root/.mplayer/config
[cfg] read config file: /root/.mplayer/gui.conf
Reading config file /root/.mplayer/gui.conf: No such file or directory
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
Reading /root/.mplayer/codecs.conf: Can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: font: can't open file: /root/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf: No such file or directory
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: '/root/.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).

so what should I do, try to reconfigure it with ./configure --gui and hope it works than? or is there an another way. I am running as root right now because I am configure my system. If you could help I would appriatte it.

Thanks
 
Old 12-23-2003, 10:31 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I had the exact same problem and was unable to get around it. Unfortunately, soon after I had to remove Linux and add Win2K (for work - new work laptop arrives next month. woo yay, only took 3 months. But I digress).

I think several people have had this problem and I haven't found a solution. I do hope there is one out there. I wonder if it's worth posting a bug to MPlayer.
 
Old 12-23-2003, 10:31 AM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
./configure --enable-gui

And its sometimes best to install any additional codecs and skins, then configure mplayer.
 
Old 12-23-2003, 10:33 AM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally posted by XavierP
I think several people have had this problem and I haven't found a solution. I do hope there is one out there. I wonder if it's worth posting a bug to MPlayer.
I wouldn't bother, its not a bug and I'm sure the mplayer team will just redirect you to read the man pages and INSTALL/README files in a rude fashion. But I really don't blame them, their docs are very detailed and well written, with all the information you could ever need really...
 
Old 12-23-2003, 10:35 AM   #8
jsandro7
Member
 
Registered: Nov 2003
Location: Dallas, TEXAS
Distribution: Slackware AMD Athalon XP2200
Posts: 39

Original Poster
Rep: Reputation: 15
do I have to run make and make install again?
 
Old 12-23-2003, 10:36 AM   #9
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally posted by jsandro7
do I have to run make and make install again?
Of course, if not you just creating a new make file from ./configure which will never get used..
 
Old 12-23-2003, 10:38 AM   #10
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Quote:
...its sometimes best to install any additional codecs and skins, then configure mplayer.
Doing it that way around never even occured to me. Once I get my laptop returned totally to me, I will have to give that a go. I'm currently planning to reinstall either Slackware or SuSE, leaning towards Slack, so I'll have to get used to some probs with the ./configure option.

JSandro7 - if you try Trickykid's codec first, mplayer second method, could you post back and let us know how you got on.

Thanks.
 
Old 12-23-2003, 10:47 AM   #11
jsandro7
Member
 
Registered: Nov 2003
Location: Dallas, TEXAS
Distribution: Slackware AMD Athalon XP2200
Posts: 39

Original Poster
Rep: Reputation: 15
ok, thanks I ran the make and make install place the skin in the skin folder and the fonts in the fonts folder, but when I run make install it reports this.
[root@localhost MPlayer-1.0pre3]# make install
make[1]: Entering directory `/root/mplayer/MPlayer-1.0pre3/libdha'
mkdir -p /usr/local/lib
install -m 755 -s -p libdha.so.0.1 /usr/local/lib/libdha.so.0.1
rm -f /usr/local/lib/libdha.so
ln -sf libdha.so.0.1 /usr/local/lib/libdha.so.0
ldconfig
make[1]: Leaving directory `/root/mplayer/MPlayer-1.0pre3/libdha'
make[1]: Entering directory `/root/mplayer/MPlayer-1.0pre3/vidix'
make[2]: Entering directory `/root/mplayer/MPlayer-1.0pre3/vidix/drivers'
mkdir -p /usr/local/lib/mplayer/vidix
install -m 755 -s -p *.so /usr/local/lib/mplayer/vidix
make[2]: Leaving directory `/root/mplayer/MPlayer-1.0pre3/vidix/drivers'
make[1]: Leaving directory `/root/mplayer/MPlayer-1.0pre3/vidix'
if test ! -d /usr/local/bin ; then mkdir -p /usr/local/bin ; fi
install -m 755 -s mplayer /usr/local/bin/mplayer
ln -sf mplayer /usr/local/bin/gmplayer
if test ! -d /usr/local/man/man1 ; then mkdir -p /usr/local/man/man1; fi
for i in en; do \
if test "$i" = en ; then \
install -c -m 644 DOCS/man/en/mplayer.1 /usr/local/man/man1/mplayer.1 ; \
else \
mkdir -p /usr/local/man/$i/man1 ; \
install -c -m 644 DOCS/man/$i/mplayer.1 /usr/local/man/$i/man1/mplayer.1 ; \
fi ; \
done
install -m 755 -s mencoder /usr/local/bin/mencoder
for i in en; do \
if test "$i" = en ; then \
ln -sf mplayer.1 /usr/local/man/man1/mencoder.1 ; \
else \
ln -sf mplayer.1 /usr/local/man/$i/man1/mencoder.1 ; \
fi ; \
done
*** Download skin(s) at http://www.mplayerhq.hu/homepage/dload.html
*** for GUI, and extract to /usr/local/share/mplayer/Skin/
even thoe I have place the contest on a skin in the folder what does it mean, and the gmplayer is still reporting the same error, most likely do to this. Can you help, I know you are smart, I am just begging to learn the linux
Thanks
 
Old 12-23-2003, 11:22 AM   #12
jsandro7
Member
 
Registered: Nov 2003
Location: Dallas, TEXAS
Distribution: Slackware AMD Athalon XP2200
Posts: 39

Original Poster
Rep: Reputation: 15
ok, I got it working execellent. Here is what the problem was, nobody told me about it, but my command sense finally kick in. In the Skin folder when you extract the default skin folder which you have downloaded you still have to rename the folder to default otherwise it will not work. All the trouble for as simple rename task. LOL. I feel kinda stupid now, but learning can be this way. Thanks Trickykid and XavierP if this help you great, if you still have questions I might now be able to answer them, I think I got the finally.
 
Old 12-23-2003, 11:39 AM   #13
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I did try this originally - it took me a while to figure it out (LOL at me).

Unfortunately, as per my above post, I have no way of actually trying it out yet, so I'll have to hold off on my own installation experimentation.

Glad to hear you got it sorted - don't forget to click the button which shows you got the question answered.

Regards and Merry Christmas.
 
  


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
Running MPlayer from the GUI, not the command line... xbill311x Linux - Software 14 03-28-2005 09:08 PM
New MPlayer errors - command line works, GUI doesn't Trey2501 Linux - Newbie 8 03-07-2004 07:59 PM
mplayer works, gui problematic nithinkd Linux - Software 3 10-28-2003 05:59 PM
How to install mplayer gui after installing mplayer kaega2 Linux - Software 5 10-07-2003 10:44 AM
mplayer - command line and gui esteeven Linux - Software 7 12-06-2002 07:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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