And there I thought I was going crazy⦠my audio receiver seems to have issues when AAC is played so I tend to get plex to transcode to AC3 on the fly and I see the same thing! I thought I mustāve been doing something wrong!
I wonder whether it transcodes to AAC but in an AC3 container hence the swap?
@chaosmaker said:
And there I thought I was going crazy⦠my audio receiver seems to have issues when AAC is played so I tend to get plex to transcode to AC3 on the fly and I see the same thing! I thought I mustāve been doing something wrong!
I wonder whether it transcodes to AAC but in an AC3 container hence the swap?
No idea⦠I think its just a bug in how they are transcoding it on the fly. From my experience this issue is specific to the source audio being DTS-HD MA
I have the exact same issue: I have tested various media files and I see that both 6 channel AAC and DTS5.1 audio are being transcoded to AC3 with the center channel coming out of the right speaker.
Client: ATV 4k v1.23 (8012)
Server: 1.11.2.4772 (osx)
At one point in time, ffmpeg did not transcode AAC and DTS correctly to AC3, and the results were the same as reported here. I donāt pretend to understand all of the technical reasons, but basically, it was because the channels are mapped differently between the various formats. That is, the right channel on AAC and DTS are located in the slot where the center channel is located for AC3. You might not notice it, but I believe the rear channels are mapped slightly different as well.
Ffmpeg corrected the problem some time ago. Iām pretty sure Plex uses a modified version of ffmpeg in the background, and maybe they missed that update. That would explain why a file that you transcode yourself has the channels mapped properly, and the Plex transcoder does it wrong.
It goes without saying, that is just a wild guess. Just some armchair trouble shooting from someone who had the problem before I even heard of Plex and used ffmpeg to convert videos for storage on my computer.
Iāve done some testing of my own and in my particular case it seems to be when the audio doesnāt have a proper channel layout. (I.e. it says there are 6 channels instead of 5.1) Running ffmpeg, which then guesses the channel order fixes my issues completely.
You can check the channel layout by doing
ffprobe -v error -select_streams a -show_entries stream=channel_layout -of default=noprint_wrappers=1:nokey=1 file
If it says unknown, I noticed Plex has issues to order the channels accordingly.
@chaosmaker said:
Iāve done some testing of my own and in my particular case it seems to be when the audio doesnāt have a proper channel layout. (I.e. it says there are 6 channels instead of 5.1) Running ffmpeg, which then guesses the channel order fixes my issues completely.
You can check the channel layout by doing
ffprobe -v error -select_streams a -show_entries stream=channel_layout -of default=noprint_wrappers=1:nokey=1 file
If it says unknown, I noticed Plex has issues to order the channels accordingly.
@chaosmaker said:
Iāve done some testing of my own and in my particular case it seems to be when the audio doesnāt have a proper channel layout. (I.e. it says there are 6 channels instead of 5.1) Running ffmpeg, which then guesses the channel order fixes my issues completely.
I think that tidbit of info has nailed the problem.
A quick google search will find that if the channel layouts arenāt defined, the default layout for multi-channel audio is:
FL, FR, FC, LFE, SL, SR
(that is also the standard channel location for WAV and FLAC audio, I believe)
and the default layout for multi-channel AC3 is:
FL, FC, FR, SL, SR, LFE
So if the Plex transcoder is confused by the ambiguous ā6 Channelā flag and chooses the default channel layout, the transcoded AC3 file would end up like this:
CHANNEL #1 (Front Left) >> Front Left
CHANNEL #2 (Front Right) >> Front Center
CHANNEL #3 (Front Center) >> Front Right
CHANNEL #4 (LFE) >> Surround Left
CHANNEL #5 (Surround Left) >> Surround Right
CHANNEL #6 (Surround Right) >> LFE
I would guess that ffmpeg assumes all 6 channel audio is ā5.1 (side)ā and applies the correct channel layout, and the Plex transcoder simply transcodes to AC3 in the standard 6 channel layout. If you can follow my example, the surround and low frequency channels are probably messed up too. Unfortunately, I canāt find a file with a 6 channel flag to test.
At least you lot are getting audio I donāt get any sound from my LG B6 only when 4K MKVs with DTS HD 5.1/7.1 transcodes to eac3 5.1 and the ATV 4K āSURROUND SOUNDā is set to ābest quality availableā or āDOLBY DIGITAL 5.1ā, I only get sound when the ATV 4K āSURROUND SOUNDā is set to āSTEREOā!
4K MKVs TrueHD transcodes to eac3 correctly having ATV4K set to best quality or Dolby
1080p MKvs h264 DTS transcodes to eac3 correctly also with ATV 4K set to best quality or Dolby
@leelynds no need to test - that is exactly what I found with the ones I have that say 6 channel and have an unknown layout - if you want Iāll grab a sample later on? @WatchTowerPlex Iāll download your sample and have a look at how it looks on my system and will let you know shortly what I find
@Nik3sh I am a bit confused by your message sorry. Why are you using an ATV when the LG B6 has ānowā a pretty good client? And I presume the ATV is connected via HDMI, and you have another HDMI connected to a home theatre system via ARC? On your TV is your sound set to pass through as āautoā or as āPCMā? Technically the B6 should be able to handle DTS HD unless you need to transcode it for your HT?
@chaosmaker said: @leelynds no need to test - that is exactly what I found with the ones I have that say 6 channel and have an unknown layout - if you want Iāll grab a sample later on? @WatchTowerPlex Iāll download your sample and have a look at how it looks on my system and will let you know shortly what I find
@Nik3sh I am a bit confused by your message sorry. Why are you using an ATV when the LG B6 has ānowā a pretty good client? And I presume the ATV is connected via HDMI, and you have another HDMI connected to a home theatre system via ARC? On your TV is your sound set to pass through as āautoā or as āPCMā? Technically the B6 should be able to handle DTS HD unless you need to transcode it for your HT?
The question is why shouldnāt I use my ATV 4K? whatās so confusing about it? I want things to work! Why do you use one? Seriously What a mundane question to ask!
The LG B6 does not have a gigabit port so when playing high bit 4K videos it buffers. BtW I have a shield TV as well and everything direct plays or transcodes audio great on that, I hope youāre not going to ask me on why I donāt use that now. Iām just reporting on my ATV 4K issues.
Also I said 1080p MKV blu rays with DTS HD transcoding to eac3 when the ATV 4K surround setting is set to BEST Quality available, works! just not with 4K MKVS on my LG B6.
My ATV 4K is connected direct to the TV, I have no receiver, with LG B6 hdmi Sound set to AUTO.
You know ATV doesnāt support passthrough of DTS natively so of cause plex server needs to transcode to a suitable audio codec no matter how or what you hook your ATV 4K to, be it direct to the TV or if you have a receiver. The Infuse app on the otherhand can passthrough DTS and it works because their own app supports that codec.
Sorry If I sound annoyed but Plex has so many bugs on the ATV4K I shouldnāt have to resort to another Plex app because I have it, when I buy something I expect it to work or at least get some professional feedback.
My only guess is,for my TV, that thereās a problem with TVOS 11.3 beta. Just need a Plex employee to look at this, but havenāt heard anything.