[MPlayer-dev-eng] mplayer and mp3
Bohdan Horst
nexus at hoth.amu.edu.pl
Fri Feb 15 12:03:41 CET 2002
On Fri, Feb 15, 2002 at 11:03:45AM +0100, Alban Bedel wrote:
> Hi Bohdan Horst,
>
> on Fri, 15 Feb 2002 10:29:22 +0100 you wrote:
>
> > On Fri, Feb 15, 2002 at 11:55:04AM +0300, Nick Kurshev wrote:
> >
> > > Hello, Bohdan!
> > >
> > > On Thu, 14 Feb 2002 14:09:53 +0100 you wrote:
> > >
> > > >
> > > > mp3 works great :) but use 100% CPU ...
> > > > (-ao oss and -ao sdl tested on 2 machines)
> > > >
> > > mplayer works not great with mp3 :(
> > > 1. it has no realtime playback (means it's interrupted unlike xmms)
> > > 2. it doesn't handle a lot of mp3 which I have and which is handled by xmms:
> > >
> > [...]
> > >
> > > MPlayer interrupted by signal 11 in module: unknown
> > >
> >
> > hmm same effect - but it works some time ago ..
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x8061a81 in main (argc=2, argv=0xbfbffb84, envp=0xbfbffb90) at mplayer.c:1581
> > 1581 if(!quiet) mp_msg(MSGT_AVSYNC,MSGL_STATUS,"A:%6.1f %4.1f%% %d%% \r"
> >
> > with "-quiet":
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x8061adc in main (argc=3, argv=0xbfbffb78, envp=0xbfbffb88) at mplayer.c:1586
> > 1586 usec_sleep(sh_audio->a_buffer_len/sh_audio->o_bps/1000);
> >
> Please stop sending such things it UNUSEFUL. What can I do with that ?
> You are here on the devel list, provide at least a true BUGREPORT. From wich
> version come this ?
i was 15 Feb 2002 10:29:22 version
as you wish full bugreport:
FreeBSD 4.5-RC #3: Fri Jan 25 14:39:32 CET 2002
XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 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: FreeBSD 4.5-PRERELEASE i386 [ELF]
Module Loader present
gcc version 2.95.3 20010315 (release) [FreeBSD]
GNU ld version 2.11.2 20010719 [FreeBSD] (with BFD 2.11.2 20010719 [FreeBSD])
CPU:
eax in eax ebx ecx edx
00000000 00000002 756e6547 6c65746e 49656e69
00000001 00000683 00000002 00000000 0383f9ff
00000002 03020101 00000000 00000000 0c040882
Vendor ID: "GenuineIntel"; CPUID level 2
Intel-specific functions:
Version 00000683:
Type 0 - Original OEM
Family 6 - Pentium Pro
Model 8 - Pentium III/Pentium III Xeon - internal L2 cache
Stepping 3
Reserved 0
Brand index: 2 [Pentium III processor]
Feature flags 0383f9ff:
FPU Floating Point Unit
VME Virtual 8086 Mode Enhancements
DE Debugging Extensions
PSE Page Size Extensions
TSC Time Stamp Counter
MSR Model Specific Registers
PAE Physical Address Extension
MCE Machine Check Exception
CX8 COMPXCHG8B Instruction
SEP Fast System Call
MTRR Memory Type Range Registers
PGE PTE Global Flag
MCA Machine Check Architecture
CMOV Conditional Move and Compare Instructions
FGPAT Page Attribute Table
PSE-36 36-bit Page Size Extension
MMX MMX instruction set
FXSR Fast FP/MMX Streaming SIMD Extensions save/restore
SSE Streaming SIMD Extensions instruction set
TLB and cache info:
01: Instruction TLB: 4KB pages, 4-way set assoc, 32 entries
02: Instruction TLB: 4MB pages, 4-way set assoc, 2 entries
03: Data TLB: 4KB pages, 4-way set assoc, 64 entries
82: 2nd-level cache: 256KB, 8-way set assoc, 32 byte line size
08: 1st-level instruction cache: 16KB, 4-way set assoc, 32 byte line size
04: Data TLB: 4MB pages, 4-way set assoc, 8 entries
0c: 1st-level data cache: 16KB, 4-way set assoc, 32 byte line size
Graphics card:
pci bus 0x0001 cardnum 0x00 function 0x00: vendor 0x10de device 0x002d
NVidia Riva TNT2 M64
STATUS 0x02b0 COMMAND 0x0007
CLASS 0x03 0x00 0x00 REVISION 0x15
BIST 0x00 HEADER 0x00 LATENCY 0x20 CACHE 0x00
BASE0 0xd6000000 addr 0xd6000000 MEM
BASE1 0xd4000008 addr 0xd4000000 MEM PREFETCHABLE
MAX_LAT 0x01 MIN_GNT 0x05 INT_PIN 0x01 INT_LINE 0x09
Sound card:
FreeBSD Audio Driver (newpcm) Jan 25 2002 14:41:36
Installed devices:
pcm0: <Creative CT5880-C> at io 0xc000 irq 5 (1p/1r/0v channels duplex)
MPlayer CVS-020215-11:46-2.95.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: 3)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 SSE
/home/nexus/.mplayer/config(1): option: vo
/home/nexus/.mplayer/config(1): parameter: x11
/home/nexus/.mplayer/config(2): option: ao
/home/nexus/.mplayer/config(2): parameter: oss
/home/nexus/.mplayer/config(6): option: vfm
/home/nexus/.mplayer/config(6): parameter: 5
/home/nexus/.mplayer/config(8): option: autoq
/home/nexus/.mplayer/config(8): parameter: 100
Reading /home/nexus/.mplayer/codecs.conf: 29 audio & 79 video codecs
CommandLine: '-v' 'October.mp3'
get_path('font/font.desc') -> '/home/nexus/.mplayer/font/font.desc'
Font /home/nexus/.mplayer/font/font.desc loaded successfully! (206 chars)
Using usleep() timing
Playing October.mp3
Not an URL!
File size is 3379328 bytes
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for MOV
Checking for VIVO
Checking for REAL
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0 p101: 0 PES: 2
Not MPEG System Stream format... (maybe Transport Stream?)
==> Found audio stream: 0
stream_seek: WARNING! Can't seek to 0xFFFFFFFFFFFFFFFD !
demux_audio: audio data 0xFFFFFFFD - 0xFFFFFFFF
Detected audio file
Clip info:
Title: October
Artist: U2
Album: October
Year: 1981b
Comment:
Genre: Rock
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
CPU vendor name: GenuineIntel max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping: 3)
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
ds_fill_buffer: EOF reached (stream: audio)
MPEG 1.0, Layer ???, 44100 Hz 72835 kbit Stereo, BPF: 4
Channels: 0, copyright: No, original: No, CRC: No, emphasis: 0
Unknown/missing audio format, using nosound
Couldn't initialize audio codec! -> nosound
Audio: no sound!!!
Freeing 0 unused audio chunks
Video: no video!!!
Freeing 0 unused video chunks
Start playing...
MPlayer interrupted by signal 11 in module: unknown
*** free_stream() called ***
max framesize was 0 bytes
gdb output:
Program received signal SIGSEGV, Segmentation fault.
0x8061a81 in main (argc=3, argv=0xbfbffba4, envp=0xbfbffbb4) at mplayer.c:1581
1581 if(!quiet) mp_msg(MSGT_AVSYNC,MSGL_STATUS,"A:%6.1f %4.1f%% %d%% \r"
(gdb) bt
#0 0x8061a81 in main (argc=3, argv=0xbfbffba4, envp=0xbfbffbb4) at mplayer.c:1581
#1 0x0 in ?? ()
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x8061a61 to 0x8061aa1:
0x8061a61 <main+9529>: test %edx,%edx
0x8061a63 <main+9531>: jne 0x8061b08 <main+9696>
0x8061a69 <main+9537>: cmpl $0x0,0x816eb68
0x8061a70 <main+9544>: jne 0x8061ad6 <main+9646>
0x8061a72 <main+9546>: mov 0x8180168,%eax
0x8061a77 <main+9551>: add $0xfffffffc,%esp
0x8061a7a <main+9554>: push %eax
0x8061a7b <main+9555>: mov 0x817010c,%edx
0x8061a81 <main+9561>: flds 0x10(%edx)
0x8061a84 <main+9564>: fcompl 0x8143d38
0x8061a8a <main+9570>: fnstsw %ax
0x8061a8c <main+9572>: and $0x45,%ah
0x8061a8f <main+9575>: jne 0x8061aa4 <main+9596>
0x8061a91 <main+9577>: fldl 0x816eb98
0x8061a97 <main+9583>: fmull 0x8143d40
0x8061a9d <main+9589>: fdivs 0x10(%edx)
0x8061aa0 <main+9592>: jmp 0x8061aa6 <main+9598>
with -afm 4:
Trying to force audio codec driver family 4 ...
Detected audio codec: [mp3acm] drv:4 (MPEG layer-3)
Program received signal SIGSEGV, Segmentation fault.
init_acm_audio_codec (sh_audio=0x82aa200) at dll_init.c:48
48 sh_audio->o_wf.nChannels=in_fmt->nChannels;
(gdb) bt
#0 init_acm_audio_codec (sh_audio=0x82aa200) at dll_init.c:48
#1 0x8066bad in init_audio (sh_audio=0x82aa200) at dec_audio.c:349
#2 0x8060b55 in main (argc=4, argv=0xbfbffb9c, envp=0xbfbffbb0) at
mplayer.c:1169
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x807fd25 to 0x807fd65:
0x807fd25 <init_acm_audio_codec+21>: add %al,(%eax)
0x807fd27 <init_acm_audio_codec+23>: add %al,(%eax)
0x807fd29 <init_acm_audio_codec+25>: push $0x814a2a0
0x807fd2e <init_acm_audio_codec+30>: push $0xf06
0x807fd33 <init_acm_audio_codec+35>: call 0x8066368 <mp_msg_c>
0x807fd38 <init_acm_audio_codec+40>: movl $0x0,0x94(%ebx)
0x807fd42 <init_acm_audio_codec+50>: add $0x10,%esp
0x807fd45 <init_acm_audio_codec+53>: movzwl 0x2(%esi),%eax
0x807fd49 <init_acm_audio_codec+57>: mov %ax,0x82(%ebx)
0x807fd50 <init_acm_audio_codec+64>: mov 0x4(%esi),%edx
0x807fd53 <init_acm_audio_codec+67>: mov %edx,0x84(%ebx)
0x807fd59 <init_acm_audio_codec+73>: movzwl %ax,%eax
0x807fd5c <init_acm_audio_codec+76>: add %eax,%eax
0x807fd5e <init_acm_audio_codec+78>: imul %eax,%edx
0x807fd61 <init_acm_audio_codec+81>: mov %edx,0x88(%ebx)
with -afm 11:
Detected audio codec: [ffmp3] drv:11 (FFmpeg layer-123 audio decoder -
integer only)
libavcodec: CPU flags: mmx mmxext sse
Unknown/missing audio format, using nosound
Couldn't initialize audio codec! -> nosound
Audio: no sound!!!
Video: no video!!!
Start playing...
Program received signal SIGSEGV, Segmentation fault.
0x8061a81 in main (argc=4, argv=0xbfbffb9c, envp=0xbfbffbb0) at
mplayer.c:1581
1581 if(!quiet) mp_msg(MSGT_AVSYNC,MSGL_STATUS,"A:%6.1f %4.1f%%
%d%% \r"
(gdb)
(gdb) bt
#0 0x8061a81 in main (argc=4, argv=0xbfbffb9c, envp=0xbfbffbb0) at
mplayer.c:1581
#1 0x0 in ?? ()
(gdb)
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x8061a61 to 0x8061aa1:
0x8061a61 <main+9529>: test %edx,%edx
0x8061a63 <main+9531>: jne 0x8061b08 <main+9696>
0x8061a69 <main+9537>: cmpl $0x0,0x816eb68
0x8061a70 <main+9544>: jne 0x8061ad6 <main+9646>
0x8061a72 <main+9546>: mov 0x8180168,%eax
0x8061a77 <main+9551>: add $0xfffffffc,%esp
0x8061a7a <main+9554>: push %eax
0x8061a7b <main+9555>: mov 0x817010c,%edx
0x8061a81 <main+9561>: flds 0x10(%edx)
0x8061a84 <main+9564>: fcompl 0x8143d38
0x8061a8a <main+9570>: fnstsw %ax
0x8061a8c <main+9572>: and $0x45,%ah
0x8061a8f <main+9575>: jne 0x8061aa4 <main+9596>
0x8061a91 <main+9577>: fldl 0x816eb98
0x8061a97 <main+9583>: fmull 0x8143d40
0x8061a9d <main+9589>: fdivs 0x10(%edx)
0x8061aa0 <main+9592>: jmp 0x8061aa6 <main+9598>
with -afm 12:
Detected audio codec: [mad] drv:12 (MAD MPEG layer-2, layer-3)
dec_audio.c:470:mad: setting minimum outputsize
MPEG Audio Decoder 0.14.2 (beta) Copyright (C) 2000-2001 Robert Leslie
Robert Leslie <rob@
mars.org> (FPM_INTEL ASO_ZEROCHECK OPT_ACCURACY OPT_SSO NDEBUG )
dec_audio.c:885:mad: initialising
dec_audio.c:889:mad: preparing buffer
dec_audio.c:903:mad: frame decoding failed
error (0x1): buffer too small
mad: channels: 1 (mad channel mode: 0)
dec_audio.c:929:mad: continuing
Unknown/missing audio format, using nosound
Couldn't initialize audio codec! -> nosound
Audio: no sound!!!
Video: no video!!!
Start playing...
Program received signal SIGSEGV, Segmentation fault.
0x8061a81 in main (argc=4, argv=0xbfbffb9c, envp=0xbfbffbb0) at
mplayer.c:1581
1581 if(!quiet) mp_msg(MSGT_AVSYNC,MSGL_STATUS,"A:%6.1f %4.1f%%
%d%% \r"
(gdb) bt
#0 0x8061a81 in main (argc=4, argv=0xbfbffb9c, envp=0xbfbffbb0) at
mplayer.c:1581
#1 0x0 in ?? ()
(gdb) disass $eip-32 $eip+32
Dump of assembler code from 0x8061a61 to 0x8061aa1:
0x8061a61 <main+9529>: test %edx,%edx
0x8061a63 <main+9531>: jne 0x8061b08 <main+9696>
0x8061a69 <main+9537>: cmpl $0x0,0x816eb68
0x8061a70 <main+9544>: jne 0x8061ad6 <main+9646>
0x8061a72 <main+9546>: mov 0x8180168,%eax
0x8061a77 <main+9551>: add $0xfffffffc,%esp
0x8061a7a <main+9554>: push %eax
0x8061a7b <main+9555>: mov 0x817010c,%edx
0x8061a81 <main+9561>: flds 0x10(%edx)
0x8061a84 <main+9564>: fcompl 0x8143d38
0x8061a8a <main+9570>: fnstsw %ax
0x8061a8c <main+9572>: and $0x45,%ah
0x8061a8f <main+9575>: jne 0x8061aa4 <main+9596>
0x8061a91 <main+9577>: fldl 0x816eb98
0x8061a97 <main+9583>: fmull 0x8143d40
0x8061a9d <main+9589>: fdivs 0x10(%edx)
0x8061aa0 <main+9592>: jmp 0x8061aa6 <main+9598>
best regards
--
/ irl:Bohdan 'Nexus' Horst | mailto:nexus at irc.pl | irc:Nexus \
{---------------------------^----------v----------^------------}
\ http://www.physd.amu.edu.pl/~nexus/ | Instytut Fizyki UAM /
More information about the MPlayer-dev-eng
mailing list