Direct play not available

Server Version#: 1.15.5.994
Player Web Version#: 3.97.3

Hi all,

I have used optimize mode to create additional version and let Plex pick the best version to use as possible direct play.

I have created a new version using the “Orginal Quality” and a new version has been used with mp4.
When playing the file in Plex Web, the mp4 version is used but the audio and video are in “Direct Stream” and subtitle are transcoded from srt to ass.

In the log, i have the following message :

Apr 30, 2019 21:54:09.074 [7132] VERBOSE -  * Connection => keep-alive
Apr 30, 2019 21:54:09.074 [7132] VERBOSE -  * Accept => text/plain, */*; q=0.01
Apr 30, 2019 21:54:09.074 [7132] VERBOSE -  * Origin => https://app.plex.tv
Apr 30, 2019 21:54:09.074 [7132] VERBOSE -  * Sec-Fetch-Site => cross-site
Apr 30, 2019 21:54:09.074 [7132] VERBOSE -  * Accept-Language => fr
Apr 30, 2019 21:54:09.074 [7132] VERBOSE -  * User-Agent => Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3775.0 Safari/537.36 Edg/76.0.145.0
Apr 30, 2019 21:54:09.074 [7132] VERBOSE -  * Sec-Fetch-Mode => cors
Apr 30, 2019 21:54:09.074 [7132] VERBOSE -  * Referer => https://app.plex.tv/
Apr 30, 2019 21:54:09.074 [7132] VERBOSE -  * Accept-Encoding => gzip, deflate, br
Apr 30, 2019 21:54:09.074 [7132] VERBOSE -  * X-Plex-Client-Identifier => jon0i8xqmugkcghzaqyujpq0
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * X-Plex-Client-Profile-Extra => append-transcode-target-codec(type=videoProfile&context=streaming&audioCodec=aac&protocol=dash)
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * X-Plex-Device => Windows
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * X-Plex-Device-Name => Chrome
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * X-Plex-Device-Screen-Resolution => 2560x1293,2560x1440
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * X-Plex-Language => fr
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * X-Plex-Model => hosted
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * X-Plex-Platform => Chrome
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * X-Plex-Platform-Version => 76.0
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * X-Plex-Product => Plex Web
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * X-Plex-Session-Identifier => 2fd8b5h5xjt599o19pvjhocx
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * X-Plex-Sync-Version => 2
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * X-Plex-Token => xxxxxxxxxxxxxxxxxxxx
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * X-Plex-Version => 3.97.3
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * hasMDE => 1
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * path => /library/metadata/8299
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * mediaIndex => 1
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * partIndex => 0
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * protocol => dash
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * fastSeek => 1
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * directPlay => 0
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * directStream => 1
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * subtitleSize => 100
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * audioBoost => 100
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * location => wan
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * addDebugOverlay => 0
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * autoAdjustQuality => 0
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * directStreamAudio => 1
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * mediaBufferSize => 102400
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * session => f654mvqem6tuxdb0v36kvb63
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * subtitles => auto
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * Accept-Language => fr
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * X-Plex-Session-Identifier => 2fd8b5h5xjt599o19pvjhocx
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * X-Plex-Client-Profile-Extra => append-transcode-target-codec(type=videoProfile&context=streaming&audioCodec=aac&protocol=dash)
Apr 30, 2019 21:54:09.075 [7132] VERBOSE -  * X-Plex-Product => Plex Web
Apr 30, 2019 21:54:09.076 [7132] VERBOSE -  * X-Plex-Version => 3.97.3
Apr 30, 2019 21:54:09.076 [7132] VERBOSE -  * X-Plex-Client-Identifier => jon0i8xqmugkcghzaqyujpq0
Apr 30, 2019 21:54:09.076 [7132] VERBOSE -  * X-Plex-Platform => Chrome
Apr 30, 2019 21:54:09.076 [7132] VERBOSE -  * X-Plex-Platform-Version => 76.0
Apr 30, 2019 21:54:09.076 [7132] VERBOSE -  * X-Plex-Sync-Version => 2
Apr 30, 2019 21:54:09.076 [7132] VERBOSE -  * X-Plex-Model => hosted
Apr 30, 2019 21:54:09.076 [7132] VERBOSE -  * X-Plex-Device => Windows
Apr 30, 2019 21:54:09.076 [7132] VERBOSE -  * X-Plex-Device-Name => Chrome
Apr 30, 2019 21:54:09.076 [7132] VERBOSE -  * X-Plex-Device-Screen-Resolution => 2560x1293,2560x1440
Apr 30, 2019 21:54:09.076 [7132] VERBOSE -  * X-Plex-Token => xxxxxxxxxxxxxxxxxxxx
Apr 30, 2019 21:54:09.076 [7132] VERBOSE -  * X-Plex-Language => fr
Apr 30, 2019 21:54:09.076 [7132] DEBUG - Found session GUID of f654mvqem6tuxdb0v36kvb63 in session start.
Apr 30, 2019 21:54:09.077 [7132] DEBUG - TranscodeUniversalRequest: using augmented profile Web
Apr 30, 2019 21:54:09.077 [7132] DEBUG - Downloading document http://127.0.0.1:32400/library/metadata/8299?includeBandwidths=1&offset=-1&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=2fd8b5h5xjt599o19pvjhocx
Apr 30, 2019 21:54:09.078 [7132] VERBOSE - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 30, 2019 21:54:09.078 [7132] DEBUG - Auth: authenticated user 1 as Haldir
Apr 30, 2019 21:54:09.078 [7132] VERBOSE - Auth: Came in with a super-token, authorization succeeded.
Apr 30, 2019 21:54:09.084 [7132] DEBUG - We're going to try to auto-select an audio stream for account 1.
Apr 30, 2019 21:54:09.084 [7132] DEBUG - Selecting best audio stream for part ID 21011 (autoselect: 0 language: en)
Apr 30, 2019 21:54:09.084 [7132] DEBUG - We're going to try to auto-select a subtitle.
Apr 30, 2019 21:54:09.084 [7132] DEBUG - Subtitles: Found a candidate subtitle language [fre] for a foreign film
Apr 30, 2019 21:54:09.084 [7132] DEBUG - Audio Stream: 46890, Subtitle Stream: 46892
Apr 30, 2019 21:54:09.085 [7132] DEBUG - Audio Stream: 66217, Subtitle Stream: 66213
Apr 30, 2019 21:54:09.085 [7132] VERBOSE - It took 0.0 sec to serialize a list with 1 elements.
Apr 30, 2019 21:54:09.085 [7132] DEBUG - MDE: Selected protocol dash; container: mp4
Apr 30, 2019 21:54:09.085 [7132] DEBUG - MDE: analyzing media item 29677
Apr 30, 2019 21:54:09.085 [7132] DEBUG - MDE: E1 - De l'autre côté du comptoir: Direct Play is disabled
Apr 30, 2019 21:54:09.086 [7132] DEBUG - MDE: E1 - De l'autre côté du comptoir: media must be transcoded in order to use the dash protocol
Apr 30, 2019 21:54:09.086 [7132] DEBUG - MDE: E1 - De l'autre côté du comptoir: selected audio stream is not the first audio stream and direct play stream selection is not enabled
Apr 30, 2019 21:54:09.086 [7132] DEBUG - MDE: E1 - De l'autre côté du comptoir: no direct play video profile exists for http/mp4/h264
Apr 30, 2019 21:54:09.086 [7132] DEBUG - MDE: E1 - De l'autre côté du comptoir: no direct play video profile exists for http/mp4/h264/ac3
Apr 30, 2019 21:54:09.086 [7132] DEBUG - MDE: E1 - De l'autre côté du comptoir: no direct play video profile exists for http/mp4/h264/aac
Apr 30, 2019 21:54:09.086 [7132] DEBUG - MDE: 22.11.63 - S1 E1 - De l'autre côté du comptoir: selected media 1 / 29677
Apr 30, 2019 21:54:09.086 [7132] DEBUG - Streaming Resource: Added session 0x8c7c998:2fd8b5h5xjt599o19pvjhocx
Apr 30, 2019 21:54:09.086 [7132] DEBUG - Streaming Resource: Reached Decision id=8299 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=29677 part=(id=30030 decision=transcode container=mp4 protocol=dash streams=(Video=(id=66215 decision=copy width=1920 height=968) Audio=(id=66217 decision=copy channels=6 rate=48000) Subtitle=(id=66213 decision=transcode bitrate=2147483647 encoder=ass languageCode=fre location=sidecar))))
Apr 30, 2019 21:54:09.087 [7132] VERBOSE - It took 0.0 sec to serialize a list with 1 elements.
Apr 30, 2019 21:54:09.088 [3468] DEBUG - Completed: [::ffff:192.168.1.1:52127] 200 GET /video/:/transcode/universal/decision?hasMDE=1&path=%2Flibrary%2Fmetadata%2F8299&mediaIndex=1&partIndex=0&protocol=dash&fastSeek=1&directPlay=0&directStream=1&subtitleSize=100&audioBoost=100&location=wan&addDebugOverlay=0&autoAdjustQuality=0&directStreamAudio=1&mediaBufferSize=102400&session=f654mvqem6tuxdb0v36kvb63&subtitles=auto&Accept-Language=fr (24 live) TLS GZIP 14ms 1831 bytes (pipelined: 17)
Apr 30, 2019 21:54:09.135 [3468] VERBOSE - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.

In the Plex web settings, Direct Play and Direct Stream are enabled. What could prevent the Direct Play and force Stream and Transcoding ?

Thanks

My ALAC is being transcoded using both plex web and plex media player. Direct play is enabled. I don’t think Plex will ever be reliable.

Others movies with mp4 container, aac 5.1 and external subtitle with srt are well played in Direct Play in Chrome without any modification on server settings :frowning:

Please provide the XML output from PMS.

Plex Web does not support ALAC. PMP should, so not sure why that transcodes. Will need to see logs.

Already posted logs on another thread. I never use Plex Web just tried it for post. Something is broken in PMP. I did find it odd I had to use Tauntulli to view the playback details for iOS and Plexamp.

I responded in that thread. Lets keep the discussion on PMP going over there since the behavior with Web is expected for you.

This is the xml file from the server: 7603.txt (5,3 Ko)

I let plex web pick the optimize version by clicking on Play button and use the English version in AAC 5.1 with external subtitle.

The message shown in your log is exactly the reason.

Apr 30, 2019 21:54:09.086 [7132] DEBUG - MDE: E1 - De l’autre côté du comptoir: selected audio stream is not the first audio stream and direct play stream selection is not enabled

The player in Plex Web can only play the first audio track. The AAC track is second in your file, so PMS has to remux the file to make the AAC track first. It’s a limitation of the browser. I’ve been told Edge may be able to direct play the second audio track.

Thanks for the feedback. I tried with Edge beta and Edge but same behavior :frowning:

The first track is in AC3 and hasn’t been coverted to AAC. So when playing using the track, the track is transcoded to AAC 2.0.

Is there a way to force to convert all the tracks in AAC to have a direct play file in the browser and let Plex pick the version following the device capabilites ?

Instead of using the original quality setting, which will try to use all compatible audio tracks. You should use the custom setting with the Universal TV profile so it will only contain aac tracks.

I have used the custom universal tv with 20 Mbit but the AC3 track has been kept in the optimized version. Only the dts track has been convert in AAC.
This is the xml file for the new converted item : 7605.txt (5,4 Ko)

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