A required codec could not be found or failed to install

Edit: Looks like Plex is aware of the issue: PMS transcoding h264 broken on DS920+ - #14 by ChuckPa


Feb 14, 2025 16:10:10.202 [19112] ERROR - Codecs: Download failed: Failed to verify SHA1sum of codec!

This was just reported here as well: Cant download new codecs : PleX, and I think Plex needs to update their published hashes. After doing some digging, it looks like Plex rebuilt aac_decoder.dll (and presumably others as well), but kept the same hashes, so the hash validation fails. E.g. when I go to plex.tv/api/codecs/aac_decoder?build=windows-x86_64-standard&deviceId=1&version=e613bce-97f23d579c1001d8e9cc0d2e and compare the hashes listed there against the aac_decoder that I have in my data directory, they match:

Algorithm : SHA256
Hash      : 44B0540AEDB5D76381B751120ABEEE735C846698DBD4C392DE6FD55F9FFA79DB
Path      : [...]\Plex Media Server\Codecs\e613bce-97f23d579c1001d8e9cc0d2e-windows-x86_64\aac_decoder.dll

Algorithm : SHA1
Hash      : E144027BEC2FD322FAB5CA8732EAF7BBC2C1ED87
Path      : [...]\Plex Media Server\Codecs\e613bce-97f23d579c1001d8e9cc0d2e-windows-x86_64\aac_decoder.dll

But when I calculate the hash from the dll downloaded, they’re different:


Algorithm : SHA256
Hash      : 1C4AD67317676B8C8D1AD66A5277855770630DDFF7D88A48424C0E3EB873D6BC
Path      : [...]\Downloads\aac_decoder.dll

Algorithm : SHA1
Hash      : BE94CF89271F5E9698D0BDEC9ED814CE629F4B3A
Path      : [...]\Downloads\aac_decoder.dll

A binary comparison shows that the files are almost identical, but have different timestamps (November 28, 2024 vs February 4, 2025):

and PDB paths:

which results in the different hash.

1 Like