[FFmpeg-user] Problems configuring AAC decoder.

Brant Merryman brant at mac.com
Sun Apr 6 17:00:28 CEST 2014


The aacDecoder_ConfigRaw call that I'm trying to use is declared in aacdecoder_lib.h which is part of fdk-aac. Is that not part of FFMPEG?

(That would certainly explain part of my confusion.)


On Apr 6, 2014, at 6:49 AM, James Darnley <james.darnley at gmail.com> wrote:

> On 2014-04-06 07:15, Brant Merryman wrote:
>> UCHAR asc[2];
>> memcpy(&audio_specific, &asc, sizeof(asc));
>> 
>> UCHAR a_s_conf[] = { asc[0], asc[1] };
>> UCHAR * conf[] = { a_s_conf };
>> UINT conf_len = sizeof(a_s_conf);                    
>> AAC_DECODER_ERROR dec_err = aacDecoder_ConfigRaw(m_AAC_decoder, conf, &conf_len );
>> 
>> At this point, dec_err is AAC_DEC_UNSUPPORTED_FORMAT.
>> 
>> What am I doing wrong? Is it the way that I am formatting the Audio Specific Config - or the way that I'm feeding it into the call?
> 
> This doesn't look like any of FFmpeg's API, certainly not the public one
> anyway.  What exactly are you doing?  What/whose code is this?
> 
> 
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list