[FFmpeg-user] 7.1 audio in AAC.

Roger Pack rogerdpack2 at gmail.com
Wed Aug 1 01:03:17 CEST 2012


>> How can encode PCM 7.1 ch to AAC preserving the channels?
>
> It is currently not implemented by the existing four AAC
> encoders used by FFmpeg.

I did notice that the libfdk-aac wrapper seems to support up to 5.1:

libavcodec/libfdk-aacenc.c
148:    case 1: mode = MODE_1;       sce = 1; cpe = 0; break;
150:    case 3: mode = MODE_1_2;     sce = 1; cpe = 1; break;
151:    case 4: mode = MODE_1_2_1;   sce = 2; cpe = 1; break;
152:    case 5: mode = MODE_1_2_2;   sce = 1; cpe = 2; break;
153:    case 6: mode = MODE_1_2_2_1; sce = 2; cpe = 2; break;

however the library appears to support up to MODE_1_2_2_2_1 so  maybe
it would be possible...
-r


More information about the ffmpeg-user mailing list