aacenc: support extended channel layouts using PCEs

Multimedia / FFmpeg - Rostislav Pehlivanov [gmail.com] - 9 November 2017 03:37 EST

This commit implements support for PCE (Program Configuration Elements) in the AAC encoder, and as such allows for encoding of channel layouts not present in the presets defined by the spec (which only lists the 8 most common ones).

This has been a highly requested feature and is also the first open source encoder to support this many layouts.

Many thanks to pkviet who implemented support for and
verified all channel layouts.

fbf295e2bd aacenc: support extended channel layouts using PCEs
Changelog | 1 +
libavcodec/aacenc.c | 69 ++++++++++--
libavcodec/aacenc.h | 286 ++++++++++++++++++++++++++++++++++++++++++++++++-
libavcodec/aacenctab.h | 13 ++-
4 files changed, 361 insertions(+), 8 deletions(-)

  • Share