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

FFmpeg trac at avcodec.org
Mon Jan 18 22:21:34 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):

 This will output error and stop if the bitrate is 8k, 16k, 24k, 32k, and
 48k.
 40k 64k 72k 80k 88k 96k 104k 112k 120k 128k is encodable.
 {{{
 ffmpeg77914 -y -i ffmpeg_aac_error2.flac -c:a aac -ac 1 -profile:a aac_ltp
 -b:a 8k -cutoff 15000 out.mp4
 ffmpeg version N-77914-g03d83ba Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-
 libmp3
 lame --enable-libvo-aacenc --enable-libvorbis --enable-libfdk-aac
 --enable-w32th
 reads --extra-ldflags=-static --extra-cflags='-mtune=nocona'
 --optflags=-O2
   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. 25.100 /  6. 25.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, flac, from 'ffmpeg_aac_error2.flac':
   Metadata:
     REPLAYGAIN_TRACK_GAIN: -0.57 dB
     REPLAYGAIN_TRACK_PEAK: 0.474701
   Duration: 00:00:15.00, start: 0.000000, bitrate: 658 kb/s
     Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
     Side data:
       replaygain: track gain - -0.570000, track peak - 0.000011, album
 gain - un
 known, album peak - unknown,
 Output #0, mp4, to 'out.mp4':
   Metadata:
     REPLAYGAIN_TRACK_GAIN: -0.57 dB
     REPLAYGAIN_TRACK_PEAK: 0.474701
     encoder         : Lavf57.21.101
     Stream #0:0: Audio: aac (LTP) ([64][0][0][0] / 0x0040), 44100 Hz,
 mono, 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
 [mp4 @ 005c48e0] Application provided duration: 4539201763687527334 /
 timestamp:
  4539201763687792550 is out of range for mov/mp4 format
 [mp4 @ 005c48e0] pts has no value
 [aac @ 005c5940] Queue input is backward in time
 [mp4 @ 005c48e0] Non-monotonous DTS in output stream 0:0; previous:
 453920176368
 7792550, current: 4535156856773993315; changing to 4539201763687792551.
 This may
  result in incorrect timestamps in the output file.
 [mp4 @ 005c48e0] Application provided duration: 4539201763687527334 /
 timestamp:
  4539201763687792551 is out of range for mov/mp4 format
 [mp4 @ 005c48e0] pts has no value
 }}}
 ffmpeg_aacvbr_pulse1.flac also have this error.

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


More information about the FFmpeg-trac mailing list