[MPlayer-dev-eng] [BUG] sig11 in decode_audio when using expand filter with specific values

Gabucino gabucino at mplayerhq.hu
Sat Apr 20 07:43:01 CEST 2002


#1:
	mencoder divx.avi -vop expand=1024:768:0:0 -oac copy

	mplayer test.avi

(gdb) run -v -vo null ~/x/00.avi
Starting program: /home/gabucino/mplayer/src/mplayer -v -vo null ~/x/00.avi
[New Thread 1024 (LWP 4597)]


MPlayer CVS-020420-07:21-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
extended cpuid-level: 5
CPUflags: Type: 5 MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with RUNTIME CPU Detection - warning, it's not optimal! To get best per
formance, recompile mplayer from sources with --disable-runtime-cpudetection
/home/gabucino/.mplayer/config(1): option: vo
/home/gabucino/.mplayer/config(1): parameter: xmga
/home/gabucino/.mplayer/config(2): option: fs
/home/gabucino/.mplayer/config(2): parameter: igen
/home/gabucino/.mplayer/config(6): option: osdlevel
/home/gabucino/.mplayer/config(6): parameter: 1
/home/gabucino/.mplayer/config(7): option: framedrop
/home/gabucino/.mplayer/config(7): parameter: nem
/home/gabucino/.mplayer/config(8): option: autoq
/home/gabucino/.mplayer/config(8): parameter: 100
/home/gabucino/.mplayer/config(11): option: cache
/home/gabucino/.mplayer/config(11): parameter: 1024
Reading /home/gabucino/.mplayer/codecs.conf: 30 audio & 81 video codecs
CommandLine: '-v' '-vo' 'null' '/home/gabucino/x/00.avi'
get_path('font/font.desc') -> '/home/gabucino/.mplayer/font/font.desc'
Font /home/gabucino/.mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Linux RTC init error in ioctl (rtc_pie_on): Permission denied
Using usleep() timing
get_path('input.conf') -> '/home/gabucino/.mplayer/input.conf'
Parsing input config file /home/gabucino/.mplayer/input.conf
Input config file /home/gabucino/.mplayer/input.conf parsed : 50 binds
Playing /home/gabucino/x/00.avi
Can't open IFO file: No such file or directory
Not an URL!
File size is 384016 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0  
Cache fill:  0.00% (0 bytes)    Detected AVI file format!
list_end=0x146
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 52   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  1024 x 768
list_end=0xD4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 239759/10000 = 23.976
Start: 0   Len: 52
Suggested BufferSize: 35426
Quality 0
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 1024
  biHeight 768
  biPlanes 1
  biBitCount 24
  biCompression 2021026148='divx'
  biSizeImage 2359296
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x146
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 12000/1 = 12000.000
Start: 0   Len: 36000
Suggested BufferSize: 6000
Quality 0
Sample size: 1
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 12000
Block align: 1
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=288
mp3.nFramesPerBlock=1
mp3.nCodecDelay=1393
Broken chunk?  chunksize=1714  (id=JUNK)
list_end=0x5D868
Found movie at 0x80C - 0x5D868
Reading INDEX block, 58 chunks for 52 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 58 chunks for 52 frames
AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0x177C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=344564
VIDEO:  [divx]  1024x768  24bpp  23.98 fps  1271.0 kbps (155.1 kbyte/s)
[V] filefmt:3  fourcc:0x78766964  size:1024x768  fps:23.98  ftime:=0.0417
get_path('sub/') -> '/home/gabucino/.mplayer/sub/'
Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3)
Initializing audio codec...
Selecting Audio Decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
CPU vendor name: AuthenticAMD  max cpuid level: 1
CPU: Advanced Micro Devices K6-2 (Type: 5, Stepping: 12)
extended cpuid-level: 5
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using 3DNow! optimized decore!
MPEG 1.0, Layer III, 48000 Hz 96 kbit Joint-Stereo, BPF: 288
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 12000->192000
==========================================================================
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx 3dnow
INFO: libavcodec init OK!
Detected video codec: [ffodivx] drv:5 prio:0 (FFmpeg MPEG-4)
==========================================================================
[PP] Sorry, postprocessing is not available
AutoQ: setting quality to 0
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
ao2: 48000 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 48000 Hz samplerate (requested: 48000)
audio_setup: frags:  16/16  (4096 bytes/frag)  free:  65536
Start playing...
VDec: vo config request - 1024 x 768, Planar YV12  
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x401 (i=0) 
vo_debug: query(Planar I420) returned 0x401 (i=1) 
vo_debug: query(Planar IYUV) returned 0x401 (i=2) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(1024x768->1024x768,flags=1,'MPlayer',0x32315659)
VO: [null] 1024x768 => 1024x768 Planar YV12 fs 
VO: Description: Null video output
VO: Author: Aaron Holtzman <aholtzma at ess.engr.uvic.ca>
*** [vo] Exporting mp_image_t, 1024x768x12bpp YUV planar, 1179648 bytes
A:   0.3 V:   0.0 A-V:  0.341 ct:  0.000    1/  1   0%  0%  0.0% 0 0 34%
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 4597)]
0x4 in ?? ()
(gdb) bt
#0  0x4 in ?? ()
#1  0x80bd939 in do_layer3 (fr=0x82c9fa0, single=-1) at layer3.c:1692
#2  0x80be75e in MP3_DecodeFrame (hova=0x836d618 "", single=-1) at sr1.c:540
#3  0x809ff90 in decode_audio (sh_audio=0x8368540, buf=0x836d618 "", 
    minlen=61952, maxlen=66560) at ad_mp3.c:78
#4  0x809e47e in decode_audio (sh_audio=0x8368540, buf=0x836d618 "", 
    minlen=61952, maxlen=66560) at dec_audio.c:130
#5  0x806bcde in main (argc=5, argv=0xbffff944, envp=0xbffff95c)
    at mplayer.c:1449
#6  0x405cb906 in __libc_start_main () from /lib/libc.so.6
(gdb)    disass $eip-32 $eip+32                                                       
Dump of assembler code from 0xffffffe4 to 0x24:
End of assembler dump.

???


#2:
	mencoder divx.avi -vop expand=640:480:0:0 -oac copy

	mplayer test.avi -> works fine!

Of course the original file plays without bug. Some memory corruption
in the expand plugin?

-- 
Gabucino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020420/cad5604d/attachment.pgp>


More information about the MPlayer-dev-eng mailing list