[FFmpeg-user] 7.1 audio in AAC.

Dennis mediastream at gmail.com
Fri Feb 24 19:09:30 CET 2012


How can encode PCM 7.1 ch to AAC preserving the channels?

it seems vo-aacenc only supports 2 channels (AACEncoder.cpp):
    if (mChannels > 2 || mChannels <= 0) {
        ALOGE("Unsupported number of channels(%d)", mChannels);

and libfaac stops at 5.1 channels:    [libfaac @ 0x93bbb60] encoding 8
channel(s) is not allowed

Here's the sample file:
Any advice is welcome. Hoping to use ffmpeg/ffmbc/avconv binary.

Thank yous.

More information about the ffmpeg-user mailing list