[FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples

FFmpeg trac at avcodec.org
Wed Jan 13 18:02:45 CET 2016


#2686: Native AAC encoder collapses at high bitrates on some samples
-------------------------------------+-------------------------------------
             Reporter:  Kamedo2      |                    Owner:
                 Type:  defect       |  klaussfreire
             Priority:  normal       |                   Status:  open
              Version:  git-master   |                Component:  avcodec
             Keywords:  aac          |               Resolution:
  regression                         |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by Kamedo2):

 I reproduced the aacenc.c assertion errors on ARM, but not the
 audio_frame_queue.c assertion error on comment:484.
 {{{
 pi at raspberrypi:~/ffmpeg160112 $ time ./ffmpeg -y -i ffmpeg_96k_error.flac
 -c:a aac -profile:a aac_main -b:a 16k -ar 44100 -cutoff 20000 out.mp4
 ffmpeg version N-77804-gd64d6ed Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.9.2 (Raspbian 4.9.2-10)
   configuration:
   libavutil      55. 13.100 / 55. 13.100
   libavcodec     57. 22.100 / 57. 22.100
   libavformat    57. 21.101 / 57. 21.101
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6. 23.100 /  6. 23.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
 Input #0, flac, from 'ffmpeg_96k_error.flac':
   Duration: 00:00:02.01, start: 0.000000, bitrate: 238 kb/s
     Stream #0:0: Audio: flac, 48000 Hz, stereo, s16
 Output #0, mp4, to 'out.mp4':
   Metadata:
     encoder         : Lavf57.21.101
     Stream #0:0: Audio: aac (Main) ([64][0][0][0] / 0x0040), 44100 Hz,
 stereo, fltp (16 bit), 16 kb/s
     Metadata:
       encoder         : Lavc57.22.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 Press [q] to stop, [?] for help
 Assertion diff >= 0 && diff <= 120 failed at libavcodec/aacenc.c:363
 Aborted

 real    0m8.021s
 user    0m7.960s
 sys     0m0.060s
 }}}
 {{{
 pi at raspberrypi:~/ffmpeg160112 $ time ./ffmpeg -y -i
 ffmpeg_aacvbr_pulse2.flac -c:a aac -ar 11025 -cutoff 5000 -b:a 8k
 -profile:a aac_main out.mp4
 ffmpeg version N-77804-gd64d6ed Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 4.9.2 (Raspbian 4.9.2-10)
   configuration:
   libavutil      55. 13.100 / 55. 13.100
   libavcodec     57. 22.100 / 57. 22.100
   libavformat    57. 21.101 / 57. 21.101
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6. 23.100 /  6. 23.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
 Input #0, flac, from 'ffmpeg_aacvbr_pulse2.flac':
   Duration: 00:00:16.10, start: 0.000000, bitrate: 1167 kb/s
     Stream #0:0: Audio: flac, 48000 Hz, stereo, s16
 Output #0, mp4, to 'out.mp4':
   Metadata:
     encoder         : Lavf57.21.101
     Stream #0:0: Audio: aac (Main) ([64][0][0][0] / 0x0040), 11025 Hz,
 stereo, fltp (16 bit), 8 kb/s
     Metadata:
       encoder         : Lavc57.22.100 aac
 Stream mapping:
   Stream #0:0 -> #0:0 (flac (native) -> aac (native))
 Press [q] to stop, [?] for help
 Assertion diff >= 0 && diff <= 120 failed at libavcodec/aacenc.c:363
 Aborted

 real    0m11.663s
 user    0m11.660s
 sys     0m0.100s
 }}}
 {{{
 }}}

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


More information about the FFmpeg-trac mailing list