Error transcoding media - Failed to download XML for codec 'h264_decoder'

Server Version#: Version 1.24.0.4897
Player Version#: AppleTV (latest)

I’m playing Media after setting the Convert Automatically setting. The screen shows an error that says “Something went wrong with your media, please try again. Conversion Failed. A required Codec could not be found or failed to install.”

Here’s a log snippit:

Aug 04, 2021 16:32:23.792 [0x7fdcda865b38] ERROR - Error issuing curl_easy_perform(handle): 7 Aug 04, 2021 16:32:27.549 [0x7fdcdaf87b38] INFO - [Transcode] CodecManager: obtaining decoder 'h264' Aug 04, 2021 16:32:27.720 [0x7fdcdaf87b38] ERROR - [Transcode] Codecs: Failed to download XML for codec 'h264_decoder' Aug 04, 2021 16:32:27.720 [0x7fdcdaf87b38] WARN - [Transcode] Failed to find decoder 'h264' Aug 04, 2021 16:32:27.720 [0x7fdcdaf87b38] INFO - [Transcode] CodecManager: obtaining decoder 'h264' Aug 04, 2021 16:32:27.917 [0x7fdcdaf87b38] ERROR - [Transcode] Codecs: Failed to download XML for codec 'h264_decoder' Aug 04, 2021 16:32:27.917 [0x7fdcdaf87b38] WARN - [Transcode] Failed to find decoder 'h264' Aug 04, 2021 16:32:27.918 [0x7fdcdaf87b38] INFO - [Transcode] CodecManager: obtaining decoder 'h264' Aug 04, 2021 16:32:28.106 [0x7fdcdaf87b38] ERROR - [Transcode] Codecs: Failed to download XML for codec 'h264_decoder' Aug 04, 2021 16:32:28.106 [0x7fdcdaf87b38] WARN - [Transcode] Failed to find decoder 'h264' Aug 04, 2021 16:32:28.106 [0x7fdcdaf87b38] INFO - [Transcode] CodecManager: obtaining decoder 'h264' Aug 04, 2021 16:32:28.276 [0x7fdcdaf87b38] ERROR - [Transcode] Codecs: Failed to download XML for codec 'h264_decoder' Aug 04, 2021 16:32:28.276 [0x7fdcdaf87b38] WARN - [Transcode] Failed to find decoder 'h264' Aug 04, 2021 16:32:28.277 [0x7fdcdaf87b38] INFO - [Transcode] CodecManager: obtaining decoder 'h264' Aug 04, 2021 16:32:28.449 [0x7fdcdaf87b38] ERROR - [Transcode] Codecs: Failed to download XML for codec 'h264_decoder' Aug 04, 2021 16:32:28.449 [0x7fdcdaf87b38] WARN - [Transcode] Failed to find decoder 'h264' Aug 04, 2021 16:32:28.449 [0x7fdcdaf87b38] INFO - [Transcode] CodecManager: obtaining decoder 'h264' Aug 04, 2021 16:32:28.622 [0x7fdcdaf87b38] ERROR - [Transcode] Codecs: Failed to download XML for codec 'h264_decoder' Aug 04, 2021 16:32:28.622 [0x7fdcdaf87b38] WARN - [Transcode] Failed to find decoder 'h264' Aug 04, 2021 16:32:28.623 [0x7fdcdaf87b38] INFO - [Transcode] CodecManager: obtaining decoder 'h264' Aug 04, 2021 16:32:28.813 [0x7fdcdaf87b38] ERROR - [Transcode] Codecs: Failed to download XML for codec 'h264_decoder' Aug 04, 2021 16:32:28.813 [0x7fdcdaf87b38] WARN - [Transcode] Failed to find decoder 'h264' Aug 04, 2021 16:32:28.813 [0x7fdcdaf87b38] INFO - [Transcode] CodecManager: obtaining decoder 'h264' Aug 04, 2021 16:32:28.986 [0x7fdcdaf87b38] ERROR - [Transcode] Codecs: Failed to download XML for codec 'h264_decoder' Aug 04, 2021 16:32:28.986 [0x7fdcdaf87b38] WARN - [Transcode] Failed to find decoder 'h264' Aug 04, 2021 16:32:28.987 [0x7fdcdaf87b38] INFO - [Transcode] CodecManager: obtaining decoder 'h264' Aug 04, 2021 16:32:29.170 [0x7fdcdaf87b38] ERROR - [Transcode] Codecs: Failed to download XML for codec 'h264_decoder' Aug 04, 2021 16:32:29.170 [0x7fdcdaf87b38] WARN - [Transcode] Failed to find decoder 'h264' Aug 04, 2021 16:32:29.170 [0x7fdcdaf87b38] INFO - [Transcode] CodecManager: obtaining decoder 'h264' Aug 04, 2021 16:32:29.342 [0x7fdcdaf87b38] ERROR - [Transcode] Codecs: Failed to download XML for codec 'h264_decoder' Aug 04, 2021 16:32:29.343 [0x7fdcdaf87b38] WARN - [Transcode] Failed to find decoder 'h264' Aug 04, 2021 16:32:29.343 [0x7fdcdaf87b38] INFO - [Transcode] CodecManager: obtaining decoder 'h264' Aug 04, 2021 16:32:29.515 [0x7fdcdaf87b38] ERROR - [Transcode] Codecs: Failed to download XML for codec 'h264_decoder' Aug 04, 2021 16:32:29.515 [0x7fdcdaf87b38] WARN - [Transcode] Failed to find decoder 'h264' Aug 04, 2021 16:32:29.515 [0x7fdcdaf87b38] INFO - [Transcode] CodecManager: obtaining decoder 'h264' Aug 04, 2021 16:32:29.696 [0x7fdcdaf87b38] ERROR - [Transcode] Codecs: Failed to download XML for codec 'h264_decoder' Aug 04, 2021 16:32:29.696 [0x7fdcdaf87b38] WARN - [Transcode] Failed to find decoder 'h264' Aug 04, 2021 16:32:30.001 [0x7fdcda8adb38] INFO - [Transcode/9DFE787F-AA5A-4C14-869A-BBD00F767FE7] CodecManager: obtaining decoder 'h264' Aug 04, 2021 16:32:30.186 [0x7fdcda8adb38] ERROR - [Transcode/9DFE787F-AA5A-4C14-869A-BBD00F767FE7] Codecs: Failed to download XML for codec 'h264_decoder' Aug 04, 2021 16:32:30.186 [0x7fdcda8adb38] ERROR - [Transcode/9DFE787F-AA5A-4C14-869A-BBD00F767FE7] Error configuring transcoder: Decoder install failed: h264 Aug 04, 2021 16:32:30.354 [0x7fdcdb162b38] WARN - [Transcode] Got a request to stop a transcode session without a valid session GUID.

This started to occur after I installed 1.24.0.4897. Any help would be appreciated.

Thanks Jamie

Please include the logs ZIP which contains a captured failure.

As you see above, it’s not possible to diagnose a snippet.

Ooops sorry.

Here’s the zip.

Jamie

Hate to do this to you.

Please turn DEBUG logging back on? (click SAVE)

Now recreate it one more time.

You don’t save any space but with DEBUG on , I can see what it was trying to do.

At this point, all I have are vague error messages.

see? this is what they look like

Jul 30, 2021 08:33:14.711 [0x7f5b033a80b0] INFO - SQLITE3:0x80000001, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jul 30, 2021 08:33:14.712 [0x7f5b033a80b0] INFO - SQLITE3:0x80000001, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jul 30, 2021 08:33:14.713 [0x7f5b033a80b0] INFO - SQLITE3:0x80000001, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jul 30, 2021 08:33:14.715 [0x7f5b033a80b0] INFO - SQLITE3:0x80000001, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jul 30, 2021 08:33:14.716 [0x7f5b033a80b0] INFO - SQLITE3:0x80000001, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jul 30, 2021 08:33:14.717 [0x7f5b033a80b0] INFO - SQLITE3:0x80000001, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jul 30, 2021 08:33:14.719 [0x7f5b033a80b0] INFO - SQLITE3:0x80000001, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jul 30, 2021 08:33:14.720 [0x7f5b033a80b0] INFO - SQLITE3:0x80000001, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jul 30, 2021 08:33:14.721 [0x7f5b033a80b0] INFO - SQLITE3:0x80000001, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jul 30, 2021 08:33:14.723 [0x7f5b033a80b0] INFO - SQLITE3:0x80000001, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jul 30, 2021 08:33:14.751 [0x7f5b033a80b0] INFO - SQLITE3:0x80000001, 17, statement aborts at 57: [select * from metadata_items limit 1] database schema has changed
Jul 30, 2021 08:33:14.762 [0x7f5b033a80b0] INFO - [CERT/OCSP] Successfully retrieved response from cache.
Jul 30, 2021 08:33:16.558 [0x7f5afe3a6b38] ERROR - [MediaProviderManager] Error issuing curl_easy_perform(handle): 7
Jul 30, 2021 08:33:16.558 [0x7f5afdd37b38] ERROR - [MediaProviderManager] Error issuing curl_easy_perform(handle): 7
Jul 30, 2021 08:33:17.279 [0x7f5afd9edb38] ERROR - [MediaProviderManager] Error issuing curl_easy_perform(handle): 7
Jul 30, 2021 08:33:17.279 [0x7f5afe2e8b38] ERROR - [MediaProviderManager] Error issuing curl_easy_perform(handle): 7
Jul 30, 2021 08:33:17.519 [0x7f5afe525b38] WARN - [EventSourceClient/pubsub] MyPlex: attempted a reachability check but we're not yet mapped.
Jul 30, 2021 08:33:17.643 [0x7f5afe525b38] ERROR - Error issuing curl_easy_perform(handle): 7
Jul 30, 2021 08:33:17.643 [0x7f5afe525b38] WARN - HTTP error requesting GET https://downloads.plex.tv/relay/relay_v1.pub (7, Couldn't connect to server) (Failed to connect to downloads.plex.tv port 443: Connection refused)
Jul 30, 2021 08:33:17.643 [0x7f5afe525b38] ERROR - Relay: Failed to retrieve relay host key from plex.tv
Jul 30, 2021 08:33:18.048 [0x7f5afdea9b38] INFO - Sync: downloaded 1 sync list(s) with 2 sync items(s): 0 new, 0 updated, 0 deleted
Jul 30, 2021 08:33:18.136 [0x7f5b00590b38] WARN - JobManager: Could not find job for handle 190520
Jul 30, 2021 08:33:18.136 [0x7f5afdfb8b38] WARN - Held transaction for too long (../Plugins/PluginDatabaseState.cpp:135): 0.780000 seconds
Jul 30, 2021 08:33:18.138 [0x7f5b00590b38] WARN - JobManager: Could not find job for handle 190592
Jul 30, 2021 08:33:18.185 [0x7f5b00590b38] WARN - JobManager: Could not find job for handle 190594
Jul 30, 2021 08:33:18.964 [0x7f5b00590b38] WARN - JobManager: Could not find job for handle 190658
Jul 30, 2021 08:33:19.202 [0x7f5afe548b38] WARN - PubSub: Received notifyConnectivity event with unknown async identifier ()
Jul 30, 2021 08:33:19.728 [0x7f5b00590b38] WARN - JobManager: Could not find job for handle 190710
Jul 30, 2021 08:33:19.942 [0x7f5afd9edb38] ERROR - Error issuing curl_easy_perform(handle): 7
Jul 30, 2021 08:33:19.942 [0x7f5afe2e8b38] ERROR - Error issuing curl_easy_perform(handle): 7
Jul 30, 2021 08:33:20.617 [0x7f5b00590b38] WARN - JobManager: Could not find job for handle 190737
Jul 30, 2021 08:33:21.402 [0x7f5b00590b38] WARN - JobManager: Could not find job for handle 190760
Jul 30, 2021 08:33:22.102 [0x7f5b00590b38] WARN - JobManager: Could not find job for handle 190785
Jul 30, 2021 08:33:22.105 [0x7f5b00590b38] WARN - JobManager: Could not find job for handle 190654
Jul 30, 2021 08:33:22.471 [0x7f5afe548b38] ERROR - Error issuing curl_easy_perform(handle): 7
Jul 30, 2021 08:33:22.472 [0x7f5afe548b38] WARN - HTTP error requesting GET https://downloads.plex.tv/relay/relay_v1.pub (7, Couldn't connect to server) (Failed to connect to downloads.plex.tv port 443: Connection refused)
Jul 30, 2021 08:33:22.472 [0x7f5afe548b38] ERROR - Relay: Failed to retrieve relay host key from plex.tv
Jul 30, 2021 08:33:23.099 [0x7f5afdbe0b38] WARN - QueryParser: Invalid field 'contentDirectoryID' found, ignoring.
Jul 30, 2021 08:33:23.099 [0x7f5afdbe0b38] WARN - QueryParser: Invalid field 'pinnedContentDirectoryID' found, ignoring.
Jul 30, 2021 08:33:23.102 [0x7f5afd847b38] WARN - QueryParser: Invalid field 'contentDirectoryID' found, ignoring.
Jul 30, 2021 08:33:23.102 [0x7f5afd847b38] WARN - QueryParser: Invalid field 'pinnedContentDirectoryID' found, ignoring.
Jul 30, 2021 08:33:23.103 [0x7f5afdd14b38] WARN - QueryParser: Invalid field 'sectionID' found, ignoring.
Jul 30, 2021 08:33:23.103 [0x7f5afdd14b38] WARN - QueryParser: Invalid field 'contentDirectoryID' found, ignoring.
Jul 30, 2021 08:33:23.104 [0x7f5afdd14b38] WARN - QueryParser: Invalid field 'pinnedContentDirectoryID' found, ignoring.
Jul 30, 2021 08:33:23.104 [0x7f5afdb9ab38] INFO - AutoUpdate: no updates available
Jul 30, 2021 08:33:23.111 [0x7f5afdb9ab38] WARN - QueryParser: Invalid field 'contentDirectoryID' found, ignoring.
Jul 30, 2021 08:33:23.111 [0x7f5afdb9ab38] WARN - QueryParser: Invalid field 'pinnedContentDirectoryID' found, ignoring.
Jul 30, 2021 08:33:23.119 [0x7f5afdd14b38] WARN - QueryParser: Invalid field 'sectionID' found, ignoring.
Jul 30, 2021 08:33:23.119 [0x7f5afdd14b38] WARN - QueryParser: Invalid field 'contentDirectoryID' found, ignoring.
Jul 30, 2021 08:33:23.119 [0x7f5afdd14b38] WARN - QueryParser: Invalid field 'pinnedContentDirectoryID' found, ignoring.
Jul 30, 2021 08:33:23.143 [0x7f5afdd14b38] WARN - QueryParser: Invalid field 'sectionID' found, ignoring.

Verbose logging enabled.

I think I see what the problem might be. Looks like a networking issue. Standby…

@ChuckPa - OK, downloads.plex.tv (and only that domain) was not resolving correctly. Fix the network issue and all is well. Thanks for your help.

Plex is awesome

Didn’t ask for VERBOSE… That is over kill and only captures 2 minutes plus makes it VERY diffcult to diagnose.

DEBUG only please :slight_smile:

Future reference. (that is the default for a reason :wink: )

I’ll remember for next time. I thought debug was enabled the first time, Oh, well.

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