Clarification on correct AAC 5.1 audio settings

I tried to play an video with a rare (for me) AAC 5.1 audio stream and got no audio. Vim3 is connected via HDMI to a Denon AVR.

My usual setting was:

  • Audio Decoder:
    Alsa: AML-Augesound, HDMI
    Number of channels:
    7.1

  • Passthrough Output Device:
    Alsa: AML-Augesound, HDMI

With these settings Kodi plays AAC 2.0 as DD without any issues, but would not play sound with AAC 5.1.

I read these links and found two ways that allow sound with AAC 5.1

https://wiki.coreelec.org/coreelec:audio#supported_audio_formats_for_passthrough

Option 1:
*Keep Alsa: AML-Augesound, HDMI
*Change channel count to 2.0 which reveals an Enable DD transcoding option.

Once checked the AAC 5.1 plays as DD - but does it play as 5.1?

Option 2 (noted on the Wiki):
*On Audio Decoder, keep the actual channel count and change Audio Decoder to
Alsa: AML-Augesound, HDMI Multi Channel PCM.

Then AAC 5.1 plays fine (shows ‘Multi Ch In’ on AVR).

95% of the content I play is with the different DD and DTS variations via passthrough, so my question whether I can keep option 2 as default, or is there any need/reason to change the Audio Decoder setting back to from HDMI Multi Channel PCM to just HDMI?

Most AVRs will not handle bitstreamed AAC sound, so you need to convert it to PCM or encode it to some Dolby or DTS variant that the AVR can process.

Option 2 from the Wiki is the best option I find. I have a lot of multichannel audio files from my SACD and DVD-Audio discs and they are streamed over HDMI as LPCM to my AVR just fine. Video files with Dolby and DTS soundtracks just passthrough to the AVR where they are internally converted. AAC soundtracks are converted by Kodi to PCM.

1 Like

Thank you!

For option 2, should you set the channel count to your actual speaker layout, or leave Kodi at 7.1 and let your AVR handle the downmix as needed (running a 5.1 setup myself)?

2 Likes

I set the channel count to 5.1 as that is what my speaker layout is. It handles 7.1 properly - left surround and left rear surround are mixed together on left surround and the same for right side.

2 Likes

Another type of issue: movie with AAC 2.0.
My current settings in Kodi is Option 2.
Audio stereo mp3 is correctly “trigger” LF and RF loudspeakers only but for the movie with AAC 2.0 I hear all 5.1 loudspeakers.
What configuration should be in Kodi or in AVR Denon to get the output 2.0 instead of 5.1 for the movie?

Make sure your AVR is set to Direct, Pure Direct, or Stereo. The surround options would attempt to up convert.

1 Like

Right,
Yellow button “Pure” in Sound Mode section on the bottom of Denon remote :slight_smile:
When selected Direct it’s now correct.
Completely forget about this setting.
Thank you very much.

Yes - any of the Dolby/DTS matrix type surround audio settings will cause 2.0 audio data play as multichannel if you have a 5.1 (or higher) speaker setup.

Not true.
DTS or DTS-HD 5.1 with 5.1 number of channels in Settings - Audio in Kodi gives DTS or DTS-HD 5.1 audio output on 5.1 speakers. There is no “translation” to multichannel PCM.

Didn’t mention 5.1. I said 2.0 audio will play as multichannel when you use Dolby/DTS matrix setting on AVR. Nothing to do with Kodi.

Yes, this is the setting on Denon Remote I used and the result I wanted to change.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.