[FFmpeg-trac] #286(undetermined:new): Transcoding wma9 file leaves ffmpeg in infinite loop

FFmpeg trac at avcodec.org
Mon Jun 20 12:37:31 CEST 2011


#286: Transcoding wma9 file leaves ffmpeg in infinite loop
--------------------------+-------------------------
 Reporter:  jdelstrother  |        Type:  defect
   Status:  new           |    Priority:  normal
Component:  undetermined  |     Version:  git-master
 Keywords:  wma9 loop     |  Blocked By:
 Blocking:                |  Reproduced:  0
 Analyzed:  0             |
--------------------------+-------------------------
 Hi,
 I have a mov-wrapped wma9 file that, if I try to transcode it to aiff/wav
 using ffmpeg, just results in ffmpeg sitting in a loop writing out
 gigabytes and gigabytes of zeros to the output file.

 eg -
 {{{
 ./ffmpeg_g -v 9 -loglevel 99 -i infinite_loop_wma9.mov
 infinite_loop_wma9.aiff
 ffmpeg version N-30883-g56e11d2, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Jun 20 2011 10:51:26 with llvm_gcc 4.2.1 (Based on Apple Inc.
 build 5658) (LLVM build 2335.15.00)
   configuration: --enable-libfaac --enable-libvorbis --enable-nonfree
 --disable-ffplay --disable-avdevice --enable-version3 --extra-
 cflags=-I/opt/local/include --extra-ldflags=-L/opt/local/lib
   libavutil    51.  9. 1 / 51.  9. 1
   libavcodec   53.  7. 0 / 53.  7. 0
   libavformat  53.  4. 0 / 53.  4. 0
   libavfilter   2. 23. 0 /  2. 23. 0
   libswscale    0. 14. 1 /  0. 14. 1
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x101807c00] Format mov,mp4,m4a,3gp,3g2,mj2
 probed with size=2048 and score=100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x101807c00] ISO: File Type Major Brand: qt
 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x101807c00] All info found
 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), 1, 1/44100: Audio: wmav2, 44100 Hz, 2 channels, s16,
 64 kb/s
     Metadata:
       creation_time   : 2011-06-09 15:54:35
 Output #0, aiff, to 'infinite_loop_wma9.aiff':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2011-06-09 15:54:35
     encoder         : Lavf53.4.0
     Stream #0.0(eng), 0, 1/44100: Audio: pcm_s16be, 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
 [1]    6485 killed     ./ffmpeg_g -v 9 -loglevel 99 -i
 infinite_loop_wma9.mov infinite_loop_wma9.aif
 }}}

 FFmpeg will sit in that 'Stream mapping' section apparently forever until
 I kill it, or I run out of disk space.

 I've seen this occur on 0.6.1 which we currently use, and on the
 development head (56e11d230525bb9659e79d3253351b94ec3f8478).

 I'm not sure what software was used to create the bad file - if it's
 necessary, I can try and get in touch with the user who created it.


 I've attached the bad input file, and a truncated version of the output
 file (the real output file has the AIFF header, just followed by several
 gigabytes of zeros).

 Anything else I can provide?

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


More information about the FFmpeg-trac mailing list