Why is 1080p h264 transcoding to 1080p?

Synology DS1520. plex server: Version 1.32.1.6999. Using Roku Ultra

Capture
Why is the video of 1080p h264 transcoding to 1080p ? and loading very slow.
Logs included…
Plex Media Server Logs_2023-05-16_12-08-55.zip (4.6 MB)

UPDATE:
i noticed that direct stream was UNCHECKED…hmmmm and DIRECT PLAY is auto…
Capture2
…but still loading very slow

From your logs:

May 16, 2023 12:04:51.708 [139859440401208] DEBUG - [Req#322653/Transcode] MDE: Selected protocol hls; container: mpegts
May 16, 2023 12:04:51.708 [139859440401208] DEBUG - [Req#322653/Transcode] MDE: analyzing media item 154472
May 16, 2023 12:04:51.708 [139859440401208] DEBUG - [Req#322653/Transcode] MDE: The Super Mario Bros. Movie (2023): Direct Play is disabled
May 16, 2023 12:04:51.708 [139859440401208] DEBUG - [Req#322653/Transcode] MDE: The Super Mario Bros. Movie (2023): media must be transcoded in order to use the hls protocol
May 16, 2023 12:04:51.708 [139859440401208] DEBUG - [Req#322653/Transcode] The Super Mario Bros. Movie - audio.channels limitation applies: 6 > 2
May 16, 2023 12:04:51.708 [139859440401208] DEBUG - [Req#322653/Transcode] MDE: The Super Mario Bros. Movie (2023): Direct Streaming is disabled, so video stream will be transcoded
May 16, 2023 12:04:51.708 [139859440401208] DEBUG - [Req#322653/Transcode] MDE: The Super Mario Bros. Movie (2023): no remuxable profile found, so video stream will be transcoded
May 16, 2023 12:04:51.708 [139859440401208] DEBUG - [Req#322653/Transcode] MDE: Cannot direct stream video stream due to profile or setting limitations

Plex decided that the audio has to be transcoded because 5.1 isn’t supported (“audio.channels limitation applies: 6 > 2”), and since you had direct streaming disabled, Plex couldn’t just repackage the original video together with the transcoded audio, so transcoded the video as well.

Can’t speak to why things are still slow with direct stream though, since that NAS shouldn’t have any problems transcoding a single AAC track.

OK… thank you.
Here are new logs… Any idea why its takes up to 30seconds to load? and why it the video won’t be DIRECT PLAY ?
Plex Media Server Logs_2023-05-16_12-31-26.zip (4.7 MB)

UPDATE:
i played the same video on Vizo TV…WTF…direct play everything…
Capture3
so then i am assuming that this is a Roku Ultra issue.

I can’t speak to why it’s taking so long to load, but it can’t be direct played because the audio is transcoding. Direct play is only possible if everything (container/video/audio/subtitles) can be played directly. Direct stream happens when at least one thing can’t be played directly, but others can. In your case, the audio can’t play directly, but the video can, so Plex copies the video stream as-is (i.e. no quality loss) into a new container, which is then sent to the client.

There’s more information in this support article: Streaming Media: Direct Play and Direct Stream | Plex Support

It’s reporting DirectPlay (if you take the screenshot too quickly)
but is really settling to be Transcode

protocol=hls&mediaIndex=0&waitForSegments=1&videoQuality=100&session=4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390&mediaBufferSize=50000&location=lan&directPlay=0&subtitleSize=135&offset=1381&partIndex=0&videoResolution=3840x2160&path=%2Flibrary%2Fmetadata%2F121494&directStream=1&skipSubtitles=1 (12 live) #324c10 TLS 22ms 525272 bytes (pipelined: 15)
May 16, 2023 12:31:16.165 [139859846781752] DEBUG - Removed transcode data consumer, active count 1 => 0
May 16, 2023 12:31:16.182 [139859426868024] DEBUG - [Req#324c09/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1703 (1703)
May 16, 2023 12:31:16.182 [139859371887416] DEBUG - [Req#324c17/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1704 (1703)
May 16, 2023 12:31:16.215 [139859376106296] DEBUG - [Req#324c18/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1704 (1704)
May 16, 2023 12:31:16.216 [139859376106296] DEBUG - [Req#324c1b/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1705 (1704)
May 16, 2023 12:31:16.250 [139859442772792] DEBUG - [Req#324c1c/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1705 (1705)
May 16, 2023 12:31:16.250 [139859373996856] DEBUG - [Req#324c1f/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1706 (1705)
May 16, 2023 12:31:16.290 [139859457899320] DEBUG - [Req#324c20/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1706 (1706)
May 16, 2023 12:31:16.290 [139859426868024] DEBUG - [Req#324c23/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1707 (1706)
May 16, 2023 12:31:16.334 [139859371887416] DEBUG - [Req#324c24/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1707 (1707)
May 16, 2023 12:31:16.335 [139859376106296] DEBUG - [Req#324c27/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1708 (1707)
May 16, 2023 12:31:16.370 [139859440401208] DEBUG - [Req#324c28/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1708 (1708)
May 16, 2023 12:31:16.371 [139859373996856] DEBUG - [Req#324c2b/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1709 (1708)
May 16, 2023 12:31:16.406 [139859442772792] DEBUG - [Req#324c2c/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1709 (1709)
May 16, 2023 12:31:16.406 [139859442772792] DEBUG - [Req#324c2f/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1710 (1709)
May 16, 2023 12:31:16.438 [139859426868024] DEBUG - [Req#324c30/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1710 (1710)
May 16, 2023 12:31:16.438 [139859371887416] DEBUG - [Req#324c33/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1711 (1710)
May 16, 2023 12:31:16.471 [139859376106296] DEBUG - [Req#324c34/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1711 (1711)
May 16, 2023 12:31:16.471 [139859440401208] DEBUG - [Req#324c37/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1712 (1711)
May 16, 2023 12:31:16.506 [139859373996856] DEBUG - [Req#324c38/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1712 (1712)
May 16, 2023 12:31:16.506 [139859457899320] DEBUG - [Req#324c3b/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1713 (1712)
May 16, 2023 12:31:16.542 [139859442772792] DEBUG - [Req#324c3c/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1713 (1713)
May 16, 2023 12:31:16.542 [139859426868024] DEBUG - [Req#324c3f/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1714 (1713)
May 16, 2023 12:31:16.557 [139859371887416] DEBUG - [Req#324c15/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Session 4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390 (3) is throttling
May 16, 2023 12:31:16.557 [139859376106296] DEBUG - [Req#324c43/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Throttle - Going into sloth mode.
May 16, 2023 12:31:19.518 [139859844672312] DEBUG - Auth: authenticated user 118650374 as BlackBeard1970
May 16, 2023 12:31:19.518 [139859426868024] DEBUG - Request: [192.168.0.196:33183 (Subnet)] GET /video/:/transcode/universal/session/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/base/01644.ts?protocol=hls&mediaIndex=0&waitForSegments=1&videoQuality=100&session=4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390&mediaBufferSize=50000&location=lan&directPlay=0&subtitleSize=135&offset=1381&partIndex=0&videoResolution=3840x2160&path=%2Flibrary%2Fmetadata%2F121494&directStream=1&skipSubtitles=1 (12 live) #324c16 TLS Signed-in Token (BlackBeard1970)
May 16, 2023 12:31:19.519 [139859426868024] DEBUG - [Req#324c16/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390] Asked for segment 1644 from session.
May 16, 2023 12:31:19.519 [139859426868024] DEBUG - [Req#324c16/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390] Returning segment 1644 from session
May 16, 2023 12:31:19.519 [139859426868024] DEBUG - Content-Length of /var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390-bacfe744-d51f-40d6-8e0a-3108d3a4b778/media-01644.ts is 511736 (of total: 511736).
May 16, 2023 12:31:19.540 [139859844672312] DEBUG - Completed: [192.168.0.196:33183] 200 GET /video/:/transcode/universal/session/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/base/01644.ts?protocol=hls&mediaIndex=0&waitForSegments=1&videoQuality=100&session=4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390&mediaBufferSize=50000&location=lan&directPlay=0&subtitleSize=135&offset=1381&partIndex=0&videoResolution=3840x2160&path=%2Flibrary%2Fmetadata%2F121494&directStream=1&skipSubtitles=1 (12 live) #324c16 TLS 21ms 511736 bytes (pipelined: 16)
May 16, 2023 12:31:19.540 [139859844672312] DEBUG - Removed transcode data consumer, active count 1 => 0
May 16, 2023 12:31:20.705 [139859426868024] DEBUG - [Req#324c40/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1714 (1714)
May 16, 2023 12:31:20.705 [139859442772792] DEBUG - [Req#324c4d/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/bacfe744-d51f-40d6-8e0a-3108d3a4b778] Transcoder segment range: 1381 - 1715 (1714)
May 16, 2023 12:31:22.185 [139859846781752] DEBUG - Auth: authenticated user 118650374 as BlackBeard1970
May 16, 2023 12:31:22.186 [139859440401208] DEBUG - Request: [192.168.0.196:33183 (Subnet)] GET /video/:/transcode/universal/session/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/base/01645.ts?protocol=hls&mediaIndex=0&waitForSegments=1&videoQuality=100&session=4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390&mediaBufferSize=50000&location=lan&directPlay=0&subtitleSize=135&offset=1381&partIndex=0&videoResolution=3840x2160&path=%2Flibrary%2Fmetadata%2F121494&directStream=1&skipSubtitles=1 (11 live) #324c4a TLS Signed-in Token (BlackBeard1970)
May 16, 2023 12:31:22.186 [139859440401208] DEBUG - [Req#324c4a/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390] Asked for segment 1645 from session.
May 16, 2023 12:31:22.186 [139859440401208] DEBUG - [Req#324c4a/Transcode/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390] Returning segment 1645 from session
May 16, 2023 12:31:22.186 [139859440401208] DEBUG - Content-Length of /var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390-bacfe744-d51f-40d6-8e0a-3108d3a4b778/media-01645.ts is 376376 (of total: 376376).
May 16, 2023 12:31:22.196 [139859844672312] DEBUG - Completed: [192.168.0.196:33183] 200 GET /video/:/transcode/universal/session/4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390/base/01645.ts?protocol=hls&mediaIndex=0&waitForSegments=1&videoQuality=100&session=4e6f47d9-464a-45e7-96a2-cb9ebd80d5f9-1390&mediaBufferSize=50000&location=lan&directPlay=0&subtitleSize=135&offset=1381&partIndex=0&videoResolution=3840x2160&path=%2Flibrary%2Fmetadata%2F121494&directStream=1&skipSubtitles=1 (11 live) #324c4a TLS 10ms 376376 bytes (pipelined: 17)
May 16, 2023 12:31:22.197 [139859844672312] DEBUG - Removed transcode data consumer, active count 1 => 0
May 16, 2023 12:31:23.813 [139859846781752] DEBUG - Auth: authenticated user 118650374 as BlackBeard1970
May 16, 2023 12:31:23.815 [139859457899320] DEBUG - Request: [192.168.0.196:33156 (Subnet)] GET /:/timeline?playbackTime=72256&time=1453000&state=playing&ratingKey=121494&key=%2Flibrary%2Fmetadata%2F121494&col=0&row=0&context=home%3Ahub.continueWatching&duration=5545921&playQueueItemID=27782 (10 live) #324c06 TLS GZIP Signed-in Token (BlackBeard1970)
May 16, 2023 12:31:23.815 [139859457899320] DEBUG - [Req#324c06] Client [a4bbd7dc24a4edad45d1337b181fedc8] reporting timeline state playing, progress of 1453000/5545921ms for guid=, playbackTime=72256ms ratingKey=121494 url=, key=/library/metadata/121494, containerKey=, metadataId=121494, source=
May 16, 2023 12:31:23.817 [139859457899320] DEBUG - [Req#324c06] Play progress on 121494 'The Super Mario Bros. Movie' - got played 1453000 ms by account 118650374!
May 16, 2023 12:31:23.818 [139859457899320] DEBUG - [Req#324c06] [Now] User is BlackBeard1970 (ID: 118650374)
May 16, 2023 12:31:23.818 [139859457899320] DEBUG - [Req#324c06] [Now] Device is Roku (COMPUTER ROOM).

The activity will always initially report as DirectPlay.
It tries that first unless it’s an absolute MUST TRANSCODE.

As soon as the video starts, you’ll see reality in the status.

1 Like

re-downloaded video in the 265 format 1080p (HEVC Main10).
Capture

WOW… loaded with a few seconds…I understand about the Direct Play vs Direct Stream… thank you
Here are new logs…
Plex Media Server Logs_2023-05-16_14-28-42.zip (4.5 MB)

Had issues with 1080p (HEVC Main10) in the past. Taking FOREVER to load so I stayed away from them, but this loaded quickly compared to the h264 1080p

Contents of the file is key.

  1. A lot of people who rip will also include the PGS subtitles from the bluray
  • These will KILL a Syno. (insufficient CPU)
  • SRT (text subtitles) work the best.
  1. People who get ‘compression happy’ sickness (quality over quality) will generate the worst files ever. Tiny as heck but not anything you’d want to watch on a bigscreen and definitely not reduced using any sense of standards.

I don’t know if your Roku is the same as mine but I had to change a few things to get rid of the “Direct Stream” and audio transcoding. I believe this was an audio sync problem with mkv files. I don’t think that issue exists anymore but this setting is still checked by default

In the settings I unchecked the box that says AAC stutter workaround here

I also changed direct play to force instead of auto. I don’t really have any media that needs transcoding on that TV so that may not be the best setting for everybody

Everything I’ve tried since then, from h.264 SD to h.265 Main 10 direct plays now

I have long since retired the Roku-3.
I’m running the 4800X which will take just about everything (into the AVR → LG)

hmmm…i have the roku ultra 4670x… might be time to upgrade

UPDATE:
well bought a new Roku Ultra 4802RW.
Still not loading any faster; still around 30 seconds and the audio now transcodes to AC3 instead of AAC, but i guess thats is because of the new device.
Capture

Does the device playing the audio support aac 5.1. if not, changing the roku won’t change anything. It is transcoding because the audio is not supported.

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