[FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples
FFmpeg
trac at avcodec.org
Mon Dec 14 17:51:34 CET 2015
#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):
Apparently, lower bitrate induces the assertion error.
{{{
ffmpeg77223 -y -i FFmpeg_anmr_error5.flac -c:a aac -b:a 16k -cutoff 15000
-ar 48000 out.mp4
ffmpeg version N-77233-g28e9b7e Copyright (c) 2000-2015 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. 10.100 / 55. 10.100
libavcodec 57. 17.100 / 57. 17.100
libavformat 57. 20.100 / 57. 20.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 21.100 / 6. 21.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_anmr_error5.flac':
Duration: 00:00:05.00, start: 0.000000, bitrate: 229 kb/s
Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
Output #0, mp4, to 'out.mp4':
Metadata:
encoder : Lavf57.20.100
Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo,
fltp (16
bit), 16 kb/s
Metadata:
encoder : Lavc57.17.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
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
}}}
{{{
ffmpeg77223 -y -i ffmpeg_96k_error.flac -c:a aac -profile:a aac_main -b:a
16k -cutoff 20000 -ar 44100 out.mp4
ffmpeg version N-77233-g28e9b7e Copyright (c) 2000-2015 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. 10.100 / 55. 10.100
libavcodec 57. 17.100 / 57. 17.100
libavformat 57. 20.100 / 57. 20.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 21.100 / 6. 21.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_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.20.100
Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 44100 Hz, stereo,
fltp (16
bit), 16 kb/s
Metadata:
encoder : Lavc57.17.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
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/2686#comment:464>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list