[MPlayer-users] mplayer WMV8 and gcc3.2 problem

Goetz Waschk waschk at informatik.uni-rostock.de
Sat Aug 3 21:20:15 CEST 2002


Hi everyone,

there's a problem with the WMV8 codec if mplayer was compiled with gcc
3.2. The same version compiled with "the other compiler" fixed the
problem. Has anyone contacted the gcc developers or thought about a
workaround? 

Anyway, here's the complete bugreport:

Distribution: Mandrake 9.0 Cooker
[goetz at abgrund MPlayer]$ uname -a
Linux abgrund.de 2.4.18-21mdk #1 Fre Jul 19 11:08:58 EDT 2002 i686 unknown
[goetz at abgrund MPlayer]$ ls -l /lib/libc[.-]*
-rwxr-xr-x    1 root     root      1147848 Jul 22 21:37 /lib/libc-2.2.5.so*
lrwxr-xr-x    1 root     root           13 Jul 23 19:45 /lib/libc.so.6 -> libc-2.2.5.so* 
[goetz at abgrund MPlayer]$ X -version

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
	If the server is older than 6-12 months, or if your card is
	newer than the above date, look for a newer version before
	reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.16-6mdksmp i686 [ELF] 
Module Loader present
[goetz at abgrund MPlayer]$ gcc -v
Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/specs
Configured with: ../configure --prefix=/usr --libdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --enable-long-long --enable-__cxa_atexit --enable-languages=c,c++,ada,f77,objc,java --host=i586-mandrake-linux-gnu --with-system-zlib
Thread model: posix
gcc version 3.2 (Mandrake Linux 9.0 3.2-0.2mdk)
[goetz at abgrund MPlayer]$ ld -v
GNU ld version 2.12.90.0.14 20020627
[goetz at abgrund MPlayer]$ as --version
GNU assembler 2.12.90.0.14 20020627
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i586-mandrake-linux-gnu'.

[goetz at abgrund MPlayer]$ cat /proc/cpuinfo
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 6
model name	: Celeron (Mendocino)
stepping	: 0
cpu MHz		: 334.097
cache size	: 128 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 2
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr
bogomips	: 666.82

Video card: ASUS V3400 chip: nvidia TNT 16MB SDRAM
driver: nvidia 2960
sound: Creative SB16 with ALSA OSS emulation


output:

(gdb) run -v -vo null "/mnt/cdrom/vagrant/The Get Up Kids - Overdue.asf"
Starting program: /home/goetz/RPM/BUILD/MPlayer/mplayer -v -vo null "/mnt/cdrom/vagrant/The Get Up Kids - Overdue.asf"
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer CVS-020802-17:22-3.2 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Intel Celeron A Mendocino/Pentium II Dixon (Family: 6, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

/etc/mplayer//mplayer.conf(17): option: fs
/etc/mplayer//mplayer.conf(17): parameter: yes
/etc/mplayer//mplayer.conf(123): option: framedrop
/etc/mplayer//mplayer.conf(123): parameter: yes
/etc/mplayer//mplayer.conf(130): option: cache
/etc/mplayer//mplayer.conf(130): parameter: 8192
/home/goetz/.mplayer/config(11): option: vo
/home/goetz/.mplayer/config(11): parameter: sdl
/home/goetz/.mplayer/config(14): option: ao
/home/goetz/.mplayer/config(14): parameter: oss
/home/goetz/.mplayer/config(17): option: fs
/home/goetz/.mplayer/config(17): parameter: yes
/home/goetz/.mplayer/config(30): option: vm
/home/goetz/.mplayer/config(30): parameter: yes
/home/goetz/.mplayer/config(38): option: zoom
/home/goetz/.mplayer/config(38): parameter: no
/home/goetz/.mplayer/config(59): option: skin
/home/goetz/.mplayer/config(59): parameter: neutron
/home/goetz/.mplayer/config(73): option: sound
/home/goetz/.mplayer/config(73): parameter: 1
/home/goetz/.mplayer/config(74): option: nosound
/home/goetz/.mplayer/config(74): parameter: nein
/home/goetz/.mplayer/config(75): option: mixer
/home/goetz/.mplayer/config(75): parameter: /dev/mixer
/home/goetz/.mplayer/config(86): option: ffactor
/home/goetz/.mplayer/config(86): parameter: 3/4
/home/goetz/.mplayer/config(127): option: framedrop
/home/goetz/.mplayer/config(127): parameter: yes
/home/goetz/.mplayer/config(134): option: cache
/home/goetz/.mplayer/config(134): parameter: 8192
/home/goetz/.mplayer/config(148): option: osdlevel
/home/goetz/.mplayer/config(148): parameter: 1
Reading /home/goetz/.mplayer/codecs.conf: can't open '/home/goetz/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer//codecs.conf: 36 audio & 103 video codecs
CommandLine: '-v' '-vo' 'null' '/mnt/cdrom/vagrant/The Get Up Kids - Overdue.asf'
get_path('font/font.desc') -> '/home/goetz/.mplayer/font/font.desc'
Font /home/goetz/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX Optimized OnScreenDisplay
Linux RTC init error: Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/goetz/.mplayer/input.conf'
Parsing input config file /home/goetz/.mplayer/input.conf
Input config file /home/goetz/.mplayer/input.conf parsed : 53 binds
Opening joystick device /dev/input/js0

Playing /mnt/cdrom/vagrant/The Get Up Kids - Overdue.asf
Not an URL!
File size is 6178443 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  
Cache fill: 19,63% (1646592 bytes)    Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x835ccd8  
Detected ASF file format!
ASF: packets: 1844  flags: 2  max_packet_size: 3350  min_packet_size: 3350  max_bitrate: 276240  preroll: 7972
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 28 bytes,  stream: 8 bytes  ID: 1
unk1: 0  unk2: 0
FILEPOS=0xD4
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 2
Samplerate: 44100
avg byte/sec: 6003
Block align: 1115
bits/sample: 16
cbSize: 10
Unknown extra header dump: [0] [0] [1f] [0] [5b] [4] [0] [0] [e1] [0] 
ASF: audio scrambling: 1 x 1 x 1115
stream type: guid_video_stream
stream concealment: unknown guid 0057fb20-555b-cf11-a8fd00805f5c442b
type: 55 bytes,  stream: 0 bytes  ID: 2
unk1: 0  unk2: 0
FILEPOS=0x146
==> Found video stream: 2
======= VIDEO Format ======
  biSize 44
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 844516695='WMV2'
  biSizeImage 230400
===========================

 Title: Overdue; Album: On a Wire
 Author: The Get Up Kids
 Copyright: ©2002 Vagrant Records

Found movie at 0x413 - 0x5E468B
ASF: 1 audio and 1 video streams found
Auto-selected ASF audio ID = 1
Auto-selected ASF video ID = 2
VIDEO:  [WMV2]  320x240  24bpp
ASF: Searching for audio stream (id:1)
[V] filefmt:6  fourcc:0x32564D57  size:320x240  fps:1000,00  ftime:=0,0010
Clip info: 
 name: Overdue; Album: On a Wire
 author: The Get Up Kids
 copyright: ©2002 Vagrant Records
get_path('sub/') -> '/home/goetz/.mplayer/sub/'
Detected audio codec: [divx] afm:4 (DivX audio (WMA))
Initializing audio codec...
Opening audio decoder: [acm] Win32 ACM audio decoder
======= Win32 (ACM) AUDIO Codec init =======
Input format:
  wFormatTag 353
  nChannels 2
  nSamplesPerSec 44100
  nAvgBytesPerSec 6003
  nBlockAlign 1115
  wBitsPerSample 16
  cbSize 10
Output fmt:
  wFormatTag 1
  nChannels 2
  nSamplesPerSec 44100
  nAvgBytesPerSec 176400
  nBlockAlign 4
  wBitsPerSample 16
  cbSize 0
Loading DLL: 'divxa32.acm'
Audio codec opened OK! ;-)
Audio ACM output buffer min. size: 294912
Audio ACM input buffer min. size: 2230
INFO: Win32/ACM audio codec init OK!
dec_audio: Allocating 4460 bytes for input buffer
dec_audio: Allocating 294912 + 65536 = 360448 bytes for output buffer
AUDIO: 44100 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 6003->176400 (48,0 kbit)
==========================================================================
Opening video decoder: [dshow] DirectShow video codecs
Loading DLL: 'wmv8ds32.ax'
get_path('registry') -> '/home/goetz/.mplayer/registry'
Using DirectShow codec: wmv8ds32.ax
Decoder supports the following YUV formats: YUY2 IYUV UYVY YV12 YVYU I420 YVU9 
Decoder is capable of YUV output (flags 0x7f)
VDec: vo config request - 320 x 240 (preferred csp: Packed YUY2)  
[PP] Using codec's postprocessing, max q = 4
vo_debug: query(Packed YUY2) returned 0x1 (i=0) 
vo_debug: query(BGR 32-bit) returned 0x1 (i=1) 
vo_debug: query(BGR 24-bit) returned 0x1 (i=2) 
vo_debug: query(BGR 16-bit) returned 0x1 (i=3) 
vo_debug: query(BGR 15-bit) returned 0x1 (i=4) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(320x240->320x240,flags=3,'MPlayer',0x32595559)
VO: [null] 320x240 => 320x240 Packed YUY2  [fs] [vm]
VO: Description: Null video output
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
INFO: Win32/DShow video codec init OK!
Detected video codec: [wmv8] vfm:4 (Windows Media Video 8)
==========================================================================
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 44100 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/sound/dsp' dsp device
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:  16/16  (4096 bytes/frag)  free:  65536
Start playing...

avg. framerate: 30 fps             
*** [vo] Allocating mp_image_t, 320x240x16bpp YUV packed, 153600 bytes

Program received signal SIGILL, Illegal instruction.
0xbfffdd65 in ?? ()
(gdb) bt
#0  0xbfffdd65 in ?? ()
#1  0x1c409eb8 in ?? ()
#2  0x1c407ee4 in ?? ()
#3  0x1c402cfe in ?? ()
#4  0x1c402949 in ?? ()
#5  0x1c406e4b in ?? ()
#6  0x080aa5b4 in decode (sh=0x83d9bf0, data=0x831a940, len=0, flags=0)
    at vd_dshow.c:107
#7  0x080a8899 in decode_video (sh_video=0x0, 
    start=0x4 <Address 0x4 out of bounds>, in_size=4, drop_frame=0)
    at dec_video.c:191
#8  0x08070c07 in main (argc=5, argv=0xbffff234, envp=0x4) at mplayer.c:1570
#9  0x40e39082 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0xbfffdd45 to 0xbfffdd85:
0xbfffdd45:	(bad)  
0xbfffdd47:	mov    $0x1c409eb8,%edi
0xbfffdd4c:	add    %bh,%ah
0xbfffdd4e:	and    %eax,(%eax)
0xbfffdd50:	or     $0x0,%al
0xbfffdd52:	add    %al,(%eax)
0xbfffdd54:	data16
0xbfffdd55:	(bad)  
0xbfffdd56:	(bad)  0xffffffc8(%ebx)
0xbfffdd59:	cwtl   
0xbfffdd5a:	cmp    $0x3d14b008,%eax
0xbfffdd5f:	or     %cl,%al
0xbfffdd61:	adc    0xffdd9808,%bh
0xbfffdd67:	mov    $0x1c407ee4,%edi
0xbfffdd6c:	call   0x81b09
0xbfffdd71:	adc    %dl,(%esi)
0xbfffdd73:	inc    %edx
0xbfffdd74:	inc    %eax
0xbfffdd75:	add    %eax,(%eax)
0xbfffdd77:	add    %dh,%al
0xbfffdd79:	add    %al,(%eax)
0xbfffdd7b:	add    %al,(%eax)
0xbfffdd7d:	add    %al,(%eax)
0xbfffdd7f:	add    %al,(%eax)
0xbfffdd81:	add    %al,(%eax)
0xbfffdd83:	add    %al,0x1(%eax)
End of assembler dump.

-- 
   Götz Waschk <> master of computer science  <> University of Rostock    
 http://wwwstud.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key
                         --> Logout Fascism! <--




More information about the MPlayer-users mailing list