Transcodes failing consistently. Failed find decoder 'h264' and other errors

Server Version#: 1.20.3.3437
Player Version#: 4.45.0

Hey all - seeing this out of the blue on my Plex Media Server docker install… been working fine for a few months, and suddenly transcoding fails every time a remote or local user attempts to watch something, whether it’s the Xbox player, Chrome, or Roku (only ones tested so far).

Disabling transcoding entirely also doesn’t seem to help the issue, and i’m at a loss right now. uploading the logs after going through steps to repro and saving them out after waiting a minute or so. A few errors i was noticing:

[Transcode] Failed to find decoder 'h264'
[Transcode] [FFMPEG] - Cannot load libcuda.so.1
[Transcode] [FFMPEG] - Could not dynamically load CUDA
Unable to find client profile for device
Got a request to stop a transcode session without a session GUID (or with an invalid one).

EDIT: For clarity, this happens with any file that needs to transcode, not just one or a few in particular :wink:

Plex Media Server Logs_2020-10-22_01-58-09.zip (2.9 MB)

is your /config located on a partition which does not have the exec privilege set?

Oct 22, 2020 01:43:53.897 [0x7f6e58ecb700] INFO - Plex Media Server v1.20.3.3437-f1f08d65b - Docker Docker Container (LinuxServer.io) x86_64 - build: linux-x86_64 debian - GMT 00:00

edited the /etc/fstab/ to change the flag from noexec to exec for that partition

this appears to have fixed the issue, could noexec have been set by a system update or something?

It might have but that seems both rude and unlikely.
Most distros do assume, and so set, noexec for anything which isn’t the system disk when first added.

fair enough, and thanks for your help!

interesting how the issue just seemingly appeared out of nowhere :stuck_out_tongue:

Did you feed the gremlins after midnight? :thinking:

the plot thickens…

I had a couple of buffering instances when attempting to watch today, but the transcoder seemed to recover a few times before quitting the stream entirely. Turned on the console and saw it throwing the same FFMPEG errors, this time intermittently. wondering if the drive might be failing or something at this point…? uploading the logs

Plex Media Server Logs_2020-10-22_19-21-34.zip (3.4 MB)

There is minimal hardware support when subtitle burning is active.
This is because Intel did not provide an API to let the hardware merge the two images (video + subtitle overlay).

Oct 22, 2020 19:14:36.717 [0x7f5f3b7fe700] DEBUG - HTTP 200 response from GET https://downloads.plex.tv/codecs/02cff92-3522/linux-x86_64-standard/libac3_decoder.so
Oct 22, 2020 19:14:36.722 [0x7f5ecdffb700] DEBUG - [Transcode] Codecs: testing h264 (decoder) with hwdevice vaapi
Oct 22, 2020 19:14:36.722 [0x7f5ecdffb700] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Oct 22, 2020 19:14:36.723 [0x7f5ecdffb700] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Input/output error
Oct 22, 2020 19:14:36.723 [0x7f5ecdffb700] DEBUG - [Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec
Oct 22, 2020 19:14:36.723 [0x7f5ecdffb700] DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvdec
Oct 22, 2020 19:14:36.723 [0x7f5ecdffb700] ERROR - [Transcode] [FFMPEG] - Cannot load libcuda.so.1
Oct 22, 2020 19:14:36.723 [0x7f5ecdffb700] ERROR - [Transcode] [FFMPEG] - Could not dynamically load CUDA
Oct 22, 2020 19:14:36.723 [0x7f5ecdffb700] DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Oct 22, 2020 19:14:36.723 [0x7f5ecdffb700] DEBUG - [Transcode] Scaled up video bitrate to 3246Kbps based on 1.500000x fudge factor.
Oct 22, 2020 19:14:36.723 [0x7f5ecdffb700] DEBUG - [Transcode] Evanescent Encounter (3) - audio.channels limitation applies: 6 > 2
Oct 22, 2020 19:14:36.723 [0x7f5ecdffb700] DEBUG - [Transcode] Evanescent Encounter (3) - audio.channels limitation applies: 6 > 2
Oct 22, 2020 19:14:36.723 [0x7f5ecdffb700] DEBUG - [Transcode] MDE: Cannot direct stream audio stream due to profile or setting limitations
Oct 22, 2020 19:14:36.723 [0x7f5ecdffb700] DEBUG - [Transcode] MDE: Samurai Champloo - S1 E26 - Evanescent Encounter (3): selected media 0 / 11704
Oct 22, 2020 19:14:36.723 [0x7f5f3b7fe700] DEBUG - Codecs: Downloading current version of dca decoder
Oct 22, 2020 19:14:36.723 [0x7f5f3b7fe700] INFO - CodecManager: obtaining decoder 'dca'
Oct 22, 2020 19:14:36.723 [0x7f5ecdffb700] DEBUG - [Transcode] Streaming Resource: Adding session 0x7f5ebc087670:25e0d750ec7fd3ce4fe9fc59dbf3e4b1 which is using transcoder slot.  Used slots is now 1
Oct 22, 2020 19:14:36.723 [0x7f5ecdffb700] DEBUG - [Transcode] Streaming Resource: Added session 0x7f5ebc087670:25e0d750ec7fd3ce4fe9fc59dbf3e4b1
Oct 22, 2020 19:14:36.723 [0x7f5ecdffb700] DEBUG - [Transcode] Streaming Resource: Reached Decision id=6922 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=11704 part=(id=11713 decision=transcode container=mpegts protocol=hls streams=(Video=(id=28122 decision=transcode bitrate=3246 encoder=libx264 width=1920 height=1080) Audio=(id=28123 decision=transcode bitrate=723 encoder=eac3_eae channels=6 rate=48000) Subtitle=(id=28125 decision=burn languageCode=eng location=embedded))))
Oct 22, 2020 19:14:36.723 [0x7f5f3b7fe700] DEBUG - HTTP requesting GET https://plex.tv/api/codecs/dca_decoder?build=linux-x86_64-standard&deviceId=b2214fce-0323-44ab-b749-b2d8fd9fe993&oldestPreviousVersion=1%2E19%2E4%2E2935-79e214ead&version=02cff92-3522

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