[FFmpeg-trac] #8505(avcodec:new): aac encoder produces invalid output

FFmpeg trac at avcodec.org
Fri Jan 31 18:23:48 EET 2020


#8505: aac encoder produces invalid output
-------------------------------------+-------------------------------------
             Reporter:               |                    Owner:
  LeadAssimilator                    |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  unspecified  |               Resolution:
             Keywords:  aac          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by LeadAssimilator):

 What in my answer is difficult to parse exactly?

 3.4.2 success
 4.0.0 fail
 4.0.1 fail
 4.0.2 fail
 4.1.0 fail
 4.1.1 fail
 4.1.3 fail
 4.2.0 fail
 4.2.1 fail
 4.2.2 fail
 master/head fail

 The commandlines are already in both the description and the report files.
 And the output is there as well, albeit intermixed with the stuff that
 -report adds.  I'm not sure why you encourage including them if you are
 just going to ignore them...

 The output w/o -report is this for the one sample I uploaded (I don't yet
 have an input sample to upload for the "invalid band type" error yet):

 {{{
 ffmpeg.exe -i trac_8505_0_input.wav -b:a 192K output.aac
 ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
   built with gcc 9.2.1 (GCC) 20200122
   configuration: --disable-static --enable-shared --enable-gpl --enable-
 version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv
 --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype
 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy
 --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx
 --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
 --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-
 libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-
 libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va
 --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-
 libopenmpt
   libavutil      56. 31.100 / 56. 31.100
   libavcodec     58. 54.100 / 58. 54.100
   libavformat    58. 29.100 / 58. 29.100
   libavdevice    58.  8.100 / 58.  8.100
   libavfilter     7. 57.100 /  7. 57.100
   libswscale      5.  5.100 /  5.  5.100
   libswresample   3.  5.100 /  3.  5.100
   libpostproc    55.  5.100 / 55.  5.100
 Guessed Channel Layout for Input Stream #0.0 : stereo
 Input #0, wav, from 'trac_8505_0_input.wav':
   Duration: 00:00:42.43, bitrate: 2822 kb/s
     Stream #0:0: Audio: pcm_f32le ([3][0][0][0] / 0x0003), 44100 Hz,
 stereo, flt, 2822 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (pcm_f32le (native) -> aac (native))
 Press [q] to stop, [?] for help
 Output #0, adts, to 'output.aac':
   Metadata:
     encoder         : Lavf58.29.100
     Stream #0:0: Audio: aac (LC), 44100 Hz, stereo, fltp, 192 kb/s
     Metadata:
       encoder         : Lavc58.54.100 aac
 size=     512kB time=00:00:35.92 bitrate= 116.8kbits/s speed=71.8x
 size=     870kB time=00:00:42.44 bitrate= 167.9kbits/s speed=67.9x
 video:0kB audio:858kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 1.457950%
 [aac @ 01664d80] Qavg: 10880.012
 }}}
 {{{
 ffmpeg.exe -i output.aac -f null -v error -
 [aac @ 02f51bc0] Number of bands (56) exceeds limit (44).
 Error while decoding stream #0:0: Invalid data found when processing input
 }}}

 And this would be a hell of a lot easier and less confusing if we could
 have the edit description grant for our own trac tickets...especially
 since I have to upload samples separately causing the names to mismatch
 what I originally specified.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8505#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list