[Mplayer-advusers] sig11 in mp3lib

Attila Kinali kinali at gmx.net
Sun Jul 6 19:13:46 CEST 2003


Heyo,

There is yet another problem with mp3lib:

---schnipp---
MPlayer dev-CVS-030228-14:06-2.95.4 (C) 2000-2003 Árpád Gereöffy (see DOCS)

CPU: Advanced Micro Devices Duron SF Spitfire (Family: 6, Stepping: 1)
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: Datei oder Verzeichnis nicht gefunden
Reading config file /home/attila/.mplayer/config
Reading /home/attila/.mplayer/codecs.conf: 58 audio & 148 video codecs
CommandLine: '-v' '/data/upload/[madness]_ranma_s7_ep_01-sub.avi'
get_path('font/font.desc') -> '/home/attila/.mplayer/font/font.desc'
Font /home/attila/.mplayer/font/font.desc loaded successfully! (140 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_irqp_set 1024): Keine Berechtigung
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Using usleep() timing
get_path('input.conf') -> '/home/attila/.mplayer/input.conf'
Can't open input config file /home/attila/.mplayer/input.conf : Datei oder Verzeichnis nicht gefunden
Can't open input config file /usr/local/etc/mplayer/input.conf : Datei oder Verzeichnis nicht gefunden
Falling back on default (hardcoded) input config
get_path('[madness]_ranma_s7_ep_01-sub.avi.conf') -> '/home/attila/.mplayer/[madness]_ranma_s7_ep_01-sub.avi.conf'

Playing /data/upload/[madness]_ranma_s7_ep_01-sub.avi
Not an URL!
[file] File size is 210651136 bytes
STREAM: [file] /data/upload/[madness]_ranma_s7_ep_01-sub.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
AVI file format detected.
list_end=0x2292
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 33490   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  512 x 384
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: divx (78766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 23976023/1000000 = 23.976
Start: 0   Len: 33490
Suggested BufferSize: 39282
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 512
  biHeight 384
  biPlanes 1
  biBitCount 24
  biCompression 1482049860='DIVX'
  biSizeImage 589824
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x2186
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 7000/1 = 7000.000
Start: 0   Len: 9777685
Suggested BufferSize: 3500
Quality -1
Sample size: 1
found 'wf', 30 bytes of 18
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 24000
avg byte/sec: 7000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=168
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
list_end=0x2292
Broken chunk?  chunksize=1382  (id=JUNK)
list_end=0xC7DEE0A
Found movie at 0x280C - 0xC7DEE0A
Reading INDEX block, 66970 chunks for 33490 frames (fpos=0xc7dee12)
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0xDB8)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=199237621 (33490) audio size=9777685 (9777685)
VIDEO:  [DIVX]  512x384  24bpp  23.98 fps  1141.1 kbps (139.3 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:512x384  fps:23.98  ftime:=0.0417
get_path('sub/') -> '/home/attila/.mplayer/sub/'
get_path('default.sub') -> '/home/attila/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
mp3lib: using 3DNow!Ex optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 2.0, Layer III, 24000 Hz 56 kbit Joint-Stereo, BPF: 168
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 24000 Hz, 2 ch, 16 bit (0x10), ratio: 7000->96000 (56.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1152x864 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports layers.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 24000Hz/2ch/16bit -> 24000Hz/2ch/16bit...
[libaf] Adding filter dummy 
[dummy] Was reinitialized, rate=24000Hz, nch = 2, format = 0x00000001 and bps = 2
AF_pre: af format: 2 bps, 2 ch, 24000 hz, little endian signed int 
AF_pre: 24000Hz 2ch Signed 16-bit (Little-Endian)
ao2: 24000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/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 24000 Hz samplerate (requested: 24000)
audio_setup: frags:  32/32  (2048 bytes/frag)  free:  65536
AO: [oss] 24000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 24000Hz/2ch/16bit -> 24000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=24000Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=24000Hz, nch = 2, format = 0x00000001 and bps = 2
Starting playback...

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 13437)]
0x08116bd3 in III_i_stereo (xr_buf=0x839c0a0, scalefac=0xbfffe26c, 
    gr_info=0xbfffe0f8, sfreq=4, ms_stereo=2, lsf=1) at layer3.c:1098
1098                t1 = tab1[is_p]; t2 = tab2[is_p];
(gdb) p tab1
$1 = (const float *) 0x5
(gdb) p tab2
$2 = (const float *) 0x1
(gdb) p tab
$3 = 2
(gdb) p ms_stereo
$4 = 2
(gdb) p tabs[tab][ms_stereo]
$5 = {0x5, 0x1}
(gdb) p tabs
$6 = {{{0x83ad900, 0x83ad940}, {0x83ad980, 0x83ad9c0}}, {{0x83ada00, 
      0x83ada80}, {0x83adb00, 0x83adb80}}, {{0x83ada40, 0x83adac0}, {
      0x83adb40, 0x83adbc0}}}
---schnapp---


The file plays fine with cvs from 2003-06-22-11:10.

I'll upload a 1MB sample to mphq named as sig11mp3lib.avi in a few minutes


Greetings

			Attila Kinali
-- 
Emacs ist für mich kein Editor. Für mich ist das genau das gleiche, als wenn
ich nach einem Fahrrad (für die Sonntagbrötchen) frage und einen pangalaktischen
Raumkreuzer mit 10 km Gesamtlänge bekomme. Ich weiß nicht, was ich damit soll.
		-- Frank Klemm, de.comp.os.unix.discussion



More information about the MPlayer-advusers mailing list