Issue has been occurring for a while, but never dug in to it.
Streaming with a Roku ultra.
Currently PMS 1.8.4.4249
Movie in h264 mkv. Direct Stream and Direct Play enabled.
Randomly, movie will buffer.
Digging in to it finally… begin movie, check stream info.
Playback Direct Play
Format mkv
Just after buffer
Playback Transcode
Format HLS
Video copy (h.264)
Audio convert (AC3 5.1)
The issue seems to occur at around the same time mark of said media. This case, about 6:45 in.
So for over 6 minutes it’s direct play.
Out of the blue it has to start transcoding.
This started shortly after an update in the last couple/few months. Possibly with 1.7.5.4035 that was installed on Aug 5?
The same time this issue started occurring, I also started having issues with PlexScriptHost processes hanging on to the media I previously watched. I was unable to delete them, sometimes for upwards of 2 hours after I finished watching it.
Issue appears to be occurring on devices other than Roku also:
Sep 08, 2017 19:41:15.223 [7696] DEBUG - Streaming Resource: Added session 0953B288:0d7882a056db703bffff91f17b87ce4e
Sep 08, 2017 19:41:15.223 [7696] DEBUG - Streaming Resource: Reached Decision id=1564 codes=(MDE=1000,Direct play OK.) media=(id=1757 part=(id=149918 decision=direct play protocol=hls streams=(Video=(id=304424 decision= width=0 height=0) Audio=(id=304425 decision= channels=0 rate=0))))
Sep 08, 2017 19:41:15.227 [15128] DEBUG - Completed: [192.168.1.12:45181] 200 GET /video/:/transcode/universal/decision (12 live) TLS GZIP 32ms 3413 bytes (pipelined: 1)
I skipped forward to just before the 6:45 mark.
Sep 08, 2017 19:42:00.509 [7700] DEBUG - Audio Stream: 304425, Subtitle Stream: -1
Sep 08, 2017 19:42:00.512 [7700] DEBUG - MDE: analyzing media item 1757
Sep 08, 2017 19:42:00.512 [7700] DEBUG - MDE: ■■■ Tape (2014): Direct Play is disabled
Sep 08, 2017 19:42:00.512 [7700] DEBUG - MDE: ■■■ Tape (2014): media must be transcoded in order to use the hls protocol
Sep 08, 2017 19:42:00.513 [7700] DEBUG - MDE: ■■■ Tape (2014): no direct play video profile exists for http/mkv/h264/dca
Sep 08, 2017 19:42:00.513 [7700] ERROR - PropertyContainer::get - invalid frameRate value: 23.976
Sep 08, 2017 19:42:00.513 [7700] DEBUG - Codecs: testing aac_mf (encoder)
Sep 08, 2017 19:42:00.514 [7700] DEBUG - Codecs: testing mp3_mf (encoder)
Sep 08, 2017 19:42:00.514 [7700] DEBUG - MDE: ■■■ Tape (2014): selected media 0 / 1757
Sep 08, 2017 19:42:00.515 [7700] DEBUG - Streaming Resource: Added session 0953B448:0d7882a056db703bffff91f17b87ce4e
Sep 08, 2017 19:42:00.516 [7700] DEBUG - Streaming Resource: Reached Decision id=1564 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=1757 part=(id=149918 decision=transcode container=mpegts protocol=hls streams=(Video=(id=304424 decision=copy width=1280 height=688) Audio=(id=304425 decision=transcode bitrate=640 encoder=ac3 channels=6 rate=48000))))
It’s randomly selecting HLS protocol, in the middle of the stream, when this is all local?