Server Version#: 1.16.5.1488
Player Version#: 6.3.13.5830
Edit (12-26-2020): This is still a problem, and was never resolved by Roku. However, I now have a workaround. If you disable Direct Play in the Plex Roku Client, but allow Direct Stream, the Plex Media Server will remux the streams before sending it to the Roku. The remux resolves this problem.
Setup: Roku -> HDMI -> TV -> HDMI -> Receiver (via ARC) (I have plugged the Roku directly into the receiver and have seen the same problem, though, so ARC should not be the issue)
This is a pretty weird one. When I play certain ripped videos on the Roku, Plex stops playing the file within a few minutes. Any one video stops at the exact same timestamp on repeated attempts, though another video may stop at a different timestamp consistently. They always have this in common:
- Original rip from Blu-Ray
- MKV format
- H264
- DTS 5.1 (Just DTS. If a file has DTS-HD MA, Plex transcodes for compatibility)
Here is the message in the Plex logs:
Jul 22, 2019 18:58:00.504 [0x7eff9dffb700] DEBUG - [Now] User is Cafe Diem (ID: 1)
Jul 22, 2019 18:58:00.504 [0x7eff9dffb700] DEBUG - [Now] Device is Roku (Roku Ultra).
Jul 22, 2019 18:58:00.505 [0x7eff9dffb700] DEBUG - [Now] Profile is Roku-7.x
Jul 22, 2019 18:58:00.505 [0x7eff9dffb700] DEBUG - [Now] Updated play state for /library/metadata/390.
Jul 22, 2019 18:58:00.505 [0x7eff9dffb700] DEBUG - Statistics: (228e985eaac38c833480b041bc984d11) Reporting active playback in state 3 of type 1 (scrobble: 0) for account 1
Jul 22, 2019 18:58:00.508 [0x7eff9dffb700] DEBUG - Streaming Resource: Terminated session 0x7efff451d330:228e985eaac38c833480b041bc984d11 with reason Client stopped playback.
Jul 22, 2019 18:58:00.508 [0x7eff9dffb700] DEBUG - Streaming Resource: Removing session 0x7efff451d330:228e985eaac38c833480b041bc984d11
Jul 22, 2019 18:58:00.508 [0x7f000effd700] DEBUG - Completed: [::ffff:[IP Address]:36777] 200 GET /:/timeline?playbackTime=137000&time=141000&duration=6035326&state=stopped&ratingKey=390&key=%2Flibrary%2Fmetadata%2F390&continuing=0&playQueueItemID=38166 (11 live) TLS GZIP 84ms 495 bytes (pipelined: 22)
So the reason given is that the client stopped playback. I put the Roku into debug mode and also grabbed those logs.
playerState: playing
7/22/2019 18:57:58.828 [Cafe Diem:5b74d542-2cd7-5aad-b568-8462e06ed771] INFO (PlaybackMgr) Player state changed to finished (hasAd=false)
7/22/2019 18:57:58.836 [Cafe Diem:5b74d542-2cd7-5aad-b568-8462e06ed771] INFO (PlaybackMgr) Stop requested with reason:
7/22/2019 18:57:58.837 [Cafe Diem:5b74d542-2cd7-5aad-b568-8462e06ed771] INFO (PlaybackMgr) VideoPlaybackController::OnPlaybackFinished: Handling finished playback event. forceClose=false, userClose=false, isPlayed=true:0.0233637, playbackError=false
7/22/2019 18:57:58.837 [Cafe Diem:5b74d542-2cd7-5aad-b568-8462e06ed771] INFO (PlaybackMgr) VideoPlaybackController::OnPlaybackFinished: nextType=postPlay
7/22/2019 18:57:58.838 [Cafe Diem:5b74d542-2cd7-5aad-b568-8462e06ed771] INFO (PlaybackMgr) Stop requested with reason:
7/22/2019 18:57:58.839 [Cafe Diem:5b74d542-2cd7-5aad-b568-8462e06ed771] INFO (PlaybackMgr) VideoPlaybackController::OnPlaybackFinished: Going to show post play.
7/22/2019 18:57:58.840 [Cafe Diem:5b74d542-2cd7-5aad-b568-8462e06ed771] INFO (VideoPlaybackScreen) Navigating to screen PostPlayScreen, options: {roAssociativeArray}
The Roku doesn’t really say much of anything it seems.
(I have full logs if a dev is interested)
I can reproduce this on multiple files of a full TV series with the same codecs as above (Blu-Ray rip, H264, DTS, MKV).
For the moment, I currently use two methods to mitigate this:
- Convert the 5.1 to FLAC, then it works fine.
- Set the Roku HDMI to only output Dolby Digital Plus, which forces a transcode on all DTS. Then it works fine.
Has anyone else run into this problem?