Direct Play Disabled?

Server Version#: 1.21.0.3616
Player Version#: (current Roku player)

All of a sudden, files that have always played with Direct Play, are transcoding. The transcoding is just copying the format. But transcoding none the less. I enabled Debug and found this when I start playing:

Nov 26, 2020 10:53:49.728 [0x7f5e0b7fe700] DEBUG - [Transcode] We're going to try to auto-select an audio stream for account 1.
Nov 26, 2020 10:53:49.728 [0x7f5e0b7fe700] DEBUG - [Transcode] Selecting best audio stream for part ID 691168 (autoselect: 1 language: en)
Nov 26, 2020 10:53:49.728 [0x7f5e0b7fe700] DEBUG - [Transcode] Audio Stream: 1347979, Subtitle Stream: 0
Nov 26, 2020 10:53:49.730 [0x7f5e0b7fe700] DEBUG - [Transcode] MDE: Selected protocol hls; container: mpegts
Nov 26, 2020 10:53:49.730 [0x7f5e0b7fe700] DEBUG - [Transcode] MDE: analyzing media item 167024
Nov 26, 2020 10:53:49.730 [0x7f5e0b7fe700] DEBUG - [Transcode] MDE: Hotel Transylvania 2 (2015): Direct Play is disabled
Nov 26, 2020 10:53:49.730 [0x7f5e0b7fe700] DEBUG - [Transcode] MDE: Hotel Transylvania 2 (2015): media must be transcoded in order to use the hls protocol
Nov 26, 2020 10:53:49.730 [0x7f5e0b7fe700] DEBUG - [Transcode] MDE: Hotel Transylvania 2 (2015): no direct play video profile exists for http/mkv/h264/dca
Nov 26, 2020 10:53:49.730 [0x7f5e0b7fe700] DEBUG - [Transcode] MDE: Hotel Transylvania 2 (2015): selected media 0 / 167024
Nov 26, 2020 10:53:49.730 [0x7f5e0b7fe700] DEBUG - [Transcode] Streaming Resource: Added session 0x7f5dc015cec0:cbb736f719901a6ba3106b48d0e1aa7c
Nov 26, 2020 10:53:49.730 [0x7f5e0b7fe700] DEBUG - [Transcode] Streaming Resource: Reached Decision id=58736 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=167024 part=(id=691168 decision=transcode container=mpegts protocol=hls streams=(Video=(id=1347978 decision=copy width=1920 height=1024) Audio=(id=1347979 decision=copy channels=6 rate=48000))))
Nov 26, 2020 10:53:49.732 [0x7f5e45a89700] DEBUG - Completed: [10.0.0.118:47550] 200 GET /video/:/transcode/universal/decision?protocol=hls&mediaIndex=0&waitForSegments=1 (8 live) TLS GZIP 13ms 3769 bytes (pipelined: 5)

This particular file is MKV with h264 and DTS 5.1 audio.

Any ideas why Direct Play is disabled? On the settings for this file, Direct Play is set to Auto. If I set it to Force, boom, it Direct Play’s without issue.

That message does not mean there is a setting or something like that to disable the playback. It just means the client has decided it does not want to direct play the file. Unfortunately, that snippet you provided does not provide the reasoning. If you can provide the entire log, that would help. Or better yet, provide the log from the Roku, Roku Logs | Plex Support.

I’ve got both logs. Do I just upload them here? They have my personal email and account details in them…

I have a feeling that it’s something to do with subtitles. But I can’t figure out what.

I have now tested multiple files on three different Roku’s. They all support the formats and codecs. They all used to Direct Play. Now they Direct Stream. I’m not 100% sure when it started.

Here’s the file of the Roku log for the first example. Let me know if there’s a more secure upload process. I can provide more logs if needed.

Thanks.plex_roku_log.txt (70.4 KB)

The difference between Direct Play and Direct Stream is negligible. As long as both the video and the audio are unchanged. Which is the case above.

Yeah, I get that. But I’m too curious. Why would it have been working for years and just change? My hardware all supports the formats. When I force it, it works. What could have changed? Is Plex officially stating that they won’t support Direct Play on compatible hardware?

You are reading far too much into this.
As long as you can play back and there is no higher CPU load on the server, there is no reason for concern.

Can you provide the XML for that movie? Investigate Media Information and Formats | Plex Support

<?xml version="1.0" encoding="UTF-8"?>
<MediaInfo
    xmlns="https://mediaarea.net/mediainfo"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="https://mediaarea.net/mediainfo https://mediaarea.net/mediainfo/mediainfo_2_0.xsd"
    version="2.0">
<creatingLibrary version="20.09" url="https://mediaarea.net/MediaInfo">MediaInfoLib</creatingLibrary>
<media ref="/home/josh/files/Videos/Movies/Hotel Transylvania 2 (2015).mkv">
<track type="General">
<UniqueID>173393061625821235867530439721584070203</UniqueID>
<VideoCount>1</VideoCount>
<AudioCount>1</AudioCount>
<FileExtension>mkv</FileExtension>
<Format>Matroska</Format>
<Format_Version>4</Format_Version>
<FileSize>3468200420</FileSize>
<Duration>5358.356</Duration>
<OverallBitRate_Mode>VBR</OverallBitRate_Mode>
<OverallBitRate>5178007</OverallBitRate>
<FrameRate>23.976</FrameRate>
<FrameCount>128472</FrameCount>
<IsStreamable>Yes</IsStreamable>
<Title>Hotel Transylvania 2</Title>
<Movie>Hotel Transylvania 2</Movie>
<File_Modified_Date>UTC 2016-01-17 05:51:06</File_Modified_Date>
<File_Modified_Date_Local>2016-01-16 22:51:06</File_Modified_Date_Local>
<Encoded_Application>Lavf57.19.100</Encoded_Application>
<Encoded_Library>Lavf57.19.100</Encoded_Library>
</track>
<track type="Video">
<StreamOrder>0</StreamOrder>
<ID>1</ID>
<UniqueID>1</UniqueID>
<Format>AVC</Format>
<Format_Profile>High</Format_Profile>
<Format_Level>4.1</Format_Level>
<Format_Settings_CABAC>Yes</Format_Settings_CABAC>
<Format_Settings_RefFrames>4</Format_Settings_RefFrames>
<CodecID>V_MPEG4/ISO/AVC</CodecID>
<Duration>5358.353000000</Duration>
<Width>1920</Width>
<Height>1024</Height>
<Sampled_Width>1920</Sampled_Width>
<Sampled_Height>1024</Sampled_Height>
<PixelAspectRatio>1.000</PixelAspectRatio>
<DisplayAspectRatio>1.875</DisplayAspectRatio>
<FrameRate_Mode>CFR</FrameRate_Mode>
<FrameRate_Mode_Original>VFR</FrameRate_Mode_Original>
<FrameRate>23.976</FrameRate>
<FrameCount>128472</FrameCount>
<ColorSpace>YUV</ColorSpace>
<ChromaSubsampling>4:2:0</ChromaSubsampling>
<BitDepth>8</BitDepth>
<ScanType>Progressive</ScanType>
<Delay>0.000</Delay>
<Encoded_Library>x264 - core 148 r2 7599210</Encoded_Library>
<Encoded_Library_Name>x264</Encoded_Library_Name>
<Encoded_Library_Version>core 148 r2 7599210</Encoded_Library_Version>
<Encoded_Library_Settings>cabac=1 / ref=1 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.15 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=8 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00</Encoded_Library_Settings>
<Default>No</Default>
<Forced>No</Forced>
</track>
<track type="Audio">
<StreamOrder>1</StreamOrder>
<ID>2</ID>
<UniqueID>2</UniqueID>
<Format>DTS</Format>
<Format_Commercial_IfAny>DTS-HD Master Audio</Format_Commercial_IfAny>
<Format_Settings_Mode>16</Format_Settings_Mode>
<Format_Settings_Endianness>Big</Format_Settings_Endianness>
<Format_AdditionalFeatures>XLL</Format_AdditionalFeatures>
<CodecID>A_DTS</CodecID>
<Duration>5358.356000000</Duration>
<BitRate_Mode>VBR</BitRate_Mode>
<Channels>6</Channels>
<ChannelPositions>Front: L C R, Side: L R, LFE</ChannelPositions>
<ChannelLayout>C L R Ls Rs LFE</ChannelLayout>
<SamplesPerFrame>512</SamplesPerFrame>
<SamplingRate>48000</SamplingRate>
<SamplingCount>257201088</SamplingCount>
<FrameRate>93.750</FrameRate>
<BitDepth>16</BitDepth>
<Compression_Mode>Lossless</Compression_Mode>
<Delay>0.000</Delay>
<Delay_Source>Container</Delay_Source>
<Language>en</Language>
<Default>Yes</Default>
<Forced>No</Forced>
</track>
</media>
</MediaInfo>

Thing is, I encoded these movies to work specifically with my hardware. And they used to direct play. Same file.

Wrong XML. I want the one from PMS.

My bad.

Here it is.
hotelts2.xml.txt (89.9 KB)

Thanks. Not sure what’s going on but we will investigate.

Thanks for the report @jbhardman. We’ve identified the issue and should have it fixed in the next update.

:partying_face:

I have the same issue, did we find a solution.

The fix is in the current preview release, and will be in the next official release.

Has this been fixed? Getting the same issue as the OP…Direct Stream over LAN instead of Direct Play.

Roku Stick+
Server Version#: 4.47.3
Player Version#: 9.4.0 build 4200-50

media info

<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="3" librarySectionTitle="Sorozatok" librarySectionUUID="9635ebe4-2e48-47fa-bef1-28f4efb76c0f" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1608235013">
<Video ratingKey="2456" key="/library/metadata/2456" parentRatingKey="2466" grandparentRatingKey="1824" guid="com.plexapp.agents.thetvdb://247808/6/7?lang=en" parentGuid="com.plexapp.agents.thetvdb://247808/6?lang=en" grandparentGuid="com.plexapp.agents.thetvdb://247808?lang=en" type="episode" title="Shake the Trees" grandparentKey="/library/metadata/1824" parentKey="/library/metadata/2466" librarySectionTitle="Sorozatok" librarySectionID="3" librarySectionKey="/library/sections/3" grandparentTitle="Suits" parentTitle="Season 6" contentRating="TV-14" summary="Harvey, Louis and Donna search for a missing link to Sutter's inside trading. Mike takes measures to get Kevin on his side. Rachel and Jessica deliver bad news." index="7" parentIndex="6" rating="7.9" viewOffset="185000" viewCount="1" lastViewedAt="1608995184" year="2016" thumb="/library/metadata/2456/thumb/1608543584" art="/library/metadata/1824/art/1608543587" parentThumb="/library/metadata/2466/thumb/1608543587" grandparentThumb="/library/metadata/1824/thumb/1608543587" grandparentArt="/library/metadata/1824/art/1608543587" grandparentTheme="/library/metadata/1824/theme/1608543587" duration="2517664" originallyAvailableAt="2016-08-24" addedAt="1608543532" updatedAt="1608543584">
<Media id="3591" duration="2517664" bitrate="10366" width="1280" height="720" aspectRatio="1.78" audioChannels="6" audioCodec="ac3" videoCodec="h264" videoResolution="720" container="mkv" videoFrameRate="24p" videoProfile="high">
<Part accessible="1" exists="1" id="3688" key="/library/parts/3688/1608511509/file.mkv" duration="2517664" file="/volume1/Sorozatok/Suits.S06.720p.BluRay.HUN.ENG.DD5.1.x264-SLN/sln-720p.suits.607.mkv" size="3263141804" container="mkv" deepAnalysisVersion="4" requiredBandwidths="16601,13967,12535,12302,12302,12302,12302,12302" videoProfile="high">
<Stream id="10507" streamType="1" default="1" codec="h264" index="0" bitrate="9534" language="English" languageCode="eng" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="720" codedWidth="1280" frameRate="23.976" hasScalingMatrix="0" height="720" level="41" profile="high" refFrames="9" requiredBandwidths="15767,13134,11702,11482,11482,11482,11482,11482" scanType="progressive" width="1280" displayTitle="720p (H.264)" extendedDisplayTitle="720p (H.264)"> </Stream>
<Stream id="10508" streamType="2" selected="1" codec="ac3" index="1" channels="2" bitrate="192" language="Magyar" languageCode="hun" audioChannelLayout="stereo" requiredBandwidths="192,192,192,192,192,192,192,192" samplingRate="48000" displayTitle="Magyar (AC3 Stereo)" extendedDisplayTitle="Magyar (AC3 Stereo)"> </Stream>
<Stream id="10509" streamType="2" default="1" codec="ac3" index="2" channels="6" bitrate="640" language="English" languageCode="eng" audioChannelLayout="5.1(side)" requiredBandwidths="639,639,639,639,639,639,639,639" samplingRate="48000" displayTitle="English (AC3 5.1)" extendedDisplayTitle="English (AC3 5.1)"> </Stream>
<Stream id="10510" streamType="3" codec="srt" index="3" bitrate="0" language="English" languageCode="eng" requiredBandwidths="1,1,1,1,1,1,1,1" displayTitle="English (SRT)" extendedDisplayTitle="English (SRT)"> </Stream>
<Stream id="10511" streamType="3" codec="srt" index="4" bitrate="0" language="English" languageCode="eng" requiredBandwidths="1,1,1,1,1,1,1,1" title="SDH" displayTitle="English (SRT)" extendedDisplayTitle="SDH (English SRT)"> </Stream>
</Part>
</Media>
<Writer id="6286" filter="writer=6286" tag="Rick Muirragui"/>
<Writer id="7386" filter="writer=7386" tag="Sandra Silverstein"/>
<Extras size="0"> </Extras>
<Related> </Related>
</Video>
</MediaContainer>

debug logs

Dec 25, 2020 20:44:54.629 [0x7fb477684700] DEBUG - [Transcode] It took 10.000000 ms to retrieve 135 items.
Dec 25, 2020 20:44:54.631 [0x7fb477684700] DEBUG - [Transcode] We're going to try to auto-select an audio stream for account 1.
Dec 25, 2020 20:44:54.632 [0x7fb477684700] DEBUG - [Transcode] Selecting best audio stream for part ID 3703 (autoselect: 1 language: hu)
Dec 25, 2020 20:44:54.632 [0x7fb477684700] DEBUG - [Transcode] Audio Stream: 10569, Subtitle Stream: -1
Dec 25, 2020 20:44:54.635 [0x7fb477684700] DEBUG - [Transcode] MDE: Selected protocol hls; container: mpegts
Dec 25, 2020 20:44:54.635 [0x7fb477684700] DEBUG - [Transcode] MDE: analyzing media item 3606
Dec 25, 2020 20:44:54.635 [0x7fb477684700] DEBUG - [Transcode] MDE: Home Alone (1990): Direct Play is disabled
Dec 25, 2020 20:44:54.635 [0x7fb477684700] DEBUG - [Transcode] MDE: Home Alone (1990): media must be transcoded in order to use the hls protocol
Dec 25, 2020 20:44:54.635 [0x7fb477684700] DEBUG - [Transcode] MDE: Home Alone (1990): no direct play video profile exists for http/mkv/h264/ac3
Dec 25, 2020 20:44:54.635 [0x7fb477684700] DEBUG - [Transcode] MDE: Home Alone (1990): no direct play video profile exists for http/mkv/h264/ac3
Dec 25, 2020 20:44:54.635 [0x7fb477684700] DEBUG - [Transcode] MDE: Home Alone (1990): no direct play video profile exists for http/mkv/h264/ac3
Dec 25, 2020 20:44:54.636 [0x7fb477684700] DEBUG - [Transcode] MDE: Cannot direct stream audio stream due to codec ac3 when profile only allows mp3
Dec 25, 2020 20:44:54.636 [0x7fb477684700] DEBUG - [Transcode] MDE: Home Alone (1990): selected media 0 / 3606
Dec 25, 2020 20:44:54.636 [0x7fb477684700] DEBUG - [Transcode] Streaming Resource: Calculated bandwidth of 20044kbps exceeds bandwidth limit. Changing decision parameters provided by client to fit bandwidth limit of 12000kbps
Dec 25, 2020 20:44:54.636 [0x7fb477684700] DEBUG - [Transcode] Streaming Resource: Determining preferred transcode encoders through transcode only decision.
Dec 25, 2020 20:44:54.636 [0x7fb477684700] DEBUG - [Transcode] Codecs: testing h264 (decoder) with hwdevice vaapi
Dec 25, 2020 20:44:54.637 [0x7fb477684700] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi

Direct Play is enabled on PMS

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