New Plex Media Server install won't play/transcode Dolby TrueHD files

Server Version#: plex 1.30.2.6563_1.7.27 (Official Chart on TrueNAS Scale)
Player Version#: various. Web, Roku App 7.0 -build 24, and Android TV app v9.15.0.38159

I have tried repeatedly and I cannot get my movie files that have Dolby TrueHD soundtracks to play. I’ve tried just about setting I can find. It doesn’t seem to matter if they are 5.1 or 7.1 tracks. On the Roku apps, the playback spins and shows a % for about 5 seconds, then it comes back and says playback has stopped due to a number of playback errors. Check Connection.

The Android app (on a Hisense SmartTV) just keeps spinning with no % showing and no errors. It continues for at least several minutes before I stop.

On a web interface (Firefox), it spins for a few seconds and the gives an error that says “Playback Error: Conversion Failed: A required codec could not be found or failed to install.”

This a TrueNAS Scale Build (22.12.0) using the official TrueNAS Chart with no advanced settings modified. Other than the TrueHD movies, everything else plays back brilliantly on all devices/apps. I have noticed that the TrueHD movies will play back perfectly with Direct Play on using either the Windows Plex Desktop or Linux Desktop app. These same files play back perfectly using Kodi and my SMB Share. It is only a problem with Plex via the Web, Roku and Android TV apps. I don’t typically use on mobile devices.

As far as the source material, it is almost all in .mkv format (encoded with either h.264 or h.265 and it doesn’t seem to matter which encode). Most only have one soundtrack that was kept, I usually kept the best quality either AC3, DTS, DTSHD-MA, Multichannel PCM, or TrueHD. None of the movies are 4K. They are all 1080p rips from standard BluRay discs in my collection.

Prior to this TrueNAS Scale server build, I was successfully running Plex Media Server inside of an LXC within a Proxmox VE server and I did not have any issues playing back these files to the same Roku devices, in the same network, etc. I mean it was working correctly on the other server a week ago.

This server is not resource limited either. It is a Xeon E5-2680v4/64GB ECC RAM running SSDs for apps and a large ZFS pool for storage.

Any help would be appreciated. I’ve never had to create Plex Log files, so if that can help, let me know the best way to collect them. The log from the TrueNAS app seemed to be very limited? Only a few startup lines and then the libusb_init failed error, which I understand doesn’t really apply.

Updating to include a download of my Server logs.
Plex Media Server Logs_2023-02-01_17-50-00.zip (810.0 KB)

Shortly before pulling these logs (all within 20 minutes), I tried to play on a Roku Premiere +, a Roku Soundbar, then on a Firefox browser, then finally (successfully) on the Windows Plex Desktop app. On each device, I chose a few different TrueHD movies both older h264 encodes and newer h265 encodes. After two or three movies failing, I turned off and went to the next device.

Saw your post on Reddit, but it appears to be a permissions issue that the Plex user is running as.

Relevant log entries:

Feb 01, 2023 17:45:22.040 [0x7fc56b558b38] DEBUG - [Req#9384/Transcode/915d2df3-49cc-4aaf-951e-5b95a9c298df-29] Starting a transcode session 915d2df3-49cc-4aaf-951e-5b95a9c298df-29 at offset -1.0 (state=3)
Feb 01, 2023 17:45:22.040 [0x7fc56b558b38] INFO - [Req#9384/Transcode/915d2df3-49cc-4aaf-951e-5b95a9c298df-29] CodecManager: obtaining EAE
Feb 01, 2023 17:45:22.041 [0x7fc56b558b38] DEBUG - [Req#9384/Transcode/915d2df3-49cc-4aaf-951e-5b95a9c298df-29/HCl#185] HTTP requesting GET https://plex.tv/api/codecs/easyaudioencoder?build=linux-x86_64-standard&deviceId=9505db0b-f9a7-4484-80e4-b8d286fc5b84&oldestPreviousVersion=legacy&version=1847
Feb 01, 2023 17:45:22.576 [0x7fc56b95eb38] DEBUG - Request: [192.168.1.47:44812 (Subnet)] GET /identity (13 live) #9381 Signed-in
Feb 01, 2023 17:45:22.577 [0x7fc5713aab38] DEBUG - Completed: [192.168.1.47:44812] 200 GET /identity (13 live) 0ms 398 bytes (pipelined: 1)
Feb 01, 2023 17:45:22.594 [0x7fc56f411b38] DEBUG - [HttpClient/HCl#185] HTTP/2.0 (0.6s) 200 response from GET https://plex.tv/api/codecs/easyaudioencoder?build=linux-x86_64-standard&deviceId=9505db0b-f9a7-4484-80e4-b8d286fc5b84&oldestPreviousVersion=legacy&version=1847
Feb 01, 2023 17:45:22.594 [0x7fc56a946b38] DEBUG - [Req#9384/Transcode/915d2df3-49cc-4aaf-951e-5b95a9c298df-29/GetFile/HCl#186] HTTP requesting GET https://downloads.plex.tv/codecs/1847/linux-x86_64-standard/EasyAudioEncoder-linux-x86_64-standard.zip
Feb 01, 2023 17:45:22.623 [0x7fc56bf75b38] DEBUG - Request: [192.168.1.47:44816 (Subnet)] GET /identity (13 live) #9385 Signed-in
Feb 01, 2023 17:45:22.623 [0x7fc5713aab38] DEBUG - Completed: [192.168.1.47:44816] 200 GET /identity (13 live) 0ms 398 bytes (pipelined: 1)
Feb 01, 2023 17:45:23.172 [0x7fc56f411b38] DEBUG - [HttpClient/HCl#186] HTTP/2.0 (0.6s) 200 response from GET https://downloads.plex.tv/codecs/1847/linux-x86_64-standard/EasyAudioEncoder-linux-x86_64-standard.zip
Feb 01, 2023 17:45:23.260 [0x7fc56b558b38] ERROR - [Req#9384/Transcode/915d2df3-49cc-4aaf-951e-5b95a9c298df-29] Unzip: could not set executable bit on output file
Feb 01, 2023 17:45:23.260 [0x7fc56b558b38] ERROR - [Req#9384/Transcode/915d2df3-49cc-4aaf-951e-5b95a9c298df-29] CodecManager: failed to extract zip
Feb 01, 2023 17:45:23.260 [0x7fc56b558b38] ERROR - [Req#9384/Transcode/915d2df3-49cc-4aaf-951e-5b95a9c298df-29] Error configuring transcoder: Decoder install failed: truehd_eae
Feb 01, 2023 17:45:23.260 [0x7fc56b558b38] DEBUG - [Req#9384/Transcode/915d2df3-49cc-4aaf-951e-5b95a9c298df-29] Streaming Resource: Terminated session 0x7fc56f0d17d8:b86d4946584288a2096b394c0a120814 with reason Conversion failed. A required codec could not be found or failed to install.
Feb 01, 2023 17:45:23.260 [0x7fc56c562b38] DEBUG - [Req#9384/Transcode/915d2df3-49cc-4aaf-951e-5b95a9c298df-29] Killing job.
Feb 01, 2023 17:45:23.260 [0x7fc56c562b38] DEBUG - [Req#9384/Transcode/915d2df3-49cc-4aaf-951e-5b95a9c298df-29] Job was already killed, not killing again.

It is trying to download https://downloads.plex.tv/codecs/1847/linux-x86_64-standard/EasyAudioEncoder-linux-x86_64-standard.zip and failing to set the executable bit: Unzip: could not set executable bit on output file. Which results in Error configuring transcoder: Decoder install failed: truehd_eae.

Not sure of your exact setup (e.g. is Plex running on a NTFS mounted partition on a Linux system, etc), but wherever Plex is running it needs to feel like it can successfully set the executable bit. So my advice is to figure that piece out so EasyAudioEncoder can run and you’ll be back in business!

It is the Official Plex Chart on TrueNAS Scale. I believe that is like a docker container? There are not a lot of options to set, but I’ll see if anyone at the TrueNAS forum can help with that. So far, crickets over there.

Turns out, probably due to permissions, the EasyAudioEncoder folder had a .tmp at the end of the folder name. Fixing was as simple as removing the .tmp on that folder name. Once I removed that, the TrueHD files play back just fine on all my devices.
FYI: It was inside Library/Application Support/Plex Media Server/Codecs/

I also went ahead and created a global plex UID (972) that had permissions for that folder. Not sure if that will help in the future.

NOTE:

If it ended in .tmp, that was an incomplete download + install.
You performing the cleanup by hand finished the “install”

Keep an eye on it with next container update.
If issues, contact the container maintainer.

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