LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-18-2004, 11:08 PM   #1
Darkenedes
Member
 
Registered: Jul 2004
Location: Pittsburgh, PA
Distribution: : Slackware 10
Posts: 31

Rep: Reputation: 15
mplayer problem


Hmm, ok I think I messed this up pretty bad. I compiled and/or installed mplayer wrong and didn't use (or know about, at the time) checkinstall, so I just downloaded a Slackware package from linuxpackages.net. My problem is that mplayer still tries to run the first installation's files... I'm not even sure where they all are, so I can't delete them. I'm really new to compiling, and linux in general. Is there a way to link the mplayer command to my newly installed package that has the correct config and codecs, or am I screwed out of mplayer?

-Dark
 
Old 08-18-2004, 11:14 PM   #2
th3_d0c
Member
 
Registered: Nov 2003
Location: New Hampshire
Distribution: Slack 9.2
Posts: 39

Rep: Reputation: 15
hmm
so you installed it and it didnt work? and than you tried installing it again?

What happens? Why doesnt it work?
 
Old 08-18-2004, 11:34 PM   #3
Darkenedes
Member
 
Registered: Jul 2004
Location: Pittsburgh, PA
Distribution: : Slackware 10
Posts: 31

Original Poster
Rep: Reputation: 15
Ok, first I downloaded the source and compiled it myself, using make install to install it. I was getting some errors, mostly it couldn't find the right directories or any of the codecs I supplied. So I downloaded a pre-packaged mplayer made for Slackware, and installed it using KPackage. But all of the mplayer commands are still pointed towards my messed up installation. When I try to run gmplayer I get:

Code:
MPlayer 1.0pre5-3.3.4 (C) 2000-2004 MPlayer Team

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

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/ekim/.mplayer/config
[cfg] read config file: /home/ekim/.mplayer/gui.conf
Reading config file /home/ekim/.mplayer/gui.conf
vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0.0" => local display)
Reading /home/ekim/.mplayer/codecs.conf: Can't open '/home/ekim/.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/ekim/.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/ekim/.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/ekim/.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.

And when trying to run a video from command line from user:

Code:
MPlayer 1.0pre5-3.3.4 (C) 2000-2004 MPlayer Team

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

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /home/ekim/.mplayer/config
Reading /home/ekim/.mplayer/codecs.conf: Can't open '/home/ekim/.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/ekim/.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/ekim/.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

Playing RvB_Episode36_LoRes.avi.
AVI file format detected.
VIDEO:  [DX50]  320x240  24bpp  29.970 fps  646.2 kbps (78.9 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: 12000->176400 (96.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
open: Permission denied
vo_mga: Couldn't open /dev/mga_vid
open: Permission denied
vo_mga: Couldn't open /dev/mga_vid
vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 320x240 => 320x240 Planar YV12
New_Face failed. Maybe the font path is wrong.  1   0%  0%  0.0% 0 0 0%
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A:  11.3 V:  11.3 A-V: -0.004 ct:  0.029  341/341   7%  8%  1.7% 19 0 0%%

MPlayer interrupted by signal 15 in module: sleep_usleep
X connection to :0.0 broken (explicit kill or server shutdown).

And... from root:

Code:
MPlayer 1.0pre5-3.3.4 (C) 2000-2004 MPlayer Team

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

Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directo
ry
Reading config file /root/.mplayer/config
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/c
odecs.conf': No such file or directory
Using built-in default codecs.conf.
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Linux hardware RTC timing (1024Hz).
Can't open input config file /root/.mplayer/input.conf: No such file or director
y
Can't open input config file /usr/local/etc/mplayer/input.conf: No such file or
directory
Falling back on default (hardcoded) input config

Playing /fat-c/mike/redvsb~1/RvB_Episode34_LoRes.avi.
AVI file format detected.
VIDEO:  [DX50]  368x240  24bpp  29.970 fps  641.5 kbps (78.3 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: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
open: No such device
vo_mga: Couldn't open /dev/mga_vid
open: No such device
vo_mga: Couldn't open /dev/mga_vid
vo: X11 running at 1280x1024 with depth 16 and 16 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 368 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.53:1 - prescaling to correct movie aspect.
VO: [xv] 368x240 => 368x240 Planar YV12
New_Face failed. Maybe the font path is wrong.  1   0%  0%  0.0% 0 0 0%
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Broken pipe   2.6 A-V:  0.000 ct:  0.028   80/ 80  24%  7%  2.2% 10 0 0%%
I'd rather just delete or ignore my messed up copy and go with the packaged one I downloaded. And I'm sorry if I sound like an idiot, I just don't know the linux basics yet. Any suggestions?
 
Old 08-18-2004, 11:44 PM   #4
th3_d0c
Member
 
Registered: Nov 2003
Location: New Hampshire
Distribution: Slack 9.2
Posts: 39

Rep: Reputation: 15
Sounds like you didnt follow the directions.

If you open up either README or INSTALL before you install it, it will tell you exactly what to do. I myself use src packages. I hate the rpms(and I cant use 'em). Usually you have to run either ./configure, ./config, or something similar, than make (all). And than install. And you have to run the make's while you are root.

It sounds liek you didnt run ./configure when you had the src's. I would go back to those, and re-read the README and INSTALL, so you know the correct way to compile/install it. (I might skip the readme if the install had enough info in it. The readme for mplayer is really big, I believe.)
 
Old 08-18-2004, 11:58 PM   #5
Darkenedes
Member
 
Registered: Jul 2004
Location: Pittsburgh, PA
Distribution: : Slackware 10
Posts: 31

Original Poster
Rep: Reputation: 15
That's what I did the first time. I followed the directions, ran config, make, and make install in root without any errors.. that's what confuses me. Everything compiled and installed smoothly (at least I thought), it just doesn't run without a screen full of errors. Is there a way to uninstall mplayer since I used make-install instead of a rpm? I want to get it off of my computer before I reinstall it again.

Last edited by Darkenedes; 08-18-2004 at 11:59 PM.
 
  


Reply



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
mplayer problem saipraveen Linux - Newbie 10 06-13-2005 11:56 PM
yet another MPlayer problem raffi Slackware 5 01-13-2005 03:19 PM
mplayer problem cool_ashwin22 Fedora 0 10-20-2004 09:50 AM
Mplayer Problem. Itsu Linux - Software 5 02-02-2004 09:27 PM
MPlayer Problem #1 Micro420 Linux - Software 9 09-12-2003 04:54 PM

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

All times are GMT -5. The time now is 05:19 PM.

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