A required codec could not be found or failed to install

On Windows, I fixed this by going to:

%LOCALAPPDATA%\Plex Media Server\Updates

This is where Plex Media Server stores previous versions that you’ve installed.

I opened the folder for the version prior to the current one (current is 1.41.4.9463-630c9f557, previous is 1.41.3.9314-a0bfb8370), ran the exe to install it, and now it’s working for me.

If you just installed PMS for the first time and don’t have any old versions available, Plex doesn’t have a download page for previous versions. However, if you search for “plex old version,” there is a GitHub page that has links to download old versions directly from Plex’s servers.

4 Likes

Same error after Fedora dnf update.

I tried:

  1. sudo systemctl stop plexmediaserver
  2. cd /var/lib/plexmediaserver/Library/Application Support/Plex Media Server
  3. sudo mv Codecs Codecs-Old
  4. sudo systemctl start plexmediaserver

Still getting the error. My media is all HVEC. Not working on Android TV, Android Phone or Web.

Music plays fine

1 Like

Been meaning to say, this solution to rollback to a previous update worked for me. Thanks! I also see the banner at the top saying the problem has been identified and fixed. I’m not quite brave enough to try it yet unless someone else confirms 1.41.4.9463 definitely works on Windows with AAC now?

1 Like

HEVC Decoder won’t download for me on Unraid 7.0.0 PMS 1.41.4.9463-1-01. Only just updated an hour ago from last months version of PMS rip :frowning: Just FYI

Just posting a fix that worked for me:

For anyone else trying to make it work. I manually downloaded all the linux_x86_64 codecs and then put them in the folder “Codecs/e613bce-97f23d579c1001d8e9cc0d2e-linux-x86_64”. Seems to have done the trick…

https://downloads.plex.tv/codecs/e613bce-97f23d579c1001d8e9cc0d2e/linux-x86_64-standard/libaac_decoder.so
https://downloads.plex.tv/codecs/e613bce-97f23d579c1001d8e9cc0d2e/linux-x86_64-standard/libaac_encoder.so
https://downloads.plex.tv/codecs/e613bce-97f23d579c1001d8e9cc0d2e/linux-x86_64-standard/libac3_decoder.so
https://downloads.plex.tv/codecs/e613bce-97f23d579c1001d8e9cc0d2e/linux-x86_64-standard/libac3_encoder.so
https://downloads.plex.tv/codecs/e613bce-97f23d579c1001d8e9cc0d2e/linux-x86_64-standard/libdca_decoder.so
https://downloads.plex.tv/codecs/e613bce-97f23d579c1001d8e9cc0d2e/linux-x86_64-standard/libh264_decoder.so
https://downloads.plex.tv/codecs/e613bce-97f23d579c1001d8e9cc0d2e/linux-x86_64-standard/libhevc_decoder.so
https://downloads.plex.tv/codecs/e613bce-97f23d579c1001d8e9cc0d2e/linux-x86_64-standard/liblibx264_encoder.so
https://downloads.plex.tv/codecs/e613bce-97f23d579c1001d8e9cc0d2e/linux-x86_64-standard/libmp2_decoder.so
https://downloads.plex.tv/codecs/e613bce-97f23d579c1001d8e9cc0d2e/linux-x86_64-standard/libmp3_decoder.so
https://downloads.plex.tv/codecs/e613bce-97f23d579c1001d8e9cc0d2e/linux-x86_64-standard/libmpeg2video_decoder.so
https://downloads.plex.tv/codecs/e613bce-97f23d579c1001d8e9cc0d2e/linux-x86_64-standard/libmpeg4_decoder.so
https://downloads.plex.tv/codecs/e613bce-97f23d579c1001d8e9cc0d2e/linux-x86_64-standard/libmsmpeg4v3_decoder.so
https://downloads.plex.tv/codecs/e613bce-97f23d579c1001d8e9cc0d2e/linux-x86_64-standard/libvp9_decoder.so

7 Likes

This worked for me. Thanks so much.

Reinstalling previous version has worked for me. Needed a reboot of the pc running the server but it’s all good.

Ok it fixed the plex for me,
Replacing the contents did the magic.

Tried installed an old version of PMS on windows (after removing all the relevant folders such as codecs folder) but still doesn’t seem to work unfortunately.

I’m sure the Plex team will find a way - currently back to old school computer plugged into the tv with an HDMI lead!

For what it’s worth, copying the zipped Codecs you provided into my Codecs folder fixed my issue. Thank you very much, helped us get through a movie night.

It also led me to backtrack and figure out wtaf was going on with my Linux Plex server.

Copied over my Codecs folder from a working Linux installation… All fixed.

Good way to waste 6 hours.

Worked a treat. many thanks…

Thank you so much!

Worked like a charm. Deleting the /Codecs folder and restarting PMS would recreate the /Codecs folder and sub-folder, but wouldn’t re-download the codecs themselves. Just did a wget on all the files above in /e613bce-97f23d579c1001d8e9cc0d2e-linux-x86_64 folder and restarted PMS and everything works again.

1 Like

This works thanks

I tried the shutting down plex server, and deleting the codecs folder, but unfortunately still get an error code: 1008

I guess that trick doesn’t work for windows? Is there a way of downloading codecs if you’re not using linux?

Thanks…

Since I am a new user it wont let me post all the links, but for mac you do the same thing but you change each link from linux-x86_64-standard to darwin-x86_64-standard and you change the extension from .so to .dylib.

You will also need to highlight all of them after you have them in the directory, right-click and select the open option to get mac to allow you to approve them to be used.

Example:

https://downloads.plex.tv/codecs/e613bce-97f23d579c1001d8e9cc0d2e/linux-x86_64-standard/libaac_decoder.sohttps://downloads.plex.tv/codecs/e613bce-97f23d579c1001d8e9cc0d2e/darwin-x86_64-standard/libaac_decoder.dylib

Steps:

  1. download the codecs with the updated pattern above
  2. spin down PMS
  3. copy downloaded codecs into Codecs/e613bce-97f23d579c1001d8e9cc0d2e-darwin-x86_64
  4. highlight all the codecs and right click on one
  5. select the open option
  6. for each dialog that opens warning you of unknown author, press the open button
  7. start PMS

Here is the zip file with all of the files if you don’t want to download them directly from the codec links:

e613bce-97f23d579c1001d8e9cc0d2e-darwin-x86_64.zip (4.1 MB)

Thanks for the starting point @wesley_fletcher

I only tested this on the intel chip, not sure if there are different files for arm

If you are looking for your Codecs dir look in the following places
~/Library/Application Support/Plex Media Server
/Library/Application Support/Plex Media Server
/System/Library/Application Support/Plex Media Server
It may be in any one of those depending on how you installed PMS


@wmr1980_1 there is a codecs zip someone above uploaded for windows, if you wanted to download from source instead you would follow the same instructions here for windows, but change linux-x86_64-standard to windows-x86_64-standard and all the extensions from .so to .dll

1 Like

Thanks. This worked for me on Plex for Windows app(non-appstore) and my PMS.

thank you! I will try that :slight_smile:

Where do I find the codecs folder on Mac? I don’t have a Plex folder in Library/Application Support, and there isn’t a codec folder in PMS application contents.