[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MPlayer



On Fri, May 24, 2002 at 03:32:59PM -0300, O Senhor wrote:
> Hello,
> 
>  I have compiled the MPlayer in my Debian Machine, and was fine... But
> when i try run it, (mplayer <file.mpg>, nothing appears. Only messages
> about permission denied in some places and .mplayer configuration
> faults. But is my first time, how can i have the mplayer profile? 

IIRC, I had to copy over the missing files from mplayer installation
directory manually.  I did install mplayer a very long time ago tho.
See if it helps.

> 
>  here is the output:
> 
> 
> MPlayer 0.90pre4-2.95.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
> 
> CPU vendor name: AuthenticAMD  max cpuid level: 1
> CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 2)
> extended cpuid-level: 6
> CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
> Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx
> Reading /home/me/.mplayer/codecs.conf: can't open
> '/home/me/.mplayer/codecs.conf': No such file or directory
> Reading /usr/local/share/mplayer/codecs.conf: 34 audio & 92 video codecs
> font: can't open file: /home/me/.mplayer/font/font.desc
> font: can't open file: /usr/local/share/mplayer/font/font.desc
> Linux RTC init error: Permission denied
> Using usleep() timing
> Can't open input config file /home/me/.mplayer/input.conf : No such file
> or directory
> Falling back on default (hardcoded) config
> Playing misc/videos/hochzeit.mpg
> header block 1 size: 0
> Detected MPEG-PS file format!
> VIDEO:  MPEG1  352x288  (aspect 8)  25.00 fps  1437.5 kbps (179.7
> kbyte/s)
> [V] filefmt:2  fourcc:0x10000001  size:352x288  fps:25.00  ftime:=0.0400
> Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
> Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
> mp3lib: made decode tables with MMX optimization
> init layer2&3 finished, tables done
> mp3lib: using 3DNow!Ex optimized decore!
> MPEG 1.0, Layer II, 44100 Hz 224 kbit Stereo, BPF: 731
> Channels: 2, copyright: No, original: No, CRC: No, emphasis: 0
> AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 28000->176400
> fbdev: Can't open /dev/fb0: Permission denied

This is (I think) caused by mplayer trying to use the framebuffer
device for video output.  Since you don't have access to it (I presume
it's owned by root.root), and you haven't told it about any other
output methods (due to the lack of config files I mention above), it
dies.  Try running with 'mplayer -vo x11 <file.mpg>' to use the X
output plugin, or '-vo sdl' to use the SDL plugin.  The SDL one seems
to be more featureful(is that even a word?) than the X one, plus it
(presumably) supports all the targets that SDL does (X, framebuffer,
ASCII!).  For a full list of all the available output plugins, try
'mplayer -vo help'.

If you want the best possible speed (under X, anyhow) tho, you need to
use the XVideo X extension.  Of course, this requires your video card
driver to support it.  The X nv driver does not, but the proprietary,
buggy, POS nvidia one does.  I'm not sure about any of the other cards
around.

-rob

Attachment: pgpy2rg6Br6_S.pgp
Description: PGP signature


Reply to: