I've been encountering the AAC 5.1 playback bug since 9.0, and actually posted about it here a while back. The interesting thing is, apps like Air Video HD seem to properly decode the AAC bitstream to 5.1 PCM, so the hardware is obviously capable and the APIs are there. It's nothing more than a bug in the "Computers" app (iTunes Home Sharing).
Thanks very much for responding regarding this TV4 Surround Sound sub-topic. You have undoubtedly saved me days of research and preliminary testing on my own system. Haven't played with AAC 5.1 since updating to iMac I7 which, of course, can't use my old peripheral card. Love the simplicity of creating a single audio track that automatically plays as mono, stereo, or multichannel depending on the device in use, as well as, the reduction in audio bandwidth requirements.
Was in the process of testing HE AAC 5.1 (192Kbps @ 48.0KHz target) file in the Plex server/player software when you posted. Internet articles indicated Plex software is AAC 5.1 playback compatible but didn't indicate if it was being transcoded before serving or being played back natively in the TV4 media player app. Have both the Air Video and Air Video servers up and running for external network access of iTunes managed library content but never thought to test AAC 5.1 content in the TV4 Air Video HD app. (Boy, do I feel abashed and stupid for overlooking this workflow!) Again, thanks for pointing out the obvious.
Like mariotheplumber, I tend to think playback of (in this case, the AAC 5.1) audio via TV4 DD 5.1 output mode sounds better—i.e., the AVR Dolby decoding algorithms seem to provide better "directional steering" of audio content (volume, phase, and time shifts) to produce better "subjective" channel separation with increased impact and a "fuller" sound at lower master volume levels while the PCM mode qualities seem to improve as master volume levels are increased. (Just a personal opinion which others may or may not share depending on system hardware and playback conventions, habits, and/or personal AVR settings.)
In any case, your comments regarding hardware capabilities and API availability (as well as, the currently demonstrated third-party app functionality) leads me to believe there is still hope for Apple to, as you put it, fix this "bug in the 'Computers' app." Especially since MPEG-4 audio and video is Apple's own choice for OS, IOS, and tvOS basic use and I am very excited about it's potential for "universal" use across multiple Apple devices.
Air Video is now my preferred method of playback on the ATV4, though it's not particularly pretty and doesn't support metadata;
Yes, I have to agree that I am not totally satisfied with any third-party player app when it comes to integration with iTunes managed database and would much prefer, generally speaking, to use Apple's own Computer app player if it will support multichannel AAC audio. (Though I have to confess that I was a bit upset by Apple's latest TV Show playlist ordering inconsistencies in the tvOS v9.2 update.) Would point out, however, that the Air Video HD player does appear to work better than than the Plex player based on less than 24 hours use and have yet to try any other Plex server compatible player apps. Specifically, the Plex player tends to "stick" in the "idle" audio mode for whatever TV4 output mode you are using if you switch modes while playing an AAC 5.1 file. (I.e., the player appears to only test the audio format when a file first opens for playback—making the user exit playback after changing the the TV4 output mode in order to force the player app to resample and reset correct output for the device,) On the other hand, the Air Video HD player does not have this problem as it seems to check for such changes in output each time playback is paused and restarted. In addition, the Plex server has to be manually told to update the media file database for a target library folder while the Air Video HD Server does this automatically when the player app is opened on the TV4. Admittedly these are trivial but, for me, somewhat annoying issues.
Also, it's worth noting that the "Computers" app isn't simply just sending the L/R channels from the AAC 5.1 mix, it's actually downmixing the source 5.1 to stereo, then encapsulating that in a 5.1 PCM stream. Very strange.
This may actually the the key issue here. My understanding is that the AAC downmix routine is only supposed to be called by the OS, IOS, or tvOS player when required to maintain compatibility with device playback hardware, software, and/or output mode settings/limitations. It is indeed strange that third-party software purveyors seem to be out "Apple-ing" Apple here,
I've been filing product feedback regarding this issue since the day I first got my ATV4, and I resubmit every time another tvOS update is released without a fix. But still nothing...
Suspect the number of users employing AAC 5.1 and/or HE AAC 5.1 audio for their video library on a regular basis may be relatively few. You may wish to open an AAC multichannel specific discussion if you have not already done so. I would be interested in comparing notes regarding best target settings and general support by the various applications currently available—especially those operating under tvOS. Am currently contemplating a test switch to AAC multichannel beginning with the release of the latest Star Wars film and The Expanse TV show next week and will likely begin filing feedback and/or "bug" reports as soon as I'm able to gain enough info regarding the subject. Again, I had no idea that anyone was using AAC multichannel for their media library and am very enthusiastic about its potential as more Mac friendly, general purpose, universal audio codec for users not requiring ultra-high quality audio formats.