I've downloaded and trying to use the Intel Media AAC Audio Encoder. The AAC encoder and decoder works great with Low Complexity profile in stereo mode. However if I try to set HE profile the produced AAC plays with clicks and pops. The effect is the same if I set the number of channels > 2.
Here is how I setup the AAC Encoder:
// Configure audio encoder parameters
MFXAParam.mfx.CodecId = MFX_CODEC_AAC;
MFXAParam.mfx.CodecProfile = MFX_PROFILE_AAC_HE;
MFXAParam.mfx.BitPerSample = 16;
MFXAParam.mfx.NumChannel = 2;
MFXAParam.mfx.SampleFrequency = 48000;
MFXAParam.mfx.Bitrate = 96000;
MFXAParam.mfx.OutputFormat = MFX_AUDIO_AAC_ADTS;
MFXAParam.mfx.StereoMode = MFX_AUDIO_AAC_LR_STEREO;
The Query and initialization function returns no error on these parameters. The encoding passes without any problems, but the resulting AAC file has clicks. If I change the CodecProfile to MFX_PROFILE_AAC_LC, everything works perfectly.
The same issue appears if I try setting the NumChannels to 6 (for 5.1) - even in MFX_PROFILE_AAC_LC again the produced AAC has clicks.
I'm using libmfxaudiosw32.dll - 18.104.22.168 from media_audio_22.214.171.124.
Any help would be really appreciated.