[FFmpeg-trac] #2686(avcodec:open): Native AAC encoder collapses at high bitrates on some samples
FFmpeg
trac at avcodec.org
Wed Dec 9 16:56:55 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):
These three still crashes.
{{{
ffmpeg77171 -y -i FFmpeg_aacvbr_pulse2.flac -c:a aac -b:a 1 out.mp4
ffmpeg version N-77171-g89bbf01 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. 19.100 / 57. 19.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 20.100 / 6. 20.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_aacvbr_pulse2.flac':
Duration: 00:00:16.10, start: 0.000000, bitrate: 1167 kb/s
Stream #0:0: Audio: flac, 48000 Hz, stereo, s16
[aac @ 001b5ba0] Bitrate 1 is extremely low, maybe you mean 1k
The bitrate parameter is set too low. It takes bits/s as argument, not
kbits/s
Output #0, mp4, to 'out.mp4':
Metadata:
encoder : Lavf57.19.100
Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo,
fltp (16
bit), 0 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.
}}}
{{{
ffmpeg77171 -y -i FFmpeg_aacvbr_pulse2.flac -c:a aac -ar 11025 -cutoff
5000 -profile:a aac_main -b:a 8k out.mp4
ffmpeg version N-77171-g89bbf01 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. 19.100 / 57. 19.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 20.100 / 6. 20.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_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.19.100
Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 11025 Hz, stereo,
fltp (16
bit), 8 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.
}}}
{{{
ffmpeg77171 -y -i FFmpeg_anmr_error6.flac -c:a aac -q:a 1280k out.mp4
ffmpeg version N-77171-g89bbf01 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. 19.100 / 57. 19.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 20.100 / 6. 20.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_error6.flac':
Duration: 00:00:10.00, start: 0.000000, bitrate: 218 kb/s
Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/2686#comment:455>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list