Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

2.008 every file transcode

faz17faz17 Members Posts: 17 Plex Pass

Hi,
After the update to 2.008 i've notice that if i enable the secure connection every file is transcoding. If i disable this option the same file is direct played.
I'm constrained the enable the secure connection because the file stored in Google drive are too slow to start.
Everything works fine in 2.007.

Answers

  • faz17faz17 Members Posts: 17 Plex Pass

    @Orca Can you help me? The television is J5500
    Thanks

  • OrcaOrca Plex for Samsung Developer Members, Plex Pass, Plex Ninja Posts: 7,154 Plex Ninja

    What are you using? CloudSync or PlexCloud?
    Have you tried setting the playback mode to Direct Play?

  • faz17faz17 Members Posts: 17 Plex Pass

    I'm using my own server. The problem is that if i enable secure connection, every file in local and in google drive is transcoding. Disabling secure connection the same file is working properly.
    I've try to force direct play but without success because the file was transcoded.
    With 2.007 everything working fine

  • OrcaOrca Plex for Samsung Developer Members, Plex Pass, Plex Ninja Posts: 7,154 Plex Ninja

    Just tried it and it works in Direct Play for me. There are a lot of reasons why transcoding is needed.
    If you enable the option "Send debug to PMS" , you can check the logfile.

    The part that does the Direct Play check looks like this:

    2085  Jan 01, 1970 08:05:25 AM - [Player.js] - Player playbackMode : 1
    2086  Jan 01, 1970 08:05:25 AM - [Player.js] - Player mode: 1
    2087  Jan 01, 1970 08:05:25 AM - [Player.js] - checkDirectPlay: /library/metadata/2258 Main.mediaContent: 1
    2088  Jan 01, 1970 08:05:25 AM - [Player.js] - [Check directplay for: com.plexapp.plugins.library]
    2089  Jan 01, 1970 08:05:25 AM - [Player.js] - DirectPlay profile check
    2090  Jan 01, 1970 08:05:25 AM - [Player.js] - [Container  : mp4] --> OK
    2091  Jan 01, 1970 08:05:26 AM - [Player.js] - [Video codec: h264] --> OK
    2092  Jan 01, 1970 08:05:26 AM - [Player.js] - [Audio codec: aac] --> OK
    2093  Jan 01, 1970 08:05:26 AM - [Player.js] - [DirectPlay possible]
    2094  Jan 01, 1970 08:05:26 AM - [Player.js] - Direct Play result: 1
    2095  Jan 01, 1970 08:05:26 AM - [Player.js] - Bandwidth result: 1
    2096  Jan 01, 1970 08:05:26 AM - [Player.js] - Player Direct playing: ...
    
  • faz17faz17 Members Posts: 17 Plex Pass

    I've checked the log file. This is what i found. I hope that is helpful.
    MDE: E4 - Il passato non dorme mai: Direct Play is disabled Apr 13, 2017 21:46:39.919 DEBUG MDE: E4 - Il passato non dorme mai: Direct Streaming is disabled, so video stream will be transcoded Apr 13, 2017 21:46:39.849 DEBUG Cleaning directory for session p7cj645pnvoly () Apr 13, 2017 21:46:38.893 DEBUG Streaming Resource: Reached Decision id=10372 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=16154 part=(id=16680 decision=transcode container=mpegts protocol=hls streams=(Video=(id=37978 decision=transcode bitrate=3417 encoder=libx264 width=1280 height=720) Audio=(id=37979 decision=copy channels=2 rate=48000)))) Apr 13, 2017 21:46:38.892 DEBUG MDE: E4 - Il passato non dorme mai: Direct Play is disabled Apr 13, 2017 21:46:38.892 DEBUG MDE: E4 - Il passato non dorme mai: Direct Streaming is disabled, so video stream will be transcoded Apr 13, 2017 21:46:38.105 DEBUG Completed: [xx.xx.xx.xx:37888] 200 POST /playQueues?type=video&uri=library%3A%2F%2F65acca64-ec08-46e7-a049-c5a46b5302e2%2Fdirectory%2Flibrary%2Fmetadata%2F10372 (5 live) TLS GZIP 51ms 1751 bytes (pipelined: 1) Apr 13, 2017 21:46:38.054 DEBUG Request: [xx.xx.xx.xx:37888 (WAN)] POST /playQueues?type=video&uri=library%3A%2F%2F65acca64-ec08-46e7-a049-c5a46b5302e2%2Fdirectory%2Flibrary%2Fmetadata%2F10372 (5 live) TLS GZIP Signed-in Token (faz17)

  • OrcaOrca Plex for Samsung Developer Members, Plex Pass, Plex Ninja Posts: 7,154 Plex Ninja
    edited April 13

    The part you are showing is actually the server's MDE (Media Decision Engine) log.
    To see the app's logging you need to enable the option Send debug to PMS inside the app first.

    It returns a code 3000, which means:
    This app does not allow this item to be direct played. Check your settings and try again.
    Direct play not available; Conversion OK means we can play it, but need transcoding to do so.
    So something in the video is not compatible with the client's capabilities.
    What codec or subtitle causes that can only be seen with the app's log enabled.

  • faz17faz17 Members Posts: 17 Plex Pass

    Hi @Orca ,
    i've made some test and this is the result. I attach the entire log but this is the part that you have told me to check.
    Plexpy report me that it transcode the video but how you see in the log everthing is ok and the client is capable to play the content. How i told if i disable secure connection the same file is played with direct play.
    I've already tried to do the "samsung dance" without success.
    Apr 15, 2017 16:13:21.353 [0x63d0006dc700] DEBUG - [PlexforSamsung] [Main.js] - Auto Mode is enabled Apr 15, 2017 16:13:21.354 [0x63cfed37a700] DEBUG - [PlexforSamsung] [Player.js] - directUrl: https://xx.xx.xx.xx.48c9c06288ab40f5b9da9958edacb3a6.plex.direct:32400/library/parts/16689/1487693822/file.mkv?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx Apr 15, 2017 16:13:21.355 [0x63d00b773700] DEBUG - [PlexforSamsung] [Player.js] - Player playbackMode : 1 Apr 15, 2017 16:13:21.359 [0x63d007f24700] DEBUG - [PlexforSamsung] [Player.js] - Player mode: 1 Apr 15, 2017 16:13:21.360 [0x63cff0354700] DEBUG - [PlexforSamsung] [Player.js] - checkDirectPlay: /library/metadata/10383 Main.mediaContent: 4 Apr 15, 2017 16:13:21.361 [0x63cfe97d1700] DEBUG - [PlexforSamsung] [Player.js] - [Check directplay for: com.plexapp.plugins.library] Apr 15, 2017 16:13:21.419 [0x63d0006dc700] DEBUG - [PlexforSamsung] [Player.js] - DirectPlay profile check Apr 15, 2017 16:13:21.451 [0x63cfed37a700] DEBUG - [PlexforSamsung] [Player.js] - [Container : mkv] --> OK Apr 15, 2017 16:13:21.462 [0x63d007f24700] DEBUG - [PlexforSamsung] [Player.js] - [Video codec: h264] --> OK Apr 15, 2017 16:13:21.463 [0x63cff0354700] DEBUG - [PlexforSamsung] [Player.js] - [Audio codec: ac3] --> OK Apr 15, 2017 16:13:21.464 [0x63cfe97d1700] DEBUG - [PlexforSamsung] [Player.js] - [DirectPlay possible] Apr 15, 2017 16:13:21.464 [0x63d0006dc700] DEBUG - [PlexforSamsung] [Player.js] - Direct Play result: 1 Apr 15, 2017 16:13:21.465 [0x63cfed37a700] DEBUG - [PlexforSamsung] [Player.js] - Server is remote, checking for allowed bandwidth Apr 15, 2017 16:13:21.465 [0x63d007f24700] DEBUG - [PlexforSamsung] [Main.js] - Transcoding Quality: [12] Apr 15, 2017 16:13:21.466 [0x63d00b773700] DEBUG - [PlexforSamsung] [Transcode.js] - Transcoder decideUrl: https://xx.xx.xx.xx.48c9c06288ab40f5b9da9958edacb3a6.plex.direct:32400/video/:/transcode/universal/decision?X-Plex-Client-Profile-Extra=add-transcode-target(type%3DsubtitleProfile%26context%3Dall%26protocol%3Dhttp%26container%3Dsrt%26subtitleCodec%3Dsrt)&hasMDE=1&location=wan&path=%2Flibrary%2Fmetadata%2F10383&mediaIndex=0&partIndex=0&session=p7cj645pnvoly&protocol=hls&offset=0&fastSeek=1&directPlay=0&directStream=0&copyts=1&audioBoost=100&videoQuality=100&videoResolution=1920x1080&maxVideoBitrate=20000&autoAdjustQuality=1&subtitles=sidecar&X-Plex-Version=2.008&X-Plex-Product=Plex+for+Samsung&X-Plex-Client-Platform=Samsung&X-Plex-Client-Platform-Version=5.1&X-Plex-Platform=Samsung&X-Plex-Platform-Version=5.1&X-Plex-Device=Samsung+TV&X-Plex-Device-Name=TV+UE50J5500&X-Plex-Model=TV+UE50J5500&X-Plex-Provides=client%2Cplayer%2Cpubsub-player&X-Plex-Client-Identifier=p7cj645pnvoly&X-Plex-Language=it&X-Plex-Username=faz17&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx Apr 15, 2017 16:13:21.467 [0x63d00ef99700] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication. Apr 15, 2017 16:13:21.467 [0x63d00ef99700] DEBUG - Auth: authenticated user 1 as faz17 Apr 15, 2017 16:13:21.467 [0x63d00ef99700] DEBUG - Auth: Came in with a super-token, authorization succeeded. Apr 15, 2017 16:13:21.467 [0x63cff0354700] DEBUG - Request: [xx.xx.xx.xx:49114 (WAN)] GET /video/:/transcode/universal/decision (15 live) TLS GZIP Signed-in Token (faz17) Apr 15, 2017 16:13:21.468 [0x63cff0354700] DEBUG - Found session GUID of p7cj645pnvoly in session start. Apr 15, 2017 16:13:21.468 [0x63cff0354700] DEBUG - TranscodeUniversalRequest: using augmented profile Samsung Apr 15, 2017 16:13:21.469 [0x63cff0354700] DEBUG - Downloading document http://127.0.0.1:32400/library/metadata/10383?includeBandwidths=1

  • OrcaOrca Plex for Samsung Developer Members, Plex Pass, Plex Ninja Posts: 7,154 Plex Ninja

    I see a few issues:

    `Transcoding Quality: [12] > Don't use 12 it's too much for most connections, set it to 10.

    Apr 15, 2017 16:13:21.466 [0x63d00b773700] DEBUG - [PlexforSamsung] [Transcode.js] - Transcoder decideUrl: ....
    Apr 15, 2017 16:13:21.767 [0x63cfe97d1700] DEBUG - [PlexforSamsung] [Player.js] - Server decision: 0: Unknown
    Apr 15, 2017 16:13:21.769 [0x63cfed37a700] DEBUG - [PlexforSamsung] [Player.js] - Bandwidth result: 0

    It seems the server you are connecting to, has trouble with checking the bandwidth usage.
    This results in the app thinking that the bandwidth might be too low and it decides to let the server handle it by transcoding.
    Is it a recent PMS version?

  • faz17faz17 Members Posts: 17 Plex Pass

    The PMS is the last version. I've tried with 10 and it's the same. I have a 1Gbit connection at home and a 100 Mb in my remote server.
    If i disable secure connection on the tv app the file is direct played.
    What i can try now?

  • kopfpilotkopfpilot Members, Plex Pass Posts: 286 Plex Pass
    edited April 16

    nevermind.. took me some time to figure out you are using pms on a pvs. According the used urls, it doesn't look like you are using custom server access urls (which would just complicate things).

    I would've had ideas about a local setup, but none for a remote pvs setup.

  • faz17faz17 Members Posts: 17 Plex Pass
    edited April 16

    My pms is on a remote vps

  • faz17faz17 Members Posts: 17 Plex Pass

    So @Orca my problem is the same that you reported here?
    https://forums.plex.tv/discussion/267936/downgrade-to-2-007#latest
    Thanks

  • OrcaOrca Plex for Samsung Developer Members, Plex Pass, Plex Ninja Posts: 7,154 Plex Ninja

    Yeah, I'm afraid it may be.

  • faz17faz17 Members Posts: 17 Plex Pass

    Ok. The important thing is to find the problem. We'll wait for a fix.
    Thanks

  • cheremocheremo Members Posts: 18 ✭✭
    edited May 19

    here same problem :blush:
    running (a debian) PMS V. 1.5.5.3634 on a OVH dedicated server with enough resources.

    DEBUG - [PlexforSamsung] [Player.js] - DirectPlay profile check
    DEBUG - [PlexforSamsung] [Player.js] - [Container : mkv] --> OK
    DEBUG - [PlexforSamsung] [Player.js] - [Video codec: h264] --> OK
    DEBUG - [PlexforSamsung] [Player.js] - [Audio codec: dca] --> OK
    DEBUG - [PlexforSamsung] [Player.js] - Direct Play result: 1
    DEBUG - [PlexforSamsung] [Player.js] - [DirectPlay possible]
    DEBUG - [PlexforSamsung] [Main.js] - Transcoding Quality: [10]
    DEBUG - [PlexforSamsung] [Player.js] - Server is remote, checking for allowed bandwidth
    DEBUG - [PlexforSamsung] [Transcode.js] - Transcoder decideUrl: https://...
    DEBUG - [PlexforSamsung] [Player.js] - Server decision: 0: Unknown
    DEBUG - [PlexforSamsung] [Player.js] - Bandwidth result: 0
    DEBUG - [PlexforSamsung] [Player.js] - Player starting Transcode: https:

Sign In or Register to comment.