[Ffmpeg-devel] WMA optomisations have broken WMA decodingunderBeOS

Dennis van Amerongen Dennis.vanAmerongen
Mon Aug 28 09:37:02 CEST 2006


> -----Oorspronkelijk bericht-----
> Van: ffmpeg-devel-bounces at mplayerhq.hu 
> [mailto:ffmpeg-devel-bounces at mplayerhq.hu] Namens Dennis van Amerongen
> Verzonden: Saturday, August 26, 2006 11:03 AM
> Aan: FFMpeg development discussions and patches
> Onderwerp: RE: [Ffmpeg-devel] WMA optomisations have broken 
> WMA decodingunderBeOS
> 
> > On 24/08/06, Luca Barbato <lu_zero at gentoo.org> wrote:
> > >
> > >
> > >
> > > Should be fixed now, make sure the buffers are aligned
> > 
> > 
> > If you mean the r6050 fixes, they don't fix it. Using r6058 here.
> > 
> > Cian
> > 
> > --
> > -------------------------
> > "We're busy running out of time"
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at mplayerhq.hu
> > http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
> > 
> 
> Ran into the same instant crash problem decoding wma samples 
> on Windows XP using ffmpeg svn (6088) in VLC media player. 
> Same workarounds apply:
> reverting to a revision before 6026 or disabling mmx 
> altogether in the player. Using native codecs through "dmo" 
> runs fine too. Compiled with Cygwin GCC 3.4.4-2.
> 
> D

Backtrace with the crash problem on vector_fmul_add_add_sse. Alignment
issues?


$ ffmpeg.exe -i pinball.wmv -y test.wav
FFmpeg version SVN-r6110, Copyright (c) 2000-2004 Fabrice Bellard
  configuration:  --enable-mingw32 --enable-memalign-hack --cc=gcc
-mno-cygwin --enable-gpl --enable-pp 
  libavutil version: 49.0.0
  libavcodec version: 51.11.0
  libavformat version: 50.5.0
  built on Aug 27 2006 21:56:18, gcc: 3.4.5 (mingw special)
[wmv3 @ 006BAE10]Header: 4C391A01

Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 24.00
(24/1)
Input #0, asf, from 'pinball.wmv':
  Duration: 00:00:21.8, start: 3.000000, bitrate: 306 kb/s
  Stream #0.0: Audio: wmav2, 44100 Hz, stereo, 64 kb/s
  Stream #0.1: Video: wmv3, yuv420p, 320x176, 24.00 fps(r)
Output #0, wav, to 'test.wav':
  Stream #0.0: Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
size=    3776kB time=21.9 bitrate=1411.2kbits/s    
video:0kB audio:3776kB global headers:0kB muxing overhead 0.001138%


$ gdb ffplay_g.exe
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i686-pc-mingw32"...
(gdb) run pinball.wmv
Starting program: C:\msys\home\Administrator\ffmpeg-trunk/ffplay_g.exe
pinball.wmv

Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 5040.0xa78]
0x004dd894 in vector_fmul_add_add_sse (dst=0x1a94ed0, src0=0x270bde8, 
    src1=0x2707d68, src2=0x1a94ed0, src3=0, len=4096, step=1)
    at i386/dsputil_mmx.c:2934
2934            asm volatile(
(gdb) bt
#0  0x004dd894 in vector_fmul_add_add_sse (dst=0x1a94ed0,
src0=0x270bde8, 
    src1=0x2707d68, src2=0x1a94ed0, src3=0, len=4096, step=1)
    at i386/dsputil_mmx.c:2934
#1  0x005d53cf in wma_decode_block (s=0x1a88980) at wmadec.c:1128
#2  0x005d5ee7 in wma_decode_superframe (avctx=0x19890f0,
data=0x16f00c8, 
    data_size=0x270ff04, buf=0x1a7c730 "\005", buf_size=1487) at
wmadec.c:1163
#3  0x00458e8e in avcodec_decode_audio (avctx=0x19890f0,
samples=0x16f00c8, 
    frame_size_ptr=0x270ff04, buf=0x1a7c730 "\005", buf_size=1487)
    at utils.c:992
#4  0x004034db in sdl_audio_callback (opaque=0x16f0030, stream=0x221a070
"", 
    len=4096) at ffplay.c:1491
#5  0x100013fb in SDL_GetAppState () from c:\msys\mingw\bin\SDL.dll
#6  0x016f0030 in ?? ()
#7  0x0221a070 in ?? ()
#8  0x00001000 in ?? ()
#9  0x019c2910 in ?? ()
#10 0x01a66810 in ?? ()
#11 0x003ffe60 in ?? ()
#12 0x10001310 in SDL_GetAppState () from c:\msys\mingw\bin\SDL.dll
#13 0x003f6a30 in ?? ()
#14 0x00000000 in ?? () from 
#15 0x0221a070 in ?? ()
#16 0x016f0030 in ?? ()
#17 0x00403420 in subtitle_thread ()
    at C:/msys/home/Administrator/ffmpeg-trunk/libavformat/avformat.h:71
(gdb) Previous frame inner to this frame (corrupt stack?)




More information about the ffmpeg-devel mailing list