Unable to Transcode any TrueHD audio

Server Version#: 1.24.5.5173
Player Version#: Web 4.63.0

When transcoding files that only have TrueHD audio I’m unable to start the transcode in most Plex players (Apple TV, Web, Windows, iOS), the ones I’ve tried at least, and receive an unknown transcoder error. My logs show the following two lines repeated many times every second.

Oct 30, 2021 21:31:34.178 [0x7fcb44885b38] ERROR - [Transcoder] Error while decoding stream #0:1: Unknown error occurred

Oct 30, 2021 21:31:34.178 [0x7fcb44885b38] ERROR - [Transcoder] Error while decoding stream #0:1: Unknown error occurred
Oct 30, 2021 21:31:34.180 [0x7fcb44885b38] ERROR - [Transcoder] [truehd_eae @ 0x7f876af47940] error reading output

I’ve followed several steps I’ve read about increasing inotify watches, deleting and allowing Plex to redownload the EasyAudioEncoder folder, and checking permissions for the resulting codec binary with no results.Plex Media Server Logs_2021-10-30_22-02-25.zip (2.3 MB)

Where is the transcoder temp directory pointing?

If you have it on a network share, EAE won’t work.

The EAE needs a local file system lock + a notify slot to work properly.

Everything is local storage. Transcoder temp was originally /tmp, no issues with transcodes of other formats. Tried moving it to another directory, also local, no changes.

Next thing to check.

  1. Which kernel version are you using
    -and-
  2. How many directories are being monitored by the notify service?

I ask because the EAE & Transcoder use 2 Notify slots to coordinate audio conversion (done that way due to licensing).

The older kernel default for max_user_watches is 8192.
The newer kernel default for max_user_watches is 65536.

If those slots are all used, EAE/Transcoder won’t be able to communicate.

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