[FFmpeg-devel] [fdk-aac] AAC_PCM_OUTPUT_CHANNEL_MAPPINGS undeclared

James Almer jamrial at gmail.com
Mon Nov 10 02:37:35 CET 2014

On 09/11/14 8:04 PM, Jan Ehrhardt wrote:
> Using FFmpeg and fdk-aac from git I am getting the error that
> AAC_PCM_OUTPUT_CHANNEL_MAPPINGS is undefined. I would have expected a
> https://github.com/mstorsjo/fdk-aac/blob/master/libAACdec/include/aacdecoder_lib.h#L452
> but it is not there.
> AAC_PCM_OUTPUT_CHANNEL_MAPPINGS is defined in the Android sources:
> https://android.googlesource.com/platform/external/aac/+/jb-dev/libAACdec/include/aacdecoder_lib.h#433
> I am using these sources for fdk-aac:
> https://github.com/mstorsjo/fdk-aac.git
> Does anyone know a git repo with a declared
> FFmpeg commit:
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b01a2204b5cff7bb920f42fda1bb0103f450fe93
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5a1aa559054b197b64453c60dd01bc5c37532ff9
> I have no build environment for libav, so I did not check if the same
> error happens when building libav. But anyway, building FFmpeg with
> fdk-aac is broken right now.

There's a patch pending in libav mailing list posted by one of fdk-aac devs that 
probably deals with this.
You can try to apply it (It should work on ffmpeg's tree without conflicts) and 
see if that works, or wait until it's merged.

More information about the ffmpeg-devel mailing list