Can't stream HEVC files since updating the server!

Hi guys,

A few days ago, everything was fine and “fantastic Beasts and Where To Find Them” 2160 HDR Lossless MKV played flawlessly. However, since the updating Plex for Synology server to 1.21.2.3943-a91458577, I can’t stream HEVC files anymore.

Please fix this.

I have heard that downgrading may fix the issue but where can I find the previous vers. install file for Synology Server 64 bit?

Server Version#: 1.21.2.3943-a91458577
Player Version#: 8.11.0.22186

No dice resetting. Started up once but stalled /buffered and wouldn’t start up again since.

Plex Media Server Logs_2021-01-31_13-00-07.zip (795.2 KB)
xml Fantastic Beasts stalling after new update.txt (82.7 KB)

I had a similar issue two days ago and weirdly it was fixed by turning off HDR tone mapping in the transcode settings, restarting the server and then turning tone mapping back on. Might be worth a try.

Edit: I just checked and I had the issue again. Turning off tone mapping, starting to play a HEVC file and turning tone mapping back on fixed it. No need to restart the server. I’m running the linuxserver docker image on CentOS 7 PMS version 1.21.2.3943. Seems like a more general issue that is worth investigating.

What I noticed in the PMS log when the issue happened but not after the “fix”:

[Transcode] [FFMPEG] - No quality level set; using default (20).

I may experience an unrelated issue, then. I’m not on Synology but on a dedicated server with an i7-8700 using intel quicksync. Should I open a new thread in the proper section?

I know very well it is not. I didn’t ask fore it to transcode. Since the last server update it just does so automatically. Although it is not needed. Before the last update, everything “Direct Played” perfectly with no issues at all…

@nicolaidenmark

While you have DEBUG logging enabled, would you please do me a favor?

  1. Restart Plex
  2. Let it sit completely idle for 3 minutes
  3. Now start playback of one file which reproduces your issue.
  4. Stop playback after 20 seconds
  5. Let sit idle for 30 seconds (logs can flush to disk)
  6. Download the Logs ZIP file
  7. Attach them.

Plex Media Server Logs_2021-01-31_22-42-47.zip (1.1 MB)

I should note that playing the file from my phone Android Plex app, as I recall, doesn’t cause issues.

I think the Plex Android TV APP has been updated recently. Perhaps this is the problem?

@nicolaidenmark

You’re burning in the subtitles

Jan 31, 2021 22:40:28.596 [0x7fc04b51d700] DEBUG - [Transcode] Fantastic Beasts and Where To Find Them - audio.channels limitation applies: 6 > 2
Jan 31, 2021 22:40:28.596 [0x7fc04b51d700] DEBUG - [Transcode] MDE: Cannot direct stream audio stream due to profile or setting limitations
Jan 31, 2021 22:40:28.596 [0x7fc04b51d700] DEBUG - [Transcode] MDE: Fantastic Beasts and Where To Find Them (2016): selected media 0 / 14806
Jan 31, 2021 22:40:28.596 [0x7fc04b51d700] DEBUG - [Transcode] Streaming Resource: Adding session 0x7fc03c013cc0:5kvbeye7zgdyefnsdmy36s1k which is using transcoder slot.  Used slots is now 1
Jan 31, 2021 22:40:28.596 [0x7fc04b51d700] DEBUG - [Transcode] Streaming Resource: Added session 0x7fc03c013cc0:5kvbeye7zgdyefnsdmy36s1k
Jan 31, 2021 22:40:28.596 [0x7fc04b51d700] DEBUG - [Transcode] Streaming Resource: Reached Decision id=13526 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. Direct play is disabled. Transcode=1001,Direct play not available; Conversion OK.) media=(id=14806 part=(id=15925 decision=transcode container=mp4 protocol=dash streams=(Video=(id=36560 decision=transcode bitrate=78841 encoder=h264_vaapi width=2276 height=1280) Audio=(id=36563 decision=transcode bitrate=256 encoder=aac channels=2 rate=48000) Subtitle=(id=36566 decision=burn languageCode=dan location=embedded))))
Jan 31, 2021 22:40:28.599 [0x7fc061749700] DEBUG - Completed: [192.168.0.249:57455] 200 GET /video/:/transcode/universal/decision?hasMDE=1&path=%2Flibrary%2Fmetadata%2F13526&mediaIndex=0&partIndex=0&protocol=dash&fastSeek=1&directPlay=0&directStream=1&subtitleSize=100&audioBoost=100&location=lan&addDebugOverlay=0&autoAdjustQuality=0&directStreamAudio=1&mediaBufferSize=102400&session=9romuqs3t099039um9p7jp1h&subtitles=burn&Accept-Language=en (6 live) GZIP 113ms 8227 bytes (pipelined: 3)

Subtitle=(id=36566 decision=burn languageCode=dan location=embedded)

Synology J-series CPUs struggle with that – most fail.

Jan 31, 2021 22:37:21.175 [0x7fc069713700] INFO - Plex Media Server v1.21.2.3943-a91458577 - Synology DS918+ x86_64 - build: linux-x86_64 synology - GMT 01:00
Jan 31, 2021 22:37:21.175 [0x7fc069713700] INFO - Linux version: DSM 6.2.3.25426-3, language: en-US
Jan 31, 2021 22:37:21.175 [0x7fc069713700] INFO - Processor Intel(R) Celeron(R) CPU J3455 @ 1.50GHz

Mine is a DS918+ series. Not J.

I think I have worked out that the problem may be that my TV has difficulties handling DTS-HD MA.

It’s weird though because A few days ago (prior to server updates and possibly also Plex Android TV Update, I had no problems streaming lossless MKV DTS HD 7.1 files of Harry Potter. Could it be an "Audio Passthrough setting in Plex Android TV that needs to be changed?

Plex for Android TV was last updated on Janurary 29. I wonder if there is a way to revert back to the previus vers?

TV logs.txt (1.0 MB)

@nicolaidenmark

  1. Please read the log file segment I quoted: DS918+ (I did not say “J”)
  2. The only potential server problem problem I see here is the decision to burn subtitles

Now, reviewing the app log which you’ve provided - (I hope this matches the original movie)

the log file also shows the burn decision

02-01 08:45:41.046  i: Fetching [method:GET] https://192.168.0.16:32400/video/:/transcode/universal/decision?advancedSubtitles=text&audioBoost=100&autoAdjustQuality=0&directPlay=0&directStream=1&directStreamAudio=1&fastSeek=1&hasMDE=1&location=lan&maxVideoBitrate=200000&mediaBufferSize=209664&mediaIndex=0&partIndex=0&path=%2Flibrary%2Fmetadata%2F13526&protocol=*&session=cd9a9c334a37eb8f-com-plexapp-android&subtitles=burn&subtitleSize=100&videoBitrate=200000&videoQuality=100&videoResolution=3840x2160&X-Plex-Client-Identifier=cd9a9c334a37eb8f-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Client-Profile-Extra=add-limitation(scope%3DvideoCodec%26scopeName%3Dh264%26type%3DupperBound%26name%3Dvideo.level%26value%3D52)%2Badd-limitation(scope%3DvideoCodec%26scopeName%3D*%26type%3DupperBound%26name%3Dvideo.width%26value%3D3840%26replace%3Dtrue)%2Badd-limitation(scope%3DvideoCodec%26scopeName%3D*%26type%3DupperBound%26name%3Dvideo.height%26value%3D2160%26replace%3Dtrue)%2Badd-transcode-target(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26container%3Dmkv%26videoCodec%3Dh264%2Chevc%2Cmpeg2video%26audioCodec%3Daac%2Cac3%2Cdca%2Ceac3%2Cmp3%26subtitleCodec%3Dpgs%26replace%3Dtrue)%2Badd-transcode-target-settings(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26CopyMatroskaAttachments%3Dtrue)%2Badd-transcode-target-audio-codec(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26audioCodec%3Dmp3)%2Badd-transcode-target-audio-codec(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26audioCodec%3Dac3)%2Badd-transcode-target-audio-codec(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26audioCodec%3Deac3)%2Badd-transcode-target-audio-codec(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26audioCodec%3Ddca)%2Badd-limitation(scope%3DvideoCodec%26scopeName%3D*%26type%3DNotMatch%26name%3Dvideo.anamorphic%26value%3D999%26replace%3Dtrue)%2Badd-transcode-target(type%3DsubtitleProfile%26context%3Dstreaming%26protocol%3Dhttp%26container%3Dmkv%26subtitleCodec%3Dsrt)%2Bappend-transcode-target-codec(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26videoCodec%3Dmpeg2video)%2Bappend-transcode-target-codec(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26videoCodec%3Dhevc)%2Badd-limitation(scope%3DvideoCodec%26scopeName%3Dhevc%26type%3DMatch%26name%3Dvideo.profile%26list%3Dmain%7Cmain%2010)%2Badd-limitation(scope%3DvideoTranscodeTarget%26scopeName%3Dhevc%26scopeType%3DvideoCodec%26context%3Dstreaming%26protocol%3Dhls%26type%3Dmatch%26name%3Dvideo.colorTrc%26list%3Dsmpte2084%7Cbt709%7Cbt470m%7Csmpte240m%7Csmpte170m%7Cbt470bg%7Cbt2020-10%26isRequired%3Dfalse)&X-Plex-Device=BRAVIA%204K%20GB&X-Plex-Platform=Android&X-Plex-Platform-Version=8.0.0&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Version=8.12.2.22756&X-Plex-Token=...6Yzt
02-01 08:45:41.142  i: [MediaDecisionEngine] Server was happy with client's original decision

Play the video without subtitles. see if it plays normally.

It can burn (some) subtitles for low-bitrate videos or it can handle more complex audio. That’s the limitation of the J3455

I can see that my TV app want to transcode both audio and video when DTS-HD MA is now selected.

If I select EAC 5.1 sound, the video (with PGS ssubs plays just fine…

Playing with PGS subtitles has always direct played (also on DTS-HD and 4K HEVC files before the last update.

As for subs, I have the option: always or just image formats under subtitle burn in the TV Plex app?

What is the player? Not just the app but the actual player?

PGS subtitles are IMAGEs . they must be burned. Period.

The EXO player (Embedded within Plex) as always. No issues before.

Which device ? Shield Pro?

No, just Sony Android TV KD 9005 XE (usually labeled 900XE in the States, I believe…

There are no televisions which provide subtitle burning.
The Nvidia Shield Pro is the one Android set top box which can do it.

From the logfile you just gave me:

With the PGS subtitles:

02-01 08:47:56.952 i: Fetching [method:GET] https://192.168.0.16:32400/video/:/transcode/universal/decision?advancedSubtitles=text&audioBoost=100&autoAdjustQuality=0&directPlay=0&directStream=1&directStreamAudio=1&fastSeek=1&hasMDE=1&location=lan&maxVideoBitrate=200000&mediaBufferSize=209664&mediaIndex=0&partIndex=0&path=%2Flibrary%2Fmetadata%2F13526&protocol=*&session=cd9a9c334a37eb8f-com-plexapp-android&subtitles=burn&subtitleSize=100&videoBitrate=200000

Maybe something is different with the Android app-- I don’t know.

Everything I see here…

  1. The Android TV app reports that it cannot burn the subtitles (Image formats)
  2. PMS responds to that info from the player and decides to burn the PGS subtitles.
  3. Your DS918+ does not have enough CPU power to burn them AND handle the audio transcoding in real time for a smooth playback.

Try playing something with SRT subtitles - observe the difference.

I’m glad you are helping, however, just a few days ago everything worked flawlessly. Must be an Android TV bug…

If you are using subs and it is burning them in that will of course cause you a problem!

But, yes there does seem to be a massive problem playing DTS-HD on at least Sony Android TV’s

There have been many recent posts about issues with 8.12, including mine.

I have spent most of the weekend fiddling around try to get mine working.

In the end the only reliable thing was to sideload v8.11 of the android app.

Just how does one “sideload v. 8.11”?