- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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 - 6.0.0.1 from media_audio_6.0.0.1.
Any help would be really appreciated.
Regards,
Tsviatko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tsviatko,
Apologies that you are running into this issue. Currently, today in Audio for windows we have support for both AAC and AAC-HE in our audio library. However, only Audio decoder part supports more than 2 channels. Audio encoder supports mono or stereo only. Hence you are able to get the AAC HE working when set to mono encoding. Hope this information is helpful!
Thank you,
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tsviatko
This is not a known issue, since it is not captured in our release notes. It would be great if you can send us a reproducer which can replicate this problem with a small input and system analyzer logs(tool for this is present at <installed directory>\mediasdk\tools\mediasdk_system_analyzer to look into this issue.
Thanks,
Surbhi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Surbhi,
Here is a compilable C++ sample for reproducing the AAC HE and multi-channel (>2) problem:
http://www.jongbel.com/download/IntelAACHEEncoderIssue/IntelAudioAACHEEncoderIssue.zip
The sample includes the source PCM stream, the required .h, .lib and .dll files - it can be directly compiled and run. The produced AAC HE stream has pops and clicks.
Tried with different bit rates (AAC HE should be up to 96 kbps), different channels, SampleFrequency, OutputFormat, StereoMode. No combination seemed to work. The only way
I was able to get the AAC HE working is to set it to mono encoding - 1 mono channel.
, and here are the logs from the analyzer:
http://www.jongbel.com/download/IntelAACHEEncoderIssue/MediaSDK_System_Analyzer_win32_Log.txt
http://www.jongbel.com/download/IntelAACHEEncoderIssue/MediaSDK_System_Analyzer_x64_Log.txt
Thank you.
Best Regards,
Tsviatko
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tsviatko,
Apologies that you are running into this issue. Currently, today in Audio for windows we have support for both AAC and AAC-HE in our audio library. However, only Audio decoder part supports more than 2 channels. Audio encoder supports mono or stereo only. Hence you are able to get the AAC HE working when set to mono encoding. Hope this information is helpful!
Thank you,

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page