PlexKodiConnect icon indicating copy to clipboard operation
PlexKodiConnect copied to clipboard

Items transcoded when Prefered playback method is set to direct stream

Open pfoo opened this issue 2 months ago • 0 comments

Even with "Always transcode if video bitrate is above" option turned off, setting "Prefered playback method" to "direct stream" force video to be transcoded with a notification "PMS forced transcoding". According to the wiki this should not be the case. Same video play fine without transcoding if "Prefered playback method" is set to "direct play" (and I don't have direct path configured).

This however seems to be consistent with plex support article (https://support.plex.tv/articles/200250387-streaming-media-direct-play-and-direct-stream/) :

Disabling Direct Play Most Plex Apps allow you to enable or disable Direct Play within their settings. Disabling Direct Play forces every item played on the App to be transcoded. This is useful sometimes if you’re having trouble with media playback on a particular device.

Logfile :

info <general>: PLEX.playback_decision: User chose playback method DirectStream in PKC settings
info <general>: PLEX.playback_decision: PKC decided on playback method DirectStream
info <general>: PLEX.playback_decision: Lets ask the PMS next
info <general>: PLEX.playback_decision: Asking PMS with maximal quality settings
info <general>: PLEX.playback_decision: PMS general decision 1001: Direct play not available; Conversion OK.
info <general>: PLEX.playback_decision: PMS Direct Play decision 3000: App cannot direct play this item. Direct play is disabled.
info <general>: PLEX.playback_decision: PMS MDE decision None: None
info <general>: PLEX.playback_decision: PMS transcoding decision 3000: App cannot direct play this item. Direct play is disabled.
info <general>: PLEX.playback_decision: PMS video stream decision: transcode, PMS audio stream decision: copy, PMS subtitle stream decision: None
warning <general>: PLEX.playback_decision: The PMS forces us to transcode

Either a bug, or more likely the documentation https://github.com/croneter/PlexKodiConnect/wiki/PKC-settings#playback might need clarification for Prefered playback method. Method "Try direct path" is also not documented (but name suggest it is doing the same as direct play ?)

It also seems like PKC is mixing some Plex terminology with direct play / direct stream, eg, according to plex support article :

  • Direct Play is playing on a client with full video compatibility
  • Direct stream is playing on a client with compatible codec but incompatible file container, or Partially-Transcoded Direct Stream (transcoding audio but not video).

According to https://github.com/croneter/PlexKodiConnect/wiki/Direct-Play trying to play a video with direct play without the path being accessible should fall back to direct stream, log file confirm that this is not the case. Same video file as before but with "Prefered playback method" set to "direct play" :

info <general>: PLEX.playback_decision: User chose playback method DirectPlay in PKC settings
info <general>: PLEX.playback_decision: PKC decided on playback method DirectPlay
info <general>: PLEX.playback_decision: Lets ask the PMS next
info <general>: PLEX.playback_decision: Asking PMS with maximal quality settings
info <general>: PLEX.playback_decision: PMS general decision None: None
info <general>: PLEX.playback_decision: PMS Direct Play decision None: None
info <general>: PLEX.playback_decision: PMS MDE decision 1000: Direct play OK.
info <general>: PLEX.playback_decision: PMS transcoding decision None: None
info <general>: PLEX.playback_decision: The playurl for DirectPlay is: ....

pfoo avatar Oct 31 '25 23:10 pfoo