[FFmpeg-trac] #9358(avcodec:new): XWMA decoding fails for some files

FFmpeg trac at avcodec.org
Tue Aug 3 22:53:38 EEST 2021


#9358: XWMA decoding fails for some files
-------------------------------------+-------------------------------------
             Reporter:  Andrew       |                     Type:  defect
  Eikum                              |
               Status:  new          |                 Priority:  normal
            Component:  avcodec      |                  Version:  git-
                                     |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 libavcodec is failing to properly decode some XWMA files. These files can
 be decoded properly with Microsoft's xWMAEncode.exe decoder.

 The failure can be reproduced with the ffmpeg CLI:

 $ ffmpeg -i b8edfb1e970ed7892f35b34a1ef36fee_wma.wav -c:a pcm_s16le
 out.wav
 ...
 [wmav2 @ 0x55f612b2e700] overflow (2891 > 1864) in spectral RLE, ignoring
 [wmav2 @ 0x55f612b2e700] overflow (3421 > 1864) in spectral RLE, ignoring
 [wmav2 @ 0x55f612b2e700] overflow (128 > 116) in spectral RLE, ignoring
 [wmav2 @ 0x55f612b2e700] next_block_len_bits 4 out of range
 Error while decoding stream #0:0: Operation not permitted
 [wmav2 @ 0x55f612b2e700] frame_len overflow
 Error while decoding stream #0:0: Operation not permitted

 Aside from the error messages, the audible output from ffmpeg has some
 glitches. I will attach here a handful of sample files, all of which fail
 similarly.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9358>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list