Our forum migration to Discourse is underway and scheduled to last through June 21. During the migration, the forums will be read-only, except for a single temporary forum (contents of which will not be getting transferred). Read our announcement post for more information about the forum migration.
Hey folks, there is a new Podcast category for forums https://forums.plex.tv/categories/podcasts
If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
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!

Plex is not working - Conversion failed. A required codec could not be found or failed to install.

neo5468neo5468 Members Posts: 28 ✭✭

I already tried getting Plex to work like a month ago, but even with some help from Discord mods, it just didn't work. I was always getting same error; Conversion failed, transcoder crashed or failed to start up. Even when I tried to create Plex Media Server on my laptop, it gave me the same error so I figured something must have been wrong with my network settings, but I already tried opening ports and there is nothing else I can try to troubleshoot.

The only file that plays is a documentary in .mp4 but only if quality is set to Original. If I try to transcode it to 720p lower bitrate or any other setting that isn't Original, it says "Conversion failed. A required codec could not be found or failed to install".

I tried:
-disabling ipv6
-using default and custom directory's
-reinstalling several times
-installing Plex Media Server on different computer
-disabling firewall and opening all listed ports
-manually copying .dll codecs in \AppData\Local\Plex Media Server\Codecs folder, but after I do that, I get "Conversion failed. The transcoder crashed or failed to start up.

I even pressed page 2 on Google search when I was desperate enough to find solution to this problem. It just doesn't want to work.

I am trying to get Plex to work again because I got email with redeemable code for 1 month of Plex cloud, so this should be the best time to try Plex, if only it would work for me. Does anyone have any other suggestion I should try? I really want to use Plex, but it just doesn't let me.

Best Answer

  • sa2000sa2000 Posts: 31,467 Plex Team Member
    Accepted Answer

    @neo5468 said:
    Okay sorry, I always used zippyshare for small files, but I can give you link for dropbox as well, no worries.

    https://www.dropbox.com/s/b3h0v7o28uqwshk/Plex Media Server Logs_2017-08-11_14-31-42.zip?dl=0

    Thank you. It is the RSA directory windows problem i mentioned -
    Unexpected error configuring transcoder: boost::filesystem::unique_path: Keyset as registered is invalid which is already covered by a support article

    Aug 11, 2017 14:31:33.981 [14132] DEBUG - HTTP requesting GET https://plex.tv/api/codecs/h264_decoder?build=windows-i386&deviceId=9dc4e9b9-57d8-44cb-b2a5-900c6c7b4aee&oldestPreviousVersion=1%2E5%2E5%2E3634-995f1dead&version=46b03cf-1241
    Aug 11, 2017 14:31:34.207 [14132] DEBUG - HTTP 200 response from GET https://plex.tv/api/codecs/h264_decoder?build=windows-i386&deviceId=9dc4e9b9-57d8-44cb-b2a5-900c6c7b4aee&oldestPreviousVersion=1%2E5%2E5%2E3634-995f1dead&version=46b03cf-1241
    Aug 11, 2017 14:31:34.209 [14132] ERROR - Unexpected error configuring transcoder: boost::filesystem::unique_path: Keyset as registered is invalid
    Aug 11, 2017 14:31:34.209 [14132] DEBUG - Streaming Resource: Terminated session 06265660:e2aq1fxpq8hmlw6lvfgj3cs1 with reason Conversion failed. The transcoder crashed or failed to start up.
    

    See https://support.plex.tv/hc/en-us/articles/227341367-Windows-Key-not-valid-for-use-in-specified-state-error-and-transcoding-analysis-issues

    Help given free on forums.            Fee-Based Personal Support & Help.        

    _______________________________________________________________________________________

    Plex Support Information              Troubleshooting               FAQs

    Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

    Please do not send logs by Private Message unless specifically requested to
     

Answers

  • trudgetrudge Members, Plex Pass Posts: 2,275 Plex Pass

    post logs so we can see why it isn't downloading the codecs.

  • neo5468neo5468 Members Posts: 28 ✭✭

    It always gives me "HTTP 429 response" and "Codecs: Failed to download XML for codec 'h264_decoder'", "Error configuring transcoder: Decoder install failed: h264".

    Here is full log:

    https://pastebin.com/rLMadNKC

  • sa2000sa2000 Members, Plex Pass, Plex Ninja, Plex Team Member Posts: 31,467 Plex Team Member
    edited August 2017

    Need to see all the log files as the relevant bit is the download of the codec before the 429s start

    Repeated downloads give rise to the error 429
    Need to understand the reason for the repeats and that would be in the logs for the downloads beforehand

    It could be permissions
    It could be disk space
    It could be the windows issue with the rsa directory outlined here https://support.plex.tv/hc/en-us/articles/227341367-Windows-Key-not-valid-for-use-in-specified-state-error-and-transcoding-analysis-issues

    This would be clear from a log of s successful download before the rate limiting error 429 gets returned

    The way to get logs is as described here
    https://support.plex.tv/hc/en-us/articles/200250417-Plex-Media-Server-Log-Files

    That would give us 6 log files for the Plex Media Server logs and may be the previous ones would have covered a successful download failing when saving the codec

    Wait an hour or so and then retry and get all the logs

    And verbose logging is not needed for this - please disable it leaving just debug logging
    See https://support.plex.tv/hc/en-us/articles/201643703-Reporting-issues-with-Plex-Media-Server

    Help given free on forums.            Fee-Based Personal Support & Help.        

    _______________________________________________________________________________________

    Plex Support Information              Troubleshooting               FAQs

    Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

    Please do not send logs by Private Message unless specifically requested to
     
  • neo5468neo5468 Members Posts: 28 ✭✭

    Okay, I disabled verbose logging and tried to play movie again. It didn't give me "A required codec could not be found, but "Conversion failed, transcoder crashed or failed to start up".

    Here is a full .zip folder of my logs, which I downloaded just a few seconds after it crashed, so it should be up to date:

    http://www77.zippyshare.com/v/2OGZwrYh/file.html

  • sa2000sa2000 Members, Plex Pass, Plex Ninja, Plex Team Member Posts: 31,467 Plex Team Member

    @neo5468 said:
    Okay, I disabled verbose logging and tried to play movie again. It didn't give me "A required codec could not be found, but "Conversion failed, transcoder crashed or failed to start up".

    Here is a full .zip folder of my logs, which I downloaded just a few seconds after it crashed, so it should be up to date:

    http://www77.zippyshare.com/v/2OGZwrYh/file.html

    I am not going to install any third party adware to get your logs.
    Please provide a direct link to your logs or attach the zip here
    or use proper services like dropbox or google drive

    Help given free on forums.            Fee-Based Personal Support & Help.        

    _______________________________________________________________________________________

    Plex Support Information              Troubleshooting               FAQs

    Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

    Please do not send logs by Private Message unless specifically requested to
     
  • neo5468neo5468 Members Posts: 28 ✭✭

    Okay sorry, I always used zippyshare for small files, but I can give you link for dropbox as well, no worries.

    https://www.dropbox.com/s/b3h0v7o28uqwshk/Plex Media Server Logs_2017-08-11_14-31-42.zip?dl=0

  • sa2000sa2000 Members, Plex Pass, Plex Ninja, Plex Team Member Posts: 31,467 Plex Team Member
    Accepted Answer

    @neo5468 said:
    Okay sorry, I always used zippyshare for small files, but I can give you link for dropbox as well, no worries.

    https://www.dropbox.com/s/b3h0v7o28uqwshk/Plex Media Server Logs_2017-08-11_14-31-42.zip?dl=0

    Thank you. It is the RSA directory windows problem i mentioned -
    Unexpected error configuring transcoder: boost::filesystem::unique_path: Keyset as registered is invalid which is already covered by a support article

    Aug 11, 2017 14:31:33.981 [14132] DEBUG - HTTP requesting GET https://plex.tv/api/codecs/h264_decoder?build=windows-i386&deviceId=9dc4e9b9-57d8-44cb-b2a5-900c6c7b4aee&oldestPreviousVersion=1%2E5%2E5%2E3634-995f1dead&version=46b03cf-1241
    Aug 11, 2017 14:31:34.207 [14132] DEBUG - HTTP 200 response from GET https://plex.tv/api/codecs/h264_decoder?build=windows-i386&deviceId=9dc4e9b9-57d8-44cb-b2a5-900c6c7b4aee&oldestPreviousVersion=1%2E5%2E5%2E3634-995f1dead&version=46b03cf-1241
    Aug 11, 2017 14:31:34.209 [14132] ERROR - Unexpected error configuring transcoder: boost::filesystem::unique_path: Keyset as registered is invalid
    Aug 11, 2017 14:31:34.209 [14132] DEBUG - Streaming Resource: Terminated session 06265660:e2aq1fxpq8hmlw6lvfgj3cs1 with reason Conversion failed. The transcoder crashed or failed to start up.
    

    See https://support.plex.tv/hc/en-us/articles/227341367-Windows-Key-not-valid-for-use-in-specified-state-error-and-transcoding-analysis-issues

    Help given free on forums.            Fee-Based Personal Support & Help.        

    _______________________________________________________________________________________

    Plex Support Information              Troubleshooting               FAQs

    Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

    Please do not send logs by Private Message unless specifically requested to
     
  • neo5468neo5468 Members Posts: 28 ✭✭

    I just did this and it started working for the first time. Can't believe it. I was messing around with this RSA directory 1 month ago as well, but even when I changed it, file still didn't want to play. That is when I gave up. But now, somehow, it is working. Even when I change quality from Original, it plays the file without any problems.

    Thank you sa2000, I didn't think Plex would ever work for me.

  • _ToXIc__ToXIc_ Members, Plex Pass Posts: 37 Plex Pass
    edited March 13

    anyone know where the RSA folder is on a Plex docker?

    edit: created a custom location and can see the folders being populated in there. but if i use a "Cinema Trailers pre-roll video" i get the same transcoding error on web and mobile players

    however on openPHT it plays the Cinema Trailers pre-roll video's fine without issue.

  • sa2000sa2000 Members, Plex Pass, Plex Ninja, Plex Team Member Posts: 31,467 Plex Team Member
    edited March 13

    ToXIc said:
    anyone know where the RSA folder is on a Plex docker?

    edit: created a custom location and can see the folders being populated in there. but if i use a "Cinema Trailers pre-roll video" i get the same transcoding error on web and mobile players

    however on openPHT it plays the Cinema Trailers pre-roll video's fine without issue.

    The RSA directory issue is a specific windows issues and would not apply to other platforms

    If you have a problem please provide logs
    See my earlier post regarding reporting issues and logs
    Best to ensure debug logging enabled
    Restart the server to get fresh logs
    Reproduce the problem
    Capture the plex media server logs zip
    Attach the zip together with indication of what was being transcoded and what time the error was

    Help given free on forums.            Fee-Based Personal Support & Help.        

    _______________________________________________________________________________________

    Plex Support Information              Troubleshooting               FAQs

    Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

    Please do not send logs by Private Message unless specifically requested to
     
  • _ToXIc__ToXIc_ Members, Plex Pass Posts: 37 Plex Pass
    edited March 13

    here you go sir thanks in advance

    i have a few pre-roll links separated by ";" so unsure which one threw the error but it seems like they all do (unless i'm on my HTPC running openPHT) they are m2ts or mkv files.
    time stamp should be around 4:49-4:50

Sign In or Register to comment.