No direct play profile available

Server Version#: 1.32.1.6999 Ubuntu 22.94
Player Version#:Version 9.21.3.1621 (android)

Hey all,

Hoping someone can shed some light on this as it’s driving me crazy.

Certain players (android mobile / LG app so far) are having issues playing certain files. So far these seem to be h264 files, below are server log errors for 2 seperate files.

The error on the client side is the generic ‘Playback failed, check your connection’

Nothing special about the encoding, h264 8 bit, however any files I’ve converted to x265, (including these ones) work fine on the same clients.

I don’t have transcoding or any other restrictions (bandwidth etc) so I’m confused where these errors are coming from, and why it’s refusing to transcode if it needs to

[Req#459f3b/Transcode] MDE: xxxxx: no direct play video profile exists for http/mkv/h264

[Req#458c38/Transcode] MDE: xxxxxxxxxxxx: no direct play video profile exists for http/mkv/h264/eac3

Thanks in advance!

Most likely the EAC3 audio codec.
Try converting that to AAC stereo.

Other h264 and 265 converted files are also eac3 and play fine though, everything is the same which is what’s confusing me

Please post the first ~20 lines from the Plex XML info of an affected video.

Thanks, here you go, sorry formatting won’t sort itself out

MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="17" librarySectionTitle="Movies" librarySectionUUID="26c0f2ef-0216-4907-a362-0672c98977f7" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1684415019">
 
<Video ratingKey="215857" key="/library/metadata/215857" guid="plex://movie/5f90753550bfe7002d765f7e" studio="87Eleven" type="movie" title="Day Shift" librarySectionTitle="Movies" librarySectionID="17" librarySectionKey="/library/sections/17" contentRating="gb/18" summary="A hard-working, blue-collar dad just wants to provide a good life for his quick-witted 10-year-old daughter. His mundane San Fernando Valley pool cleaning job is a front for his real source of income: hunting and killing vampires." audienceRating="6.1" year="2022" tagline="Some jobs really go for the throat." thumb="/library/metadata/215857/thumb/1684507647" art="/library/metadata/215857/art/1684507647" duration="6800800" originallyAvailableAt="2022-08-12" addedAt="1684441796" updatedAt="1684507647" audienceRatingImage="imdb://image.rating">

<Media id="489173" duration="6800800" bitrate="7298" width="1920" height="1080" aspectRatio="1.78" audioChannels="6" audioCodec="eac3" videoCodec="h264" videoResolution="1080" container="mkv" videoFrameRate="24p" videoProfile="main">

<Part accessible="1" exists="1" id="573719" key="/library/parts/573719/1684441684/file.mkv" duration="6800800" file="/home/media/blahblah.mkv" size="6204135262" container="mkv" deepAnalysisVersion="6" indexes="sd" requiredBandwidths="11352,10681,9397,9397,9397,9397,9397,9397" videoProfile="main">

<Stream id="1497850" streamType="1" default="1" codec="h264" index="0" bitrate="7298" language="English" languageTag="en" languageCode="eng" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="1088" codedWidth="1920" frameRate="24.000" hasScalingMatrix="0" height="1080" level="40" profile="main" refFrames="3" requiredBandwidths="10584,9912,8662,8662,8662,8662,8662,8662" scanType="progressive" width="1920" displayTitle="1080p (H.264)" extendedDisplayTitle="1080p (H.264)"> </Stream>

<Stream id="1497851" streamType="2" selected="1" default="1" codec="eac3" index="1" channels="6" language="English" languageTag="en" languageCode="eng" audioChannelLayout="5.1(side)" requiredBandwidths="768,768,768,768,768,768,768,768" samplingRate="48000" displayTitle="English (EAC3 5.1)" extendedDisplayTitle="English (EAC3 5.1)"> </Stream>

There are no things that stand out in the media info.
So we need actual log files. Not just 2 lines.

Here’s the filtered logs for this particular movie, happy to share the entire, unfiltered zip but this seems to be the only bit relevant to this failure. Thanks again!

May 20, 2023 15:50:09.523 [140473919134520] Debug — Content-Length of /home/media/movie.mkv is 6204135262 (of total: 6204135262).
May 20, 2023 15:50:10.332 [140473925462840] Debug — [Req#52e73/Transcode] MDE: Day Shift (2022): Direct Play is disabled
May 20, 2023 15:50:10.332 [140473925462840] Debug — [Req#52e73/Transcode] MDE: Day Shift (2022): media must be transcoded in order to use the hls protocol
May 20, 2023 15:50:10.332 [140473925462840] Debug — [Req#52e73/Transcode] MDE: Day Shift (2022): no direct play video profile exists for http/mkv/h264
May 20, 2023 15:50:10.332 [140473925462840] Debug — [Req#52e73/Transcode] MDE: Day Shift (2022): no direct play video profile exists for http/mkv/h264/eac3
May 20, 2023 15:50:10.332 [140473925462840] Debug — [Req#52e73/Transcode] MDE: Day Shift (2022): selected media 0 / 489173
May 20, 2023 15:50:10.497 [140473925462840] Debug — [Req#52eab/Transcode/d83eb57976b17faa-com-plexapp-android] [Universal] Using local file path instead of URL: /home/media/movie.mkv
May 20, 2023 15:50:10.497 [140473925462840] Debug — [Req#52eab/Transcode/d83eb57976b17faa-com-plexapp-android/JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/8217c1c-4565-linux-x86_64/' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "/usr/lib/plexmediaserver/Plex Transcoder" -codec:0 h264 -noaccurate_seek -analyzeduration 20000000 -probesize 20000000 -i "/home/media/movie.mkv" -map 0:0 -metadata:s:0 language=eng -codec:0 copy -map 0:1 -metadata:s:1 language=eng -codec:1 copy -segment_format matroska -f ssegment -individual_header_trailer 0 -flags +global_header -segment_header_filename header -segment_time 10 -segment_start_number 0 -segment_copyts 1 -segment_time_delta 0.0625 -segment_list "http://127.0.0.1:32400/video/:/transcode/session/d83eb57976b17faa-com-plexapp-android/1925672b-8886-49f5-ba8d-49ecd8a18fb0/manifest?X-Plex-Http-Pipeline=infinite" -segment_list_type csv -segment_list_size 5 -segment_list_separate_stream_times 1 -segment_list_unfinished 1 -segment_format_options output_ts_offset=10 -max_delay 5000000 -avoid_negative_ts disabled -map_metadata:g -1 -map_metadata:c -1 -map_chapters -1 "media-%05d.ts" -start_at_zero -copyts -vsync cfr -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/d83eb57976b17faa-com-plexapp-android/1925672b-8886-49f5-ba8d-49ecd8a18fb0/progress

There must be more before this one.

Sorry for the delay, i’ve been away

Due to the length i’ve attached as a txt file, hopefully this is what you need
PMS_android_error.txt (71.4 KB)

Stop using the ramdisk as transcoder temp location, then try again.

Done, but exactly the same error

The log is only telling that the client stopped responding.
Whether that is the cause of the playback getting aborted, or just the result of the abortion is unclear.

See if the behavior of the client changes in any way if you just remux the file using MKVtoolnixGUI

Yeah it works fine if i run it through handbrake and convert to HEVC, I just can’t work out why it’s only happening with certain files (that appear identical to ones that work) and on certain players.

I’m wondering if i could manually edit the Android.xml to tell it to direct play http/mkv/h264?

I don’t doubt it. The question is if you can avoid the recode (and thus the quality loss) by simply remuxing the container.

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