[FIX] EAC3 playback on AppleTV gen4
I've seen multiple reports of EAC3 Direct Play not working with AppleTV.
The issue is real.
Result: If the container has EAC3, audio output is silent, AVR shows two channel PCM.
Some posts imply this is fixed by the current release, but that is not the case (I updated to the beta channel to test).
Note: I tried all (three) settings for audio in AppleTV Settings. Same result for each.
Plex Media Server running on Windows Home Server 2011
WHS machine + AppleTV gen 4 on wired GbE.
Plex Media Server Version 18.104.22.16863 (latest on Beta channel)
AppleTV connected to (HDMI) Yamaha RX-V867 (EAC3 native, others too: TrueHD, DTS-MA, etc)
The content is mkv container with:
One video stream: 16.3 Mpbs VC-1 (Advanced@L3) 1920x1080 @ 23.976
One audio stream: 1536 Kbps E-AC-3, 48KHz, 6 channel
(it is an HD-DVD backup)
The same content plays fine on my HTPC (Sandy Bridge/HD3000 running Windows 7 Media Center, LAV mkv splitter, My Movies).
Playing to AppleTV Plex Media Server status shows:
As expected, the VC-1 is transcoded.
The EAC3 track is transmitted directly.
I changed a line in c:\Program Files (x86)\Plex\Plex Media Server\Resources\Profiles\tvOS.xml
<VideoProfile protocol="hls" container="mpegts" codec="h264" audioCodec="aac,eac3,ac3,mp3" context="streaming" />
<VideoProfile protocol="hls" container="mpegts" codec="h264" audioCodec="aac,ac3,mp3" context="streaming" />
Note: You must exit+restart the Plex Media Server for this change to take effect.
Now the EAC3 track is transcoded to AC3 and we have sound (and AVR shows Dolby Digital 5.1).