# Unable to Transcode any TrueHD audio

**URL:** <https://forums.plex.tv/t/unable-to-transcode-any-truehd-audio/754361>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [October 31, 2021, 2:07am UTC](https://forums.plex.tv/t/unable-to-transcode-any-truehd-audio/754361 "2021-10-31T02:07:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![cleavenworth](https://avatars.discourse-cdn.com/v4/letter/c/f04885/32.png) [@cleavenworth](https://forums.plex.tv/u/cleavenworth)\
**Post date:** [October 31, 2021, 2:07am UTC](https://forums.plex.tv/t/unable-to-transcode-any-truehd-audio/754361/1 "2021-10-31T02:07:49Z")

</div>

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

```auto
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](https://forums.plex.tv/uploads/short-url/dLL1p4twTMuwj2oSTqiP0dgsg6m.zip) (2.3 MB)

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [October 31, 2021, 2:23am UTC](https://forums.plex.tv/t/unable-to-transcode-any-truehd-audio/754361/2 "2021-10-31T02:23:18Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![cleavenworth](https://avatars.discourse-cdn.com/v4/letter/c/f04885/32.png) [@cleavenworth](https://forums.plex.tv/u/cleavenworth)\
**Post date:** [October 31, 2021, 4:59pm UTC](https://forums.plex.tv/t/unable-to-transcode-any-truehd-audio/754361/3 "2021-10-31T16:59:22Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [October 31, 2021, 5:18pm UTC](https://forums.plex.tv/t/unable-to-transcode-any-truehd-audio/754361/4 "2021-10-31T17:18:02Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 29, 2022, 5:18pm UTC](https://forums.plex.tv/t/unable-to-transcode-any-truehd-audio/754361/5 "2022-01-29T17:18:47Z")

</div>

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