OSDN Git Service

aacenc: add support for encoding files using Long Term Prediction
authorRostislav Pehlivanov <atomnuker@gmail.com>
Sat, 17 Oct 2015 01:22:51 +0000 (02:22 +0100)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Sat, 17 Oct 2015 01:31:20 +0000 (02:31 +0100)
commit27d23ae07424a7c3a5d5e242ca702299cdd2e14c
treea0dbfe397948ae22e5ed1f591c00a90ed00a89e4
parent83900c0ed34c22487d6a97cdf9e9949d0795f5b0
aacenc: add support for encoding files using Long Term Prediction

Long Term Prediction allows for prediction of spectral coefficients
via the previously decoded time-dependent samples. This feature
works well with harmonic content 2 or more frames long, like speech,
human or non-human, piano music or any constant tones at very low
bitrates.

It should be noted that the current coder is highly efficient and
the rate control system is unable to encode files at extremely
low bitrates (less than 14kbps seems to be impossible) so this
extension isn't capable of optimum operation. Dramatic difference
is observable with some types of audio and speech but for the most
part the audiable differences are subtle. The spectrum looks better
however so the encoder is able to harvest the additional bits that
this feature provies, should the user choose to enable it. So
it's best to enable this feature only if encoding at the absolutely
lowest bitrate that the encoder is capable of.
libavcodec/Makefile
libavcodec/aac.h
libavcodec/aaccoder.c
libavcodec/aacenc.c
libavcodec/aacenc.h
libavcodec/aacenc_ltp.c [new file with mode: 0644]
libavcodec/aacenc_ltp.h [new file with mode: 0644]