No 5.1 surround sound - server selects "HTML TV App profile"

Server Version#: 1.19.3.2764
Player Version#:Plex for Smart TV’s 3.13.21 / Smart TV alliance 3.0

TLDR; plex choose “HTML TV app” profile, does not send audio as 5.1 surround

I have a 2015 Panasonic Viera TX50CX680B 4K TV connected via optical cable to my Sony AV receiver. The TV sends 5.1 sound fine via Netflix app and via the inbuilt media player app. The TV supports 5.1 ac3 and 5.1aac, but not DTS.

But when playing from my PC plex server it converts everything to AAC. I did some work on my own but cannot crack it, here are my findings:

Wireshark header http from TV to server:

GET /?X-Plex-No-Cache=158901605107720XXX-Plex-Client-Identifier=1jvgcbwh9iqw7bXXXXXX-Plex-Device-Screen-Resolution=1280x720&X-Plex-Version=3.13.21&X-Plex-Product=Plex%20for%20Smart%20TVs&X-Plex-Platform=Smart%20TV%20Alliance&X-Plex-Platform-Version=3.0&X-Plex-Token=xxxxxxxxxHTTP/1.1
Host: 192.168.1.252:32400
Connection: keep-alive
Origin: http://plex.tv
Accept-Language: en-GB
User-Agent: Mozilla/5.0 (FreeBSD; U; Viera; en-GB) AppleWebKit/537.11 (KHTML, like Gecko) Viera/3.14.14 Chrome/23.0.1271.97 Safari/537.11 SmartTvA/3.0.0
Accept: text/plain, */*; q=0.01
Referer: http://plex.tv/web/tv/panasonic/index.html
Accept-Encoding: gzip,deflate

Looking in the console it selects “HTML TV App” profile, which I have copied into C:\Users\877\AppData\Local\Plex Media Server\Profiles and attempted to edit. I can change it from aac to ac3, but getting 5.1 sound it proving elusive.

Here is a snippet from the console (filtered for “profile”):

May 09, 2020 10:21:04.260 [0520] Debug — TranscodeUniversalRequest: using augmented profile HTML TV App
May 09, 2020 10:21:04.612 [0520] Debug — Codecs: Testing with profile 'High'
May 09, 2020 10:21:04.635 [0520] Debug — MDE: Rocky (1976): no direct play video profile exists for http/mkv/h264
May 09, 2020 10:21:04.635 [0520] Debug — MDE: Rocky (1976): no direct play video profile exists for http/mkv/h264/dca
May 09, 2020 10:21:04.635 [0520] Debug — MDE: Rocky (1976): no remuxable profile found, so video stream will be transcoded
May 09, 2020 10:21:04.735 [0520] Debug — MDE: Cannot direct stream video stream due to profile or setting limitations
May 09, 2020 10:21:04.790 [0520] Debug — Codecs: Testing with profile 'High'
May 09, 2020 10:21:04.807 [0520] Debug — MDE: Cannot direct stream audio stream due to codec dca when profile only allows aac
May 09, 2020 10:21:05.037 [0520] Debug — TranscodeUniversalRequest: using augmented profile HTML TV App
May 09, 2020 10:21:05.255 [15956] Debug — Request: [127.0.0.1:50581 (Loopback)] PUT /video/:/transcode/session/zbrw7od99wuhm2t9idylfeib/a7797e8d-6245-4d40-9caf-ab6e97b97d01/progress/streamDetail?index=0&id=0&codec=h264&type=video&profile=High&language=eng&width=1280&height=688&interlaced=0&sar=1:1&level=41&frameRate=23.976&disp_default=1 (12 live) Signed-in Token (877) (range: bytes=0-) 
May 09, 2020 10:21:05.255 [20260] Debug — Completed: [127.0.0.1:50581] 200 PUT /video/:/transcode/session/zbrw7od99wuhm2t9idylfeib/a7797e8d-6245-4d40-9caf-ab6e97b97d01/progress/streamDetail?index=0&id=0&codec=h264&type=video&profile=High&language=eng&width=1280&height=688&interlaced=0&sar=1:1&level=41&frameRate=23.976&disp_default=1 (12 live) 0ms 195 bytes (pipelined: 7) (range: bytes=0-) 
May 09, 2020 10:21:05.256 [15956] Debug — Request: [127.0.0.1:50581 (Loopback)] PUT /video/:/transcode/session/zbrw7od99wuhm2t9idylfeib/a7797e8d-6245-4d40-9caf-ab6e97b97d01/progress/streamDetail?index=1&id=0&codec=dts&type=audio&bitrate=1536000&profile=DTS&language=eng&channels=6&layout=5.1%28side%29&sampleRate=48000&bitDepth=24&disp_default=1 (12 live) Signed-in Token (877) (range: bytes=0-) 
May 09, 2020 10:21:05.256 [20260] Debug — Completed: [127.0.0.1:50581] 200 PUT /video/:/transcode/session/zbrw7od99wuhm2t9idylfeib/a7797e8d-6245-4d40-9caf-ab6e97b97d01/progress/streamDetail?index=1&id=0&codec=dts&type=audio&bitrate=1536000&profile=DTS&language=eng&channels=6&layout=5.1%28side%29&sampleRate=48000&bitDepth=24&disp_default=1 (12 live) 0ms 195 bytes (pipelined: 8) (range: bytes=0-) 
May 09, 2020 10:21:05.300 [0520] Debug — [Now] Profile is HTML TV App
May 09, 2020 10:21:14.930 [22672] Debug — [Now] Profile is HTML TV App
May 09, 2020 10:21:24.938 [0520] Debug — [Now] Profile is HTML TV App
May 09, 2020 10:21:26.924 [22672] Debug — [Now] Profile is HTML TV App

I’ve read a lot on https://forums.plex.tv/t/writing-profiles-for-dlna-devices/38060 but am getting nowhere fast.

Plex Media Server Logs_2020-05-09_10-42-38.zip (1.0 MB
HTML TV App.rar (582 Bytes) )

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