[FFmpeg-trac] #286(avcodec:open): Transcoding wmav2 file leaves ffmpeg in infinite loop (was: Transcoding wma9 file leaves ffmpeg in infinite loop)

FFmpeg trac at avcodec.org
Mon Jun 20 23:13:38 CEST 2011


#286: Transcoding wmav2 file leaves ffmpeg in infinite loop
-------------------------+----------------------
Reporter:  jdelstrother  |       Owner:
    Type:  defect        |      Status:  open
Priority:  important     |   Component:  avcodec
 Version:  git-master    |  Resolution:
Keywords:  wma9 loop     |  Blocked By:
Blocking:                |  Reproduced:  1
Analyzed:  0             |
-------------------------+----------------------
Changes (by cehoyos):

 * priority:  normal => important
 * status:  new => open
 * component:  undetermined => avcodec
 * reproduced:  0 => 1


Comment:

 How was this file produced? Is it playable by any software?

 Not a regression, afaict.
 Different backtraces possible.
 {{{
 (gdb) r -i infinite_loop_wma9.mov -f null -
 Starting program: ffmpeg_g -i infinite_loop_wma9.mov -f null -
 ffmpeg version git-N-30819-g56629aa, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Jun 20 2011 10:21:55 with gcc 4.5.3
   configuration: --cc=/usr/local/gcc-4.5.3/bin/gcc --enable-gpl
   libavutil    50. 42. 0 / 50. 42. 0
   libavcodec   52.122. 0 / 52.122. 0
   libavformat  52.109. 0 / 52.109. 0
   libavdevice  52.  5. 0 / 52.  5. 0
   libavfilter   1. 79. 0 /  1. 79. 0
   libswscale    0. 14. 1 /  0. 14. 1
   libpostproc  51.  2. 0 / 51.  2. 0
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'infinite_loop_wma9.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2011-06-09 15:54:35
   Duration: 00:05:13.42, start: 0.000000, bitrate: 65 kb/s
     Stream #0.0(eng): Audio: wmav2, 44100 Hz, 2 channels, s16, 64 kb/s
     Metadata:
       creation_time   : 2011-06-09 15:54:35
 Output #0, null, to 'pipe:':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2011-06-09 15:54:35
     encoder         : Lavf52.109.0
     Stream #0.0(eng): Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411
 kb/s
     Metadata:
       creation_time   : 2011-06-09 15:54:35
 Stream mapping:
   Stream #0.0 -> #0.0
 Press [q] to stop, [?] for help

 Program received signal SIGINT, Interrupt.
 0x0000000000866769 in float_to_int16_interleave_sse2 (dst=0x7ffff7f5c040,
 src=0x7fffffffc720, len=-3104, channels=<value optimized out>) at
 libavcodec/x86/fmtconvert_mmx.c:219
 219     FLOAT_TO_INT16_INTERLEAVE(sse2,
 (gdb) bt
 #0  0x0000000000866769 in float_to_int16_interleave_sse2
 (dst=0x7ffff7f5c040, src=0x7fffffffc720, len=-3104, channels=<value
 optimized out>) at libavcodec/x86/fmtconvert_mmx.c:219
 #1  0x0000000000826819 in wma_decode_frame (samples=0x7ffff7f5a040,
 s=0x12de6e0) at libavcodec/wmadec.c:800
 #2  wma_decode_superframe (samples=0x7ffff7f5a040, s=0x12de6e0) at
 libavcodec/wmadec.c:908
 #3  0x00000000007c20d8 in avcodec_decode_audio3 (avctx=0x12bf760,
 samples=<value optimized out>, frame_size_ptr=<value optimized out>,
 avpkt=<value optimized out>) at libavcodec/utils.c:838
 #4  0x00000000004091ee in output_packet (ist=<value optimized out>,
 ist_index=0, ost_table=0x12c0e80, nb_ostreams=1, pkt=<value optimized
 out>) at ffmpeg.c:1583
 #5  0x000000000040b90e in transcode (nb_output_files=1,
 input_files=0x12bd440, nb_input_files=1, stream_maps=0x0,
 nb_stream_maps=<value optimized out>, output_files=0xd53060) at
 ffmpeg.c:2761
 #6  0x0000000000410f6d in main (argc=<value optimized out>, argv=<value
 optimized out>) at ffmpeg.c:4562
 }}}

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/286#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list