[FFmpeg-trac] #8099(undetermined:new): empty output converting from 8ch .aac

FFmpeg trac at avcodec.org
Tue Aug 27 22:46:03 EEST 2019


#8099: empty output converting from 8ch .aac
-------------------------------------+-------------------------------------
             Reporter:  martinbe     |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  aac          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 How to reproduce:
 {{{
 % ffmpeg -i 8ch_lfeFiltering_decodeFails.aac output.wav
 ffmpeg 4.2 and newest trunk
 built on Windows 64bit
 }}}

 I am trying to convert an 8ch .aac file to .wav.  VLC is able to play back
 the file, but with ffmpeg I get an empty (0 byte size) output and several
 errors printed out in the console.

 Command used:
 ffmpeg -i 8ch_lfeFiltering_decodeFails.aac output.wav

 Error seen:
 [aac @ 0000000002a27400] channel element 0.7 is not allocated
 Error while decoding stream #0:0: Invalid data found when processing input

 tested on 3.4 release, and also from latest trunk.

 Note that 8ch_lfeFiltering_decodeFails.aac (also attached) should be
 similar but was encoded with LFE prefiltering, and decodes properly in
 both ffmpeg and VLC.

 Output from: ffmpeg.exe -v 9 -loglevel 99 -i
 8ch_lfeFiltering_decodeFails.aac

 ffmpeg version 4.2 Copyright (c) 2000-2019 the FFmpeg developers
   built with gcc 4.9.2 (GCC)
   configuration: --prefix=/usr/local/x86_64-w64-mingw32 --cross-
 prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-
 shared --disable-static
   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
 Splitting the commandline.
 Reading option '-v' ... matched as option 'v' (set logging level) with
 argument '9'.
 Reading option '-loglevel' ... matched as option 'loglevel' (set logging
 level) with argument '99'.
 Reading option '-i' ... matched as input url with argument
 '8ch_lfeFiltering_decodeFails.aac'.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option v (set logging level) with argument 9.
 Successfully parsed a group of options.
 Parsing a group of options: input url 8ch_lfeFiltering_decodeFails.aac.
 Successfully parsed a group of options.
 Opening an input file: 8ch_lfeFiltering_decodeFails.aac.
 [NULL @ 00000000007669c0] Opening '8ch_lfeFiltering_decodeFails.aac' for
 reading
 [file @ 0000000000767340] Setting default whitelist 'file,crypto'
 Probing aac score:51 size:2048
 Probing flac score:13 size:2048
 [aac @ 00000000007669c0] Format aac probed with size=2048 and score=51
 [aac @ 00000000007669c0] Before avformat_find_stream_info() pos: 0 bytes
 read:65696 seeks:4 nb_streams:1
 [aac @ 0000000002680140] channel element 0.7 is not allocated
     Last message repeated 426 times
 [aac @ 00000000007669c0] decoding for stream 0 failed
 [aac @ 00000000007669c0] Estimating duration from bitrate, this may be
 inaccurate
 [aac @ 00000000007669c0] stream 0: start_time: -326791809695.818 duration:
 9.020
 [aac @ 00000000007669c0] format: start_time: -9223372036854.775 duration:
 9.020 bitrate=435 kb/s
 [aac @ 00000000007669c0] Could not find codec parameters for stream 0
 (Audio: aac (LC), 7.1, fltp, 435 kb/s): unspecified sample rate
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 [aac @ 00000000007669c0] After avformat_find_stream_info() pos: 490874
 bytes read:523802 seeks:4 frames:427
 Input #0, aac, from '8ch_lfeFiltering_decodeFails.aac':
   Duration: 00:00:09.02, bitrate: 435 kb/s
     Stream #0:0, 427, 1/28224000: Audio: aac (LC), 7.1, fltp, 435 kb/s
 Successfully opened the file.
 At least one output file must be specified
 [AVIOContext @ 0000000000768280] Statistics: 523802 bytes read, 4 seeks

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


More information about the FFmpeg-trac mailing list