LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mplayer installed... no .conf files for skin, font, or codecs (https://www.linuxquestions.org/questions/linux-software-2/mplayer-installed-no-conf-files-for-skin-font-or-codecs-233550/)

kersten78 09-21-2004 06:37 PM

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

mikedeatworld 09-21-2004 07:14 PM

try only gmplayer

kersten78 09-21-2004 07:31 PM

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.
:mad: :newbie: !:study: argh.

kersten78 09-21-2004 07:35 PM

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.

kersten78 09-21-2004 08:10 PM

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?

Electro 09-21-2004 10:08 PM

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. :rolleyes:

kersten78 10-15-2004 05:46 PM

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.:rolleyes: 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?

stabu 09-15-2005 05:23 PM

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!

kersten78 09-15-2005 05:53 PM

Wow, I had totally forgotten about this thread. Glad my ranting and raving actually proved helpful to you stabu! :D

stabu 09-20-2005 04:57 PM

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.

andrew4558 10-09-2005 01:02 PM

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.


All times are GMT -5. The time now is 03:58 AM.