Philips 55PUS7363 - 4K audio desync (direct play)

I recently got the Philips 55PUS7363, because of the 4K and Android TV aspect. However, Plex has not been working properly with 4K content.

Problem: When a 4K video starts, everything is working perfectly. However, after a few seconds, the video will skip a few frames forward - but the audio will “stay”. The result being an audio track that will be desync by 0.5s or 1s (sometimes even more!).

Everything is Direct Play, nothing is transcoding.
Everything is also running on my wired network.

Funny thing is, if I force a transcode to any quality, the audio and video will be in sync all the time. But obviously this is not optimal for many reasons.

Everything below 4K quality works just fine.

Mediainfo of the most recent watched 4K movie.

Format                      : Matroska
Format version              : Version 4 / Version 2
File size                   : 19.4 GiB
Duration                    : 2 h 33 min
Overall bit rate            : 18.1 Mb/s
Encoded date                : UTC 2018-01-01 17:17:19
Writing application         : mkvmerge v19.0.0 ('Brave Captain') 64-bit
Writing library             : libebml v1.3.5 + libmatroska v1.4.8

Video
ID                          : 1
Format                      : HEVC
Format/Info                 : High Efficiency Video Coding
Format profile              : Main 10@L5.1@High
Codec ID                    : V_MPEGH/ISO/HEVC
Duration                    : 2 h 33 min
Bit rate                    : 14.2 Mb/s
Width                       : 3 840 pixels
Height                      : 1 600 pixels
Display aspect ratio        : 2.40:1
Frame rate mode             : Constant
Frame rate                  : 23.976 (24000/1001) FPS
Color space                 : YUV
Chroma subsampling          : 4:2:0 (Type 2)
Bit depth                   : 10 bits
Bits/(Pixel*Frame)          : 0.096
Stream size                 : 15.2 GiB (78%)
Writing library             : x265 2.6+22-ff02513b92c0:[Windows][GCC 6.3.0][64 bit] 10bit
Encoding settings           : cpuid=1173503 / frame-threads=4 / numa-pools=20 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x1600 / interlace=0 / total-frames=220837 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / repeat-headers / annexb / aud / hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=1 / keyint=24 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / radl=0 / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / no-strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=-3:-3 / no-sao / no-sao-non-deblock / rd=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=17.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=1 / chromaloc-top=2 / chromaloc-bottom=2 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50) / max-cll=500,200 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / hdr / hdr-opt / no-dhdr10-opt / analysis-save=(null) / analysis-load=(null) / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-mv-type=0 / copy-pic=1
Default                     : Yes
Forced                      : No
Color range                 : Limited
Color primaries             : BT.2020
Transfer characteristics    : PQ
Matrix coefficients         : BT.2020 non-constant
Mastering display color pri : Display P3
Mastering display luminance : min: 0.0050 cd/m2, max: 4000 cd/m2
Maximum Content Light Level : 500 cd/m2
Maximum Frame-Average Light : 200 cd/m2

Audio
ID                          : 2
Format                      : DTS
Format/Info                 : Digital Theater Systems
Format profile              : X / MA / Core
Codec ID                    : A_DTS
Duration                    : 2 h 33 min
Bit rate mode               : Variable / Variable / Constant
Bit rate                    : 3 689 kb/s / 3 689 kb/s / 1 509 kb/s
Channel(s)                  : Object Based / 8 channels / 6 channels
Channel positions           : Object Based / Front: L C R, Side: L R, Back: L R, LFE / Front: L C R, Side: L R, LFE
Sampling rate               :  / 48.0 kHz / 48.0 kHz
Frame rate                  : 93.750 FPS (512 SPF)
Bit depth                   :  / 24 bits / 24 bits
Compression mode            :  / Lossless / Lossy
Stream size                 : 3.96 GiB (20%)
Language                    : English
Default                     : Yes
Forced                      : No

Text #1
ID                          : 3
Format                      : PGS
Muxing mode                 : zlib
Codec ID                    : S_HDMV/PGS
Codec ID/Info               : Picture based subtitle format used on BDs/HD-DVDs
Duration                    : 2 h 33 min
Bit rate                    : 28.1 kb/s
Count of elements           : 3042
Stream size                 : 30.8 MiB (0%)
Title                       : SDH
Language                    : English
Default                     : No
Forced                      : No

Text #2
ID                          : 4
Format                      : PGS
Muxing mode                 : zlib
Codec ID                    : S_HDMV/PGS
Codec ID/Info               : Picture based subtitle format used on BDs/HD-DVDs
Duration                    : 2 h 33 min
Bit rate                    : 27.5 kb/s
Count of elements           : 2832
Stream size                 : 30.1 MiB (0%)
Language                    : French
Default                     : No
Forced                      : No

Text #3
ID                          : 5
Format                      : PGS
Muxing mode                 : zlib
Codec ID                    : S_HDMV/PGS
Codec ID/Info               : Picture based subtitle format used on BDs/HD-DVDs
Duration                    : 2 h 33 min
Bit rate                    : 33.1 kb/s
Count of elements           : 3228
Stream size                 : 36.3 MiB (0%)
Language                    : German
Default                     : No
Forced                      : No

Text #4
ID                          : 6
Format                      : PGS
Muxing mode                 : zlib
Codec ID                    : S_HDMV/PGS
Codec ID/Info               : Picture based subtitle format used on BDs/HD-DVDs
Duration                    : 2 h 33 min
Bit rate                    : 27.4 kb/s
Count of elements           : 3092
Stream size                 : 30.0 MiB (0%)
Language                    : Italian
Default                     : No
Forced                      : No

Text #5
ID                          : 7
Format                      : PGS
Muxing mode                 : zlib
Codec ID                    : S_HDMV/PGS
Codec ID/Info               : Picture based subtitle format used on BDs/HD-DVDs
Duration                    : 2 h 33 min
Bit rate                    : 25.6 kb/s
Count of elements           : 3132
Stream size                 : 28.0 MiB (0%)
Language                    : Spanish
Default                     : No
Forced                      : No

Text #6
ID                          : 8
Format                      : PGS
Muxing mode                 : zlib
Codec ID                    : S_HDMV/PGS
Codec ID/Info               : Picture based subtitle format used on BDs/HD-DVDs
Duration                    : 2 h 33 min
Bit rate                    : 21.4 kb/s
Count of elements           : 2250
Stream size                 : 23.5 MiB (0%)
Language                    : Dutch
Default                     : No
Forced                      : No

Text #7
ID                          : 9
Format                      : PGS
Muxing mode                 : zlib
Codec ID                    : S_HDMV/PGS
Codec ID/Info               : Picture based subtitle format used on BDs/HD-DVDs
Duration                    : 2 h 33 min
Bit rate                    : 22.4 kb/s
Count of elements           : 2936
Stream size                 : 24.5 MiB (0%)
Language                    : Chinese
Default                     : No
Forced                      : No

Text #8
ID                          : 10
Format                      : PGS
Muxing mode                 : zlib
Codec ID                    : S_HDMV/PGS
Codec ID/Info               : Picture based subtitle format used on BDs/HD-DVDs
Duration                    : 2 h 33 min
Bit rate                    : 21.7 kb/s
Count of elements           : 2894
Stream size                 : 23.7 MiB (0%)
Language                    : Chinese
Default                     : No
Forced                      : No

Text #9
ID                          : 11
Format                      : PGS
Muxing mode                 : zlib
Codec ID                    : S_HDMV/PGS
Codec ID/Info               : Picture based subtitle format used on BDs/HD-DVDs
Duration                    : 2 h 33 min
Bit rate                    : 15.6 kb/s
Count of elements           : 2872
Stream size                 : 17.1 MiB (0%)
Language                    : Korean
Default                     : No
Forced                      : No

Text #10
ID                          : 12
Format                      : PGS
Muxing mode                 : zlib
Codec ID                    : S_HDMV/PGS
Codec ID/Info               : Picture based subtitle format used on BDs/HD-DVDs
Duration                    : 2 h 33 min
Bit rate                    : 24.3 kb/s
Count of elements           : 2900
Stream size                 : 26.6 MiB (0%)
Language                    : Spanish
Default                     : No
Forced                      : No

Text #11
ID                          : 13
Format                      : PGS
Muxing mode                 : zlib
Codec ID                    : S_HDMV/PGS
Codec ID/Info               : Picture based subtitle format used on BDs/HD-DVDs
Duration                    : 2 h 33 min
Bit rate                    : 26.0 kb/s
Count of elements           : 2896
Stream size                 : 28.4 MiB (0%)
Language                    : Portuguese
Default                     : No
Forced                      : No

Text #12
ID                          : 14
Format                      : PGS

I need to see the DEBUG (not VERBOSE) [ settings - server - general - show advanced ]

  1. Please recreate the failing example using the file you show above
  2. Play until first failure.
  3. Stop Playback
  4. Wait 30 seconds
  5. Settings - Server - Troubleshooting - Download Logs
  6. Attach the ZIP

Here you go!

The “failure” happens only once, and usually after a couple of seconds. But can be recreated with a fast-forward or a backwards-skip.

In this case, the failure happened about ~2 seconds after starting the movie.

Plex Media Server Logs_2019-05-31_01-13-29.zip (2.8 MB)

Direct play is forced.
The android app responded with “Any”, as it should.

PMS started a direct play.
The player/tv threw it right back as fail.

Whatever you’re playing on does not accept that file. Were I to guess, it’s because you have PGS subtitles (Image based) . The Plex apps will pass them but when Android bounced it back, it was done.

Please now try without forcing direct play.

May 31, 2019 01:12:46.447 [0x7f457cff9700] DEBUG - MDE: received PLEX_PROTOCOL_ANY from client, but could not determine best protocol. Defaulting to HTTP
May 31, 2019 01:12:46.447 [0x7f457cff9700] DEBUG - MDE: analyzing media item 17545
May 31, 2019 01:12:46.447 [0x7f457cff9700] DEBUG - MDE: Harry Potter and the Half-Blood Prince (2009): Direct Playing due to no transcode profile
May 31, 2019 01:12:46.447 [0x7f457cff9700] DEBUG - MDE: Harry Potter and the Half-Blood Prince (2009): no direct play video profile exists for http/mkv/hevc
May 31, 2019 01:12:46.447 [0x7f457cff9700] DEBUG - MDE: Harry Potter and the Half-Blood Prince (2009): no direct play video profile exists for http/mkv/hevc/dca
May 31, 2019 01:12:46.448 [0x7f457cff9700] DEBUG - MDE: Harry Potter and the Half-Blood Prince (2009): selected media 0 / 17545
May 31, 2019 01:12:46.448 [0x7f457cff9700] DEBUG - Streaming Resource: Added session 0x7f45d00e4920:2ec70c6ad1e8274e-com-plexapp-android
May 31, 2019 01:12:46.448 [0x7f457cff9700] DEBUG - Streaming Resource: Reached Decision id=11691 codes=(MDE=1000,Direct play OK.) media=(id=17545 part=(id=22854 decision=direct play protocol=* streams=(Video=(id=91072 decision= width=0 height=0) Audio=(id=91073 decision= channels=0 rate=0) Subtitle=(id=91105 decision=unavailable languageCode=hrv location=sidecar))))
May 31, 2019 01:12:46.448 [0x7f457cff9700] DEBUG - Content-Length of /shared/movies4k/Harry Potter and the Half-Blood Prince/Harry Potter and the Half-Blood Prince (2009) - 2160p - BluRay - DEPTH.mkv is 20829443939.
May 31, 2019 01:12:46.478 [0x7f460a6da700] DEBUG - Auth: authenticated user 1 as DeniCevap
May 31, 2019 01:12:46.478 [0x7f460aedb700] DEBUG - Failed to stream media, client probably disconnected after 311296 bytes: 104 - Connection reset by peer
May 31, 2019 01:12:46.478 [0x7f45d7fff700] DEBUG - Request: [192.168.1.161:37837 (Subnet)] GET /library/metadata/11691?checkFiles=1&includeExternalMetadata=1&includeExtras=1&includeRelated=1&includeRelatedCount=0&includeReviews=1 (18 live) TLS GZIP Signed-in Token (DeniCevap)
May 31, 2019 01:12:46.478 [0x7f460aedb700] DEBUG - Completed: [192.168.1.161:37858] 200 GET /library/parts/22854/1514757600/file.mkv?autoAdjustQuality=0&hasMDE=1&location=lan&mediaBufferSize=209664 (18 live) TLS 61ms 311296 bytes (range: bytes=133834877-) 
May 31, 2019 01:12:46.491 [0x7f45d7fff700] DEBUG - It took 10.000000 ms to retrieve 131 items.
May 31, 2019 01:12:46.493 [0x7f45d7fff700] DEBUG - We're going to try to auto-select an audio stream for account 1.
May 31, 2019 01:12:46.493 [0x7f45d7fff700] DEBUG - Selecting best audio stream for part ID 22854 (autoselect: 1 language: en)
May 31, 2019 01:12:46.493 [0x7f45d7fff700] DEBUG - Audio Stream: 91073, Subtitle Stream: 91105
May 31, 2019 01:12:46.496 [0x7f45d7fff700] DEBUG - We're going to try to auto-select an audio stream for account 1.
May 31, 2019 01:12:46.496 [0x7f45d7fff700] DEBUG - Selecting best audio stream for part ID 22855 (autoselect: 1 language: en)
May 31, 2019 01:12:46.496 [0x7f45d7fff700] DEBUG - We're going to try to auto-select a subtitle.
May 31, 2019 01:12:46.496 [0x7f45d7fff700] DEBUG - Selected a foreign audio track: eng
May 31, 2019 01:12:46.496 [0x7f45d7fff700] DEBUG - Audio Stream: 91094, Subtitle Stream: -1
May 31, 2019 01:12:46.496 [0x7f45d7fff700] DEBUG - We're going to try to auto-select an audio stream for account 1.
May 31, 2019 01:12:46.496 [0x7f45d7fff700] DEBUG - Selecting best audio stream for part ID 22856 (autoselect: 1 language: en)
May 31, 2019 01:12:46.496 [0x7f45d7fff700] DEBUG - We're going to try to auto-select a subtitle.
May 31, 2019 01:12:46.496 [0x7f45d7fff700] DEBUG - Selected a foreign audio track: eng
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - Audio Stream: 91096, Subtitle Stream: -1
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - We're going to try to auto-select an audio stream for account 1.
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - Selecting best audio stream for part ID 22857 (autoselect: 1 language: en)
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - We're going to try to auto-select a subtitle.
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - Selected a foreign audio track: eng
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - Audio Stream: 91098, Subtitle Stream: -1
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - We're going to try to auto-select an audio stream for account 1.
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - Selecting best audio stream for part ID 22858 (autoselect: 1 language: en)
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - We're going to try to auto-select a subtitle.
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - Selected a foreign audio track: eng
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - Audio Stream: 91100, Subtitle Stream: -1
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - We're going to try to auto-select an audio stream for account 1.
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - Selecting best audio stream for part ID 22859 (autoselect: 1 language: en)
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - We're going to try to auto-select a subtitle.
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - Selected a foreign audio track: eng
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - Audio Stream: 91102, Subtitle Stream: -1
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - We're going to try to auto-select an audio stream for account 1.
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - Selecting best audio stream for part ID 22860 (autoselect: 1 language: en)
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - We're going to try to auto-select a subtitle.
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - Selected a foreign audio track: eng
May 31, 2019 01:12:46.497 [0x7f45d7fff700] DEBUG - Audio Stream: 91104, Subtitle Stream: -1
May 31, 2019 01:12:46.519 [0x7f460aedb700] DEBUG - Completed: [192.168.1.161:37837] 200 GET /library/metadata/11691?checkFiles=1&includeExternalMetadata=1&includeExtras=1&includeRelated=1&includeRelatedCount=0&includeReviews=1 (18 live) TLS GZIP 40ms 10289 bytes (pipelined: 15)
May 31, 2019 01:12:46.751 [0x7f460a6da700] DEBUG - Auth: authenticated user 1 as DeniCevap
May 31, 2019 01:12:46.752 [0x7f45ceffd700] DEBUG - Request: [192.168.1.161:37837 (Subnet)] GET /playQueues/1674?center=38044&includeChapters=1&repeat=0 (18 live) TLS GZIP Signed-in Token (DeniCevap)
May 31, 2019 01:12:46.752 [0x7f45ceffd700] DEBUG - PlayQueue: total generated: 1, before cursor: 1, after cursor: 0
May 31, 2019 01:12:46.753 [0x7f45ceffd700] DEBUG - PlayQueue: No need to refresh, active window is operational.
May 31, 2019 01:12:46.765 [0x7f45ceffd700] DEBUG - It took 0.000000 ms to retrieve 131 items.
May 31, 2019 01:12:46.766 [0x7f45ceffd700] DEBUG - We're going to try to auto-select an audio stream for account 1.
May 31, 2019 01:12:46.766 [0x7f45ceffd700] DEBUG - Selecting best audio stream for part ID 23604 (autoselect: 1 language: en)
May 31, 2019 01:12:46.766 [0x7f45ceffd700] DEBUG - We're going to try to auto-select a subtitle.
May 31, 2019 01:12:46.766 [0x7f45ceffd700] DEBUG - Selected a foreign audio track: eng
May 31, 2019 01:12:46.766 [0x7f45ceffd700] DEBUG - Audio Stream: 93748, Subtitle Stream: -1
May 31, 2019 01:12:46.767 [0x7f45ceffd700] DEBUG - We're going to try to auto-select an audio stream for account 1.
May 31, 2019 01:12:46.767 [0x7f45ceffd700] DEBUG - Selecting best audio stream for part ID 22854 (autoselect: 1 language: en)
May 31, 2019 01:12:46.767 [0x7f45ceffd700] DEBUG - Audio Stream: 91073, Subtitle Stream: 91105
May 31, 2019 01:12:46.768 [0x7f460a6da700] DEBUG - Completed: [192.168.1.161:37837] 200 GET /playQueues/1674?center=38044&includeChapters=1&repeat=0 (18 live) TLS GZIP 16ms 6435 bytes (pipelined: 16)
May 31, 2019 01:12:46.926 [0x7f45d6ffd700] DEBUG - HTTP 502 response from POST https://plaxt.astandke.com/api?id=376e6c068e412d0949d4aed246f2525b
May 31, 2019 01:12:46.927 [0x7f45d6ffd700] WARN - Webhook: Error delivering payload to https://plaxt.astandke.com/api?id=376e6c068e412d0949d4aed246f2525b: 502
May 31, 2019 01:12:47.132 [0x7f460aedb700] DEBUG - Auth: authenticated user 1 as DeniCevap
May 31, 2019 01:12:47.133 [0x7f459de87700] DEBUG - Request: [192.168.1.161:37852 (Subnet)] GET /library/sections/3/all?actor=1745&id!=11691 (18 live) TLS Page 0-9 GZIP Signed-in Token (DeniCevap)
May 31, 2019 01:12:47.134 [0x7f459de87700] DEBUG - Setting container serialization range to [0, 9] (total=-1)
May 31, 2019 01:12:47.145 [0x7f459de87700] DEBUG - Setting container serialization range to [0, 9] (total=7)
May 31, 2019 01:12:47.148 [0x7f460a6da700] DEBUG - Completed: [192.168.1.161:37852] 200 GET /library/sections/3/all?actor=1745&id!=11691 (19 live) TLS GZIP Page 0-9 15ms 3386 bytes (pipelined: 2)
May 31, 2019 01:12:47.148 [0x7f460aedb700] DEBUG - Auth: authenticated user 1 as DeniCevap
May 31, 2019 01:12:47.148 [0x7f4577fff700] DEBUG - Request: [192.168.1.161:37837 (Subnet)] GET /library/sections/3/all?actor=1801&id!=11691 (18 live) TLS Page 0-9 GZIP Signed-in Token (DeniCevap)
May 31, 2019 01:12:47.149 [0x7f4577fff700] DEBUG - Setting container serialization range to [0, 9] (total=-1)
May 31, 2019 01:12:47.158 [0x7f4577fff700] DEBUG - Setting container serialization range to [0, 9] (total=7)
May 31, 2019 01:12:47.161 [0x7f460a6da700] DEBUG - Completed: [192.168.1.161:37837] 200 GET /library/sections/3/all?actor=1801&id!=11691 (18 live) TLS GZIP Page 0-9 13ms 3386 bytes (pipelined: 17)
May 31, 2019 01:12:47.216 [0x7f460a6da700] DEBUG - Auth: authenticated user 1 as DeniCevap
May 31, 2019 01:12:47.216 [0x7f45f8ff9700] DEBUG - Request: [192.168.1.161:37859 (Subnet)] GET /library/sections/3/all?actor=1745&id!=11691 (17 live) TLS Page 0-9 GZIP Signed-in Token (DeniCevap)
May 31, 2019 01:12:47.218 [0x7f45f8ff9700] DEBUG - Setting container serialization range to [0, 9] (total=-1)
May 31, 2019 01:12:47.228 [0x7f45f8ff9700] DEBUG - Setting container serialization range to [0, 9] (total=7)
May 31, 2019 01:12:47.231 [0x7f460a6da700] DEBUG - Completed: [192.168.1.161:37859] 200 GET /library/sections/3/all?actor=1745&id!=11691 (17 live) TLS GZIP Page 0-9 14ms 3386 bytes (pipelined: 1)
May 31, 2019 01:12:47.343 [0x7f460aedb700] DEBUG - Auth: authenticated user 1 as DeniCevap
May 31, 2019 01:12:47.344 [0x7f45d7fff700] DEBUG - Request: [192.168.1.161:37837 (Subnet)] GET /library/sections/3/all?actor=1801&id!=11691 (17 live) TLS Page 0-9 GZIP Signed-in Token (DeniCevap)
May 31, 2019 01:12:47.345 [0x7f45d7fff700] DEBUG - Setting container serialization range to [0, 9] (total=-1)
May 31, 2019 01:12:47.356 [0x7f45d7fff700] DEBUG - Setting container serialization range to [0, 9] (total=7)
May 31, 2019 01:12:47.359 [0x7f460aedb700] DEBUG - Completed: [192.168.1.161:37837] 200 GET /library/sections/3/all?actor=1801&id!=11691 (17 live) TLS GZIP Page 0-9 14ms 3386 bytes (pipelined: 18)
May 31, 2019 01:13:

That is really weird. The TV can handle MKV native, as well as the HEVC/265 codec and DTS audio. I confirmed this by looking at the specs and also playing a sample file via USB.
If I look in both the Plex Dashboard and Tautulli, there is no transcoding happening, and the TV is direct playing everything.

I have not forced any kind of transcoding, as far as I know the transcode option was removed from the Android TV app.
The PGS subtitles are not being used either, only the .srt files.

EDIT: Playing 4K content with MX Player works perfectly fine! No weird frame skip in the beginning at all! So there is definitely something wrong with the Plex Android TV app, or the Plex Player!

Thanks for taking the extra step to confirm this isn’t a server problem.
Android, as I have seen, is a problematic platform. It either works perfectly or is fraught with problems.

I am not a player guy so unfortunately can’t advise / help you further.
I will remove the server tag from this thread.

Is there nobody who has an idea of what is happening with the Plex Player? Why is this issue occuring?

This is awful that I paid for a Plex Pass but can’t even watch 4K without the player messing it up!

EDIT: Playing 4K content through my desktop using the Plex Media Player works fine. There is something wrong with the Android app.

bumping this thread. The issue still has not been resolved!
Using an external player through Serenity for Android, or playing 4k content directly in VLC works PERFECTLY!

Bump again…

Do you have passthrough or refresh rate switching enabled? If so, does the problem occur if you disable either of them?

I tried with all the possible passthrough options. Still nothing.
This TV does not have refresh rate switching.

Could it be due to HDR? I do not have any non-HDR 4k videos atm, so I can not test this.

I had exactly the same problem with ALL videos (image hiccup ~10s after playing/unpausing/skipping and audio desync after that), no matter if subtitles were on or off, with or without transcoding, and this seems to help fix my issue.

I had to enable Optical passthrough (I left both AC3 and DTS ticked on), doesn’t matter if refresh rate switching is on or off.

My TV is Philips 873 with no external audio system.
Thank you so much! I hope this helps someone else as well.

Edit: okay, I noticed that after fixing it, sometimes after playing/unpausing/skipping I immediately got audio desync, which is fixed after ~10s. So the problem seems to be reversed now, which is fine by me, just curious.

After enabling Optical passthrough (even though I have no external audio devices) it works fine! But two new issues occur…
The first issue is that the DTS tracks are not decoded natively anymore (I guess because it is trying to do it by optical, which it can’t).
Because of the first issue, the 4K movies (HDR) have to be transcoded which messes up the quality of course (HDR transcoding…) and has a visible big line of white noise at the bottom of the picture.

So while it is a solution, it is not THE solution.

Would you be able to grab the logs after replicating the issue? Information about fetching the logs is available here; https://support.plex.tv/articles/201573117-android-android-tv-fire-tv-logs/

Exact same use here but with almost all files, not just 4K. Audio gets constantly out of sync. Latest Plex Android TV version app and server. No receiver, no HDMI, just cabled network. My pus7303 Philips can perfectly decode ac3,dts etc., almost everything I throw at it with Kodi,mxplayer,vlc, native media player,every other Android media player except Plex. The audio lags horribly, particularly in DTS and 7.1 audio streams. The same file is played perfectly by all other media players through network, sound lags or skips or out of sync in Plex.
Almost all files are direct played by the app, I can see that through the app’s info (video-audio direct), so no transcoding involved. Of course I don’t want anything transcoded,so please don’t tell me to choose ‘convert to’ anything,since I know that the tv fully supports the files I’m trying to play.
Enabled-disabled passthrough/frame rate change, all other options Plex provides, even disabled completely subs, which Plex so much hates.
Nothing works and it’s definitely a Plex (Android TV) app problem. The app and the infamous exoplayer ver.2 are just broken.
The Plex custom-made app I had in a semi smart TV of 2015 worked way better.
My gut feeling says that there is a problem with the downmixing of the multichannel streams to the 2 channels available by the TV, but of course I can’t be sure.

Played around a little with setting passthrough to optical (which of course is not a proper fix and does not correlate with my setup-I don’t have a receiver hooked up). Seems to fix the problem a little bit for DTS 5.1 and ac3. It has the same behaviour as noted in a previous post: The reverse thing happens now, after a pause, a small hiccup after 10 seconds and sound plays relatively fine-lip sync is still not 100% perfect.
7.1,dts-hd,Dolby-true etc still nothing, it cannot downmix properly to 5.1 and the supported cores, it says direct play tried but sound not supported etc. and reverts to transcoding the video (why?) and direct streaming the audio. Of course the audio then gets completely out of sync.
It even reported e-ac3 as an unsupported format. With HDR+aac/DTS 7.1 the same.
The same files are played just fine in the TV’s native app, so all these formats are either directly supported or properly downmixed to their cores/available channels and played back perfectly by the TV.
When passthrough is disabled everything goes bananas again. The funny thing is that in most threads similar to this,the suggested solution is to DISABLE passthrough…
I still think that a proper downmixing is to fault or/and the supported formats of the TV are not properly picked up by Plex.

Same problem here.
I have a Philips PUS8303 and every x265 Media-File with DTS audio has these hiccups after ~10s of (direct-play) playing und audio desync afterwards.
x264 Media and AC3/EAC3 is working fine. Only x265 AND DTS is causing problems.

I hope this will be fixed in future updates

I don’t think that someone from Plex is even reading this thread. Look how old it is and noone seems to be interested. Don’t hold your breath on an update, especially concerning Philips TVs and Android… I’ve already switched to Kodi.

They do read, but they are waiting for the logs still. I have not had time at all to provide them with the logs. I do not watch 4K media that much on Plex to be honest, so I have had 0 interest so far to follow this up.

But yes, it is a pain.

OK, here are the logs. I paused the player 3-4 times to reproduce the event. After ~10sec of resuming the video jumps half a second forward and the audio is out of sync.
This happens with every media with HEVC Video and DTS Audio.
Media:

    Dauer 1:42:15
    Bitrate 6700 kbps
    Width 1920
    Height 1040
    Aspect Ratio 1.85
    Video Resolution 1080p
    Container MKV
    Video Frame Rate 24p
    Audio Profile dts
    Video Profile main
    Size 4.79 GB
    Audio Profile dts
    Container MKV
    Video Profile main

Video:

    Codec HEVC
    Bitrate 3672 kbps
    Bit Depth 8
    Chroma Subsampling 4:2:0
    Color Range tv
    Frame Rate 23.976 fps
    Height 1040
    Level 4.0
    Profile main
    Ref Frames 1
    Width 1920
    Display Title 1080p (HEVC Main)

Audio:

    Codec DCA
    Kanäle 6
    Bitrate 1509 kbps
    Sprache English
    Audio Channel Layout 5.1(side)
    Bit Depth 24
    Profile dts
    Sampling Rate 48000 Hz
    Display Title English (DTS 5.1)

audio_sync_log.txt (53.3 KB)

thank you for the help.