[MPlayer-users] mplayer error

Diego Zuccato diego at otello.alma.unibo.it
Sat Mar 23 10:24:01 CET 2002


Attila Kinali wrote:
> 
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Fri, 22 Mar 2002 12:30:19 -0500
> Diego Zuccato <diego at otello.alma.unibo.it> wrote:

> > Section 5.b doesen't help, since if I run mplayer from gdb it just
> > exits.
> There is no sense in this bugreport w/o gdb output
gdb output that's quite hard to obtain...
1) run it as user: crash
2) run it as user under gdb: exit w/ errorlevel 1 (gdb doesen't allow
suid bit...)
3) run it as root: plays nice
4) run it as root under gdb: plays nice

So it seems it's something related to suid handling...
-rwsr-x---    1 root     ndk       2729912 mar 22 11:25 mplayer*
-rwsr-x---    1 root     ndk       2494362 feb 28 09:58 mplayerxp*

As you can see the permission mask is exactly the same.
Changing it to
-rwsr-sr-t    1 root     root      2729912 mar 22 11:25 mplayer*
doesen't help.

So it seems it's just something that goes wrong when run as user and not
as root.

AAAAAAAAAAAAARRRRRRRRRRRRRRRRGGGGGGGGGGGGHHHHHHHHHHHHH!!!!

Tell me I'm a chicken.

Please tell me.

.

.

.

I forgot to upgrade /usr/local/lib/mplayer/vidix/mach64_vid.so :-(((

Well, seems now it's ok... but just with xvidix or x11 .
sdl and xv (maybe just xv, since IIRC sdl uses it...) just output a
really dark red screen.

********************* This works
MPlayer CVS-020322-11:15-3.0.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6,
Stepping: 6)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get
best performance, recompile mplayer from sources with
--disable-runtime-cpudetection
Reading /home/ndk/.mplayer/codecs.conf: 29 audio & 78 video codecs
font: can't open file: /home/ndk/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Linux's hardware RTC timing (1024Hz)
Can't open input config file /home/ndk/.mplayer/input.conf : No such
file or directory
Falling back on default (hardcoded) config
Playing Il Signore degli Anelli Divx ita by doomano.avi
Not an URL!
CACHE_PRE_INIT: 0 [0] 212992  pre:1677721  eof:0  
Cache fill:  2.54% (212992 bytes)    Detected AVI file format!
list_end=0x2292
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
list_end=0x10F4
list_end=0x2186
list_end=0x2292
list_end=0x50B3E910
VIDEO:  [DX50]  512x272  24bpp  25.00 fps  553.4 kbps (67.6 kbyte/s)
[V] filefmt:3  fourcc:0x30355844  size:512x272  fps:25.00  ftime:=0.0400
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6,
Stepping: 6)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
MPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 417
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 16000->176400
vo: X11 running at 1024x768 with depth 16 and 16 bits/pixel (":0.0" =>
local display)
==========================================================================
Opening Video Decoder: [odivx] DivX4Linux lib (odivx mode)
DivX 5.00 not supported by divx4linux decore - it requires divx5linux
VDecoder init failed :(
Opening Video Decoder: [divx4] DivX4Linux lib (divx4 mode)
DivX 5.00 not supported by divx4linux decore - it requires divx5linux
VDecoder init failed :(
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx mmxext sse
VDec: vo config request - 512 x 272, Planar YV12  
Movie-Aspect is undefined - no prescaling applied.
VO: [x11] 512x272 => 512x272 Planar YV12 
Sharing memory.
Using MMX2 for colorspace transform
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter
Disabling DPMS
stat: 1
Detected video codec: [ffodivx] drv:5 prio:0 (FFmpeg OpenDivX)
==========================================================================
AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested:
Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:   2/2  (65536 bytes/frag)  free: 131072
Start playing...
This file was encoded with DivX500 Build413
WARNING: this version of DivX is not MPEG4 compatible, trying to
workaround these bugs...
A:  19.2 V:  19.2 A-V:  0.009 ct:  0.049  480/480  14% 24%  2.2% 0 0 88%
*** free_stream() called ***
Successfully enabled DPMS

Exiting... (Quit)

********************* This doesen't work
MPlayer CVS-020322-11:15-3.0.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6,
Stepping: 6)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get
best performance, recompile mplayer from sources with
--disable-runtime-cpudetection
Reading /home/ndk/.mplayer/codecs.conf: 29 audio & 78 video codecs
font: can't open file: /home/ndk/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using Linux's hardware RTC timing (1024Hz)
Can't open input config file /home/ndk/.mplayer/input.conf : No such
file or directory
Falling back on default (hardcoded) config
Playing Il Signore degli Anelli Divx ita by doomano.avi
Not an URL!
CACHE_PRE_INIT: 0 [0] 0  pre:1677721  eof:0  
Cache fill:  3.22% (270336 bytes)    Detected AVI file format!
list_end=0x2292
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
list_end=0x10F4
list_end=0x2186
list_end=0x2292
list_end=0x50B3E910
VIDEO:  [DX50]  512x272  24bpp  25.00 fps  553.4 kbps (67.6 kbyte/s)
[V] filefmt:3  fourcc:0x30355844  size:512x272  fps:25.00  ftime:=0.0400
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6,
Stepping: 6)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
MPEG 1.0, Layer III, 44100 Hz 128 kbit Joint-Stereo, BPF: 417
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=44100  chans=2  bps=2  sfmt=0x10  ratio: 16000->176400
==========================================================================
Opening Video Decoder: [odivx] DivX4Linux lib (odivx mode)
DivX 5.00 not supported by divx4linux decore - it requires divx5linux
VDecoder init failed :(
Opening Video Decoder: [divx4] DivX4Linux lib (divx4 mode)
DivX 5.00 not supported by divx4linux decore - it requires divx5linux
VDecoder init failed :(
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx mmxext sse
VDec: vo config request - 512 x 272, Planar YV12  
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 512x272 => 512x272 Planar YV12 
vo: X11 running at 1024x768 with depth 16 and 16 bits/pixel (":0.0" =>
local display)
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 55 for hw scaling
[xv] dcx: 1 dcy: 25 dx: 0 dy: 0 dw: 512 dh: 272
Disabling DPMS
stat: 1
Detected video codec: [ffodivx] drv:5 prio:0 (FFmpeg OpenDivX)
==========================================================================
AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian)
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested:
Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags:   2/2  (65536 bytes/frag)  free: 131072
Start playing...
This file was encoded with DivX500 Build413
WARNING: this version of DivX is not MPEG4 compatible, trying to
workaround these bugs...
[xv] dcx: 1 dcy: 25 dx: 0 dy: 0 dw: 512 dh: 272
A:   2.6 V:   2.6 A-V:  0.011 ct:  0.047   65/ 65  13% 31%  2.8% 7 0 98%
*** free_stream() called ***
Successfully enabled DPMS

Exiting... (Quit)


Obv. I updated libavcodec to the latest cvs.

BYtE,
 Diego.




More information about the MPlayer-users mailing list