LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-21-2004, 06:37 PM   #1
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Rep: Reputation: 33
mplayer installed... no .conf files for skin, font, or codecs


Hey everybody. I installed mplayer, following the installation manual on the mplayer site to the T. All codecs were placed in the appropriate directory, skins and fonts were unpacked to the appropriate directories in /usr/local/share/mplayer/ From what I can tell, I did everything exactly as specified. Here's the problem: it seems like there were no .conf files created on install. When I try to run gmplayer, i get the following:
Code:
bash-3.00$ gmplayer -skin OSX-Mod
MPlayer 1.0pre5-3.3.4 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 1660 MHz (Family: 6, Stepping: 2)
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 /home/kris/.mplayer/config
[cfg] read config file: /home/kris/.mplayer/gui.conf
Reading config file /home/kris/.mplayer/gui.conf: No such file or directory
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
Reading /home/kris/.mplayer/codecs.conf: Can't open '/home/kris/.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: /home/kris/.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/kris/.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: '/home/kris/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.

Exiting... (Quit)
This is with the -skin tag. Without it, nothing happens--it just terminates in an error. With the -skin tag, the player starts, but I get the following error dialog:
Code:
New_Face failed.  Maybe the
font path is wrong.
Please supply the text font file
(~/.mplayer/subfont.ttf)
Anyone have any idea why I don't have any .conf files in either my ~/.mplayer, or the local/mplayer directory? If anyone could point me in the right direction, I'd be super grateful. If the .conf files aren't too crazy, I could just create them myself, but I have no idea what kind of hardware specific config options they might contain (since I don't have them). Thanks in advance for any help.
-Kris
 
Old 09-21-2004, 07:14 PM   #2
mikedeatworld
Member
 
Registered: Nov 2003
Location: Farmington Michigan
Distribution: UBUNTU - Slackware - SuSE 9.1 - Knoppix - Fedora
Posts: 828

Rep: Reputation: 30
try only gmplayer
 
Old 09-21-2004, 07:31 PM   #3
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Original Poster
Rep: Reputation: 33
The first time I tried running just "gmplayer" it terminated with errors...didn't even start up. Now that I have run gmplayer with the -skin tag, it will start it with the appropriate skin. But I still get the font error. Is there a tag similar to the -skin tag to specify the font path? I tried checking the man page, but there isn't one. In fact, I can't even find the installation directory. wtf.
Oh, also I've encountered more problems. Whenever I try to open a video, I get the following error:
Code:
Fatal error!
Error opening/initializing the selected video_out (-vo) device.
This is absolutely ridiculous. I have probably tried installing mplayer 8 different times on various distros/hardware configs. I have never, not ONCE, gotten it to work correctly. Actually this is the closest I've gotten. All dependencies satisfied, everything intstalled where it's supposed to be, and I get nothing but errors. At least I get the player to start--that's a first. I downloaded the appropriate driver for my card (svgalib_helper), ran the make device command, etc. Still get the video_out error. I tried running gmplayer before I ran the make device, also. Same error. I admit, I am not a linux guru (far from it), but I've been playing around with it enough that I'm fairly comfortable with it.
! argh.
 
Old 09-21-2004, 07:35 PM   #4
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Original Poster
Rep: Reputation: 33
Oh these are the actual errors that result in the fatal blah blah..
Code:
Playing /home/kris/mplayer/goat.mpg.
MPEG-PS file format detected.
VIDEO:  MPEG1  352x288  (aspect 8)  25.000 fps  1098.0 kbps (137.2 kbyte/s)
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 14000->176400 (112.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
[cyberblade] Error occurred during pci scan: Operation not permitted
[mach64] Error occurred during pci scan: Operation not permitted
[mga] Error occurred during pci scan: Operation not permitted
[mga] Error occurred during pci scan: Operation not permitted
[nvidia_vid] Error occurred during pci scan: Operation not permitted
[pm3] Error occurred during pci scan: Operation not permitted
[radeon] Error occurred during pci scan: Operation not permitted
[rage128] Error occurred during pci scan: Operation not permitted
[SiS] Error occurred during pci scan: Operation not permitted
vosub_vidix: Couldn't find working VIDIX driver
Error opening/initializing the selected video_out (-vo) device.
I guess this may be because I didn't copy the svgalib_helper directory into the mplayer/main/blahblah/svgalib_helper directory. Cause I can't find it. locate mplayer doesn't even return any mplayer directories. Frustration.
 
Old 09-21-2004, 08:10 PM   #5
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Original Poster
Rep: Reputation: 33
Apparently I'm a moron. I didn't need the vidix drivers. It's now working with the following options.
gmplayer -fontconfig -vo xv
Seems like it should work without using all these options to sidestep whatever defaults it is using, but since I have no .conf files I don't really know how to specify any of the defaults. Anyone know how I might get the .conf files?
 
Old 09-21-2004, 10:08 PM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
All the information is in the documentation that came with mplayer. Also the same documentation is on mplayer's site. Please read it carefully.

Sheesh, morons these days.
 
Old 10-15-2004, 05:46 PM   #7
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Original Poster
Rep: Reputation: 33
OK. I have to revive this thread. I've fixed all the problems except for the font problem. Indeed, Electro, all documentation did come with mplayer--thanks , I would have never figured out what to do with the README files. Unfortunately not all of the directions in the readme's work. I downloaded the recommended font package from the mplayer website, unpacked it, and found the README. As directed, I decided on a font size and copied the files in the corresponding directory (font.desc, and the four *.raw files) to my ~/.mplayer/font directory. For some reason, I'm still getting the following errors:
Code:
...
font: can't open file: sans-serif
Cannot load font: sans-serif
...
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
The first two lines are probably the root of the problem. The font name specified in the gui.conf file is "sans-serif". I've tried changing it to match the fontname that I copied to the ~/.mplayer/font directory, but nothing works. Anyone have any ideas?
 
Old 09-15-2005, 05:23 PM   #8
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
good stuff kersten78.

I sometimes do the same .. rant on to myself about my problem on LQ, while only a few people take an interest.

Well, I've had the load_sub_face problem for some time, and although I didn't follow your thread 100%, I saw the -fontconfig option, tried it and yes! OSD works! pressing "o" gives time elapsed! Yay!

Thanks!
 
Old 09-15-2005, 05:53 PM   #9
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Original Poster
Rep: Reputation: 33
Wow, I had totally forgotten about this thread. Glad my ranting and raving actually proved helpful to you stabu!
 
Old 09-20-2005, 04:57 PM   #10
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
Far and few ...

...far and few are the threads that end up this way. (paraphrasing Edward Lear)

yes, well I've been a member for a bit and I seldom get my more fundamental questions answered. This being an exception.

Don't get me wrong, it's not necessarily LQs fault. Many times, it's just me.

That's why I've decided tonight to start a new way of searching.

Goodñthread

WHat's that? Alll the LQ good threads I find (the select few) I'm going to put that in them so when I do search for that term (surely unique) I get them listed out in the search function.

That is, until somebody starts using the same term for crappy thread, then my search will be a mess... but I'm jumping the gun a bit here.

Thanks.
 
Old 10-09-2005, 01:02 PM   #11
andrew4558
LQ Newbie
 
Registered: Oct 2005
Posts: 6

Rep: Reputation: 0
To Kersten78

There's another way to fix it instead of creating a symlink.
-Right click on MPlayer screen->Preference->Font
-Click on Browse, and go to directory containing .ttf font , (I choose Arialuni.tff because my language Vietnamese subtitle needs it and it's a nice unicode font ). click Ok . And restart MPlayer, that's it.
My system Ubuntu 5.10, it's in /usr/share/fonts/truetype.

Last edited by andrew4558; 10-09-2005 at 01:12 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
installed Mplayer/Mplayerplugin, are they looking to /usr/lib/win32 for codecs.? Ausar Linux - Newbie 4 08-11-2004 03:24 PM
Mplayer skin howto mohapi Linux - Software 8 04-04-2004 12:36 PM
Mplayer skin example? svar Linux - General 6 12-02-2003 07:35 PM
mplayer codecs installed before compile? shanenin Linux - Software 2 10-21-2003 03:15 PM
Help needed with codecs for mplayer installed by RPM r4736 Linux - Software 5 10-18-2003 12:11 AM

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

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