Conversion failed. The transcoder exited due to an error

Update: Reinstalled the app - and now it works in the Plex app on my Shield, but not Kodi Plex. Weird.

I too am having problems with SRT subtitles. I’ve got a NAS connected to my Shield running Kodi Plex (same problem with regular plex). All apps are updated.

I’m trying to play a 4k movie (HEVC) and get a “Playback failed” after a blue spinning wheel have appeared. and “Transcoder exited because of an error” but only when I choose SRT (both embedded and external) - if I select “none”, the movie works as usual.

this is what shows up in the log - I’m not sure if I need to use the extended debug feature to get necessary info:

Blockquote Feb 23, 2019 20:18:39.994 [8437] DEBUG - [FFMPEG] - Deleting decoder
Feb 23, 2019 20:18:39.996 [8437] DEBUG - Scaled up video bitrate to 144360Kbps based on 4.500000x fudge factor.
Feb 23, 2019 20:18:39.996 [8437] DEBUG - Scaled maximum bitrate for resolution reduction to 36090Kbps.
Feb 23, 2019 20:18:39.999 [8437] DEBUG - Scaled up video bitrate to 144360Kbps based on 4.500000x fudge factor.
Feb 23, 2019 20:18:40.000 [8437] DEBUG - MDE: Selected protocol hls; container: mpegts
Feb 23, 2019 20:18:40.000 [8437] DEBUG - MDE: analyzing media item 1513
Feb 23, 2019 20:18:40.000 [8437] DEBUG - MDE: Fantastic Beasts: The Crimes of Grindelwald (2018): no direct play video profile exists for http/mkv/hevc
Feb 23, 2019 20:18:40.000 [8437] DEBUG - MDE: Fantastic Beasts: The Crimes of Grindelwald (2018): no direct play video profile exists for http/mkv/hevc/ac3
Feb 23, 2019 20:18:40.000 [8437] DEBUG - MDE: Fantastic Beasts: The Crimes of Grindelwald (2018): selected sidecar subtitle stream will be segmented
Feb 23, 2019 20:18:40.000 [8437] DEBUG - MDE: Fantastic Beasts: The Crimes of Grindelwald (2018): no remuxable profile found, so video stream will be transcoded
Feb 23, 2019 20:18:40.000 [8437] DEBUG - MDE: Cannot direct stream video stream due to profile or setting limitations
Feb 23, 2019 20:18:40.000 [8437] DEBUG - Scaled up video bitrate to 144360Kbps based on 4.500000x fudge factor.
Feb 23, 2019 20:18:40.001 [8437] DEBUG - Scaled maximum bitrate for resolution reduction to 36090Kbps.
Feb 23, 2019 20:18:40.001 [8437] DEBUG - MDE: Cannot direct stream audio stream due to codec ac3 when profile only allows aac
Feb 23, 2019 20:18:40.001 [8437] DEBUG - MDE: Fantastic Beasts: The Crimes of Grindelwald (2018): selected media 0 / 1513
Feb 23, 2019 20:18:40.004 [8437] DEBUG - Streaming Resource: Adding session 0x223696fca0:1BE32E18-4576-46FF-AE25-D209133790EC which is using transcoder slot. Used slots is now 1
Feb 23, 2019 20:18:40.004 [8437] DEBUG - Streaming Resource: Added session 0x223696fca0:1BE32E18-4576-46FF-AE25-D209133790EC
Feb 23, 2019 20:18:40.004 [8437] DEBUG - Streaming Resource: Reached Decision id=559 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. No direct play video profile exists for protocol http, with container mkv, and video codec hevc. Transcode=1001,Direct play not available; Conversion OK.) media=(id=1513 part=(id=1513 decision=transcode container=mpegts protocol=hls streams=(Video=(id=3318 decision=transcode bitrate=36090 encoder=h264_mediacodecndk width=1920 height=800) Audio=(id=3319 decision=transcode bitrate=258 encoder=aac channels=2 rate=48000) Subtitle=(id=3347 decision=transcode bitrate=2147483647 encoder=webvtt languageCode=swe location=segmented))))

The issue would need to be investigated initially as Kodi Plex and looking at Kodi Plex diagnostics and if that unearths a server issue then would need to know what that is and have the diagnostics from the server and client and sample to investigate

If you provide full server logs and a short sample set of files that reproduce the failure, will then try and replicate trying out with different clients

See
https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/
https://support.plex.tv/articles/200250417-plex-media-server-log-files/
https://support.plex.tv/articles/201035968-generating-sample-files-from-media/

With regards to Sync and Optimize failure when hardware transcoding has an issue:

A couple of bugs that affected Sync and Conversion for Optimization transcodes when hardware transcoding fails have now been fixed and the fix available as from Plex Media Server 1.15.7.1079

Release Note: Plex Media Server

  • Sync or Optimize could fail to fallback to software transcoding if hardware transcoding failed (#9455)

Sorry but fallback is a workaround NOT a fix and after so many months a fix was expected. Extremely disappointing

4 Likes

I have to agree here.

Waiting more than a year for a fix and all we got can’t even be called a workaround:

Until free memory > X% do{
hw_transcoder_job() //Normal behaviour code
}
drop hw_transcode_job();
sw_transcode_job();

I mean, that’s just the basic idea of the what Plex is calling a fix, and it took more than a year to do that…

Even worse, with this update we had features removed (Premium Music) and many other issues that exist for more than a year are still yet to be fixed (ex.: TV Themes)

I’m hugely disappointed.

2 Likes

The issue has not been fixed:

The failures due to suspected memory issues when hardware transcoding on the Nvidia Shield is a specific case. The fallback to software transcoding was a general fix applying to all platforms. These were bugs where the intention was to fall back to software but there were two separate bugs affecting sync and optimise - these bugs got fixed and I posted the info about the fix since this failure to fallback was raised in this forum thread as an issue

2 Likes

Thanks for the clarification, the way the fixes were listed on the update’s changelog (and on the same update) made it seem they were both the fix. I’m really glad that’s not the case.

And the update to the “specific case” after so many months ?

1 Like

A memory leak in the transcoder has just been fixed in Plex Media Server - currently released as beta - version 1.16.4.

  • (Transcoder) The transcoder process could leak memory on the Nvidia SHIELD (#9291)

For access to beta releases - see
https://support.plex.tv/articles/201844613-early-access-beta-releases/