[FFmpeg-trac] #1892(undetermined:new): smackaud: huge memory allocation

FFmpeg trac at avcodec.org
Tue Nov 6 19:31:51 CET 2012


#1892: smackaud: huge memory allocation
-------------------------------------+-------------------------------------
               Reporter:  ami_stuff  |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 http://samples.mplayerhq.hu/A-codecs/MACE/Bach1-1.aiff

 {{{
 C:\>ffmpeg -acodec smackaud -i Bach1-1.aiff -f null -
 ffmpeg version N-46283-g1475815 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on Nov  2 2012 02:31:20 with gcc 4.5.0 (GCC) 20100414 (Fedora
 MinGW 4.5.
 0-1.fc14)
   configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build
 --arch=
 x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686
 -pc-min
 gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-
 cpudetect
 --enable-cross-compile --enable-static --disable-shared --extra-
 libs='-lws2_32 -
 lwinmm -lpthread' --extra-cflags='--static
 -I/var/www/users/research/ffmpeg/snap
 shots/build/include' --extra-ldflags='-static
 -L/var/www/users/research/ffmpeg/s
 napshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-
 version3
 --enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora
 --enable-
 libvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb
 --enable-
 libopencore-amrwb --enable-libmp3lame --enable-libvpx --disable-
 decoder=libvpx
   libavutil      52.  1.100 / 52.  1.100
   libavcodec     54. 70.100 / 54. 70.100
   libavformat    54. 35.100 / 54. 35.100
   libavdevice    54.  3.100 / 54.  3.100
   libavfilter     3. 21.106 /  3. 21.106
   libswscale      2.  1.102 /  2.  1.102
   libswresample   0. 16.100 /  0. 16.100
   libpostproc    52.  1.100 / 52.  1.100
 [aiff @ 0x1edc400] max_analyze_duration 5000000 reached at 5153590
 Input #0, aiff, from 'Bach1-1.aiff':
   Metadata:
     title           : No name specified
     author          : No author specified
     copyright       : No copyright specified
   Duration: 00:00:11.55, start: 0.000000, bitrate: 178 kb/s
     Stream #0:0: Audio: smackaudio, 22254 Hz, mono, u8, 178 kb/s
 Output #0, null, to 'pipe:':
   Metadata:
     title           : No name specified
     author          : No author specified
     copyright       : No copyright specified
     encoder         : Lavf54.35.100
     Stream #0:0: Audio: pcm_s16le, 22254 Hz, mono, s16, 356 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (smackaud -> pcm_s16le)
 Press [q] to stop, [?] for help
 [smackaud @ 0x1edcc40] channels mismatch
 Error while decoding stream #0:0: Error number -22 occurred
 [smackaud @ 0x1edcc40] Sound: no data
 Multiple frames in a packet from stream 0
 [smackaud @ 0x1edcc40] get_buffer() failed
 Error while decoding stream #0:0: Error number -22 occurred
 [smackaud @ 0x1edcc40] channels mismatch
 Error while decoding stream #0:0: Error number -22 occurred
 [smackaud @ 0x1edcc40] Sound: no data
     Last message repeated 3 times
 [smackaud @ 0x1edcc40] get_buffer() failed
 Error while decoding stream #0:0: Error number -22 occurred
 [smackaud @ 0x1edcc40] get_buffer() failed
 Error while decoding stream #0:0: Error number -22 occurred
 [smackaud @ 0x1edcc40] channels mismatch
 Error while decoding stream #0:0: Error number -22 occurred
 [smackaud @ 0x1edcc40] get_buffer() failed
 Error while decoding stream #0:0: Error number -22 occurred
 [smackaud @ 0x1edcc40] Sound: no data
     Last message repeated 1 times
 [smackaud @ 0x1edcc40] channels mismatch
 Error while decoding stream #0:0: Error number -22 occurred
 [smackaud @ 0x1edcc40] Sound: no data
     Last message repeated 2 times
 [smackaud @ 0x1edcc40] channels mismatch
 Error while decoding stream #0:0: Error number -22 occurred
 [smackaud @ 0x1edcc40] Sound: no data
     Last message repeated 1 times
 [smackaud @ 0x1edcc40] channels mismatch
 Error while decoding stream #0:0: Error number -22 occurred
 [smackaud @ 0x1edcc40] Sound: no data
 [smackaud @ 0x1edcc40] channels mismatch
 Error while decoding stream #0:0: Error number -22 occurred
 [smackaud @ 0x1edcc40] Sound: no data
 [smackaud @ 0x1edcc40] channels mismatch
 Error while decoding stream #0:0: Error number -22 occurred
 [smackaud @ 0x1edcc40] channels mismatch
 Error while decoding stream #0:0: Error number -22 occurred
 get_buffer() failede=00:12:39.06 bitrate=   0.0kbits/s
 Error while decoding stream #0:0: Error number -22 occurred
 [smackaud @ 0x1edcc40] channels mismatch
 Error while decoding stream #0:0: Error number -22 occurred
 [smackaud @ 0x1edcc40] channels mismatch
 Error while decoding stream #0:0: Error number -22 occurred
 [smackaud @ 0x1edcc40] channels mismatch
 Error while decoding stream #0:0: Error number -22 occurred
 [pcm_s16le @ 0x1edf080] Failed to allocate packet of size 270147124
 Audio encoding failed (avcodec_encode_audio2)
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1892>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list