# Transcoder saving file as \*.ec3, but plex is expecting \*.wav

**URL:** <https://forums.plex.tv/t/transcoder-saving-file-as-ec3-but-plex-is-expecting-wav/602637>\
**Category:** Plex Media Server\
**Tags:** server-docker\
**Created:** [June 12, 2020, 2:07am UTC](https://forums.plex.tv/t/transcoder-saving-file-as-ec3-but-plex-is-expecting-wav/602637 "2020-06-12T02:07:18Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![eveasin](https://avatars.discourse-cdn.com/v4/letter/e/94ad74/32.png) [@eveasin](https://forums.plex.tv/u/eveasin)\
**Post date:** [June 12, 2020, 2:07am UTC](https://forums.plex.tv/t/transcoder-saving-file-as-ec3-but-plex-is-expecting-wav/602637/1 "2020-06-12T02:07:19Z")

</div>

When trying to transcode files with EAC3 5.1 audio track, the transcoding fails.

The error message on PMS is repeating with an increasing number at the end of the filename.

```auto
[Transcoder] [eac3_eae @ 0x13bbec0] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/Transcode/Sessions/EasyAudioEncoder/Convert to WAV (to 8ch or less)/fwe9epes2ma55j77m9nuww36_1018-0-16.wav'
[0x7fbc89ffb700] Error — [Transcoder] [eac3_eae @ 0xdb9d80] error reading output
[0x7fbc417fa700] Error — [Transcoder] Error while decoding stream #0:1: Input/output error

```

When I check this directory, I can see files with the same filename, however they have a different file ending:

ls -1 /tmp/Transcode/Sessions/EasyAudioEncoder/Convert to WAV (to 8ch or less)/

```auto
fwe9epes2ma55j77m9nuww36_1018-0-15.ec3
fwe9epes2ma55j77m9nuww36_1018-0-16.ec3

```

What’s going on here? Permissions are set correctly for tmp/trancode and the Codec directory (which I have let plex recreate)

PMS: Version 1.19.4.2935, same thing with the last few versions.

---

<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:** [June 12, 2020, 7:03am UTC](https://forums.plex.tv/t/transcoder-saving-file-as-ec3-but-plex-is-expecting-wav/602637/2 "2020-06-12T07:03:55Z")

</div>

How many directories are being monitored (watched) for media changes?  
Linux default maximum is 8192  
EAE needs 2 of those ‘watch’ slots.

The easy ways to check:

1. `find /dir1 /dir2 /dir3 ---- /dirX -type d -print | wc -l`  
where you substitute in your actual media top level directories which you’ve specified in PMS

-or-

1. Verify DEBUG logging is on (VERBOSE OFF) and restart PMS. The `[Notify]` log output will report if it runs out of space in the list (“No space left on device”).

---

<div class="post-metadata">

**Author:** ![Livefreak](https://avatars.discourse-cdn.com/v4/letter/l/ecae2f/32.png) [@Livefreak](https://forums.plex.tv/u/Livefreak)\
**Post date:** [June 16, 2020, 5:44am UTC](https://forums.plex.tv/t/transcoder-saving-file-as-ec3-but-plex-is-expecting-wav/602637/3 "2020-06-16T05:44:04Z")

</div>

I am getting the same issue. This is just new (unraid / [linuxserver.io](http://linuxserver.io)) docker.

It is saving the files as .ec3 and looking for .wav

[Transcoder] [eac3\_eae @ 0x683180] EAE timeout! EAE not running, or wrong folder? Could not read ‘/tmp/pms-389f26bd-7cb0-4184-b92c-fb0c512fbc6a/EasyAudioEncoder/Convert to WAV (to 8ch or less)/2m4li9z2nnwxq9pf5hoq50vh\_1189-0-14.wav’

in the docker folder

root@53430cf147f9:/tmp/pms-389f26bd-7cb0-4184-b92c-fb0c512fbc6a/EasyAudioEncoder/Convert to WAV (to 8ch or less)# ls  
2m4li9z2nnwxq9pf5hoq50vh\_1189-0-20.ec3 2m4li9z2nnwxq9pf5hoq50vh\_1189-0-21.ec3  
root@53430cf147f9:/tmp/pms-389f26bd-7cb0-4184-b92c-fb0c512fbc6a/EasyAudioEncoder/Convert to WAV (to 8ch or less)# ls  
2m4li9z2nnwxq9pf5hoq50vh\_1189-0-21.ec3 2m4li9z2nnwxq9pf5hoq50vh\_1189-0-22.ec3  
root@53430cf147f9:/tmp/pms-389f26bd-7cb0-4184-b92c-fb0c512fbc6a/EasyAudioEncoder/Convert to WAV (to 8ch or less)# ls  
2m4li9z2nnwxq9pf5hoq50vh\_1189-0-21.ec3 2m4li9z2nnwxq9pf5hoq50vh\_1189-0-22.ec3  
root@53430cf147f9:/tmp/pms-389f26bd-7cb0-4184-b92c-fb0c512fbc6a/EasyAudioEncoder/Convert to WAV (to 8ch or less)# ls  
2m4li9z2nnwxq9pf5hoq50vh\_1189-0-22.ec3 2m4li9z2nnwxq9pf5hoq50vh\_1189-0-23.ec3  
root@53430cf147f9:/tmp/pms-389f26bd-7cb0-4184-b92c-fb0c512fbc6a/EasyAudioEncoder/Convert to WAV (to 8ch or less)# ls  
2m4li9z2nnwxq9pf5hoq50vh\_1189-0-22.ec3 2m4li9z2nnwxq9pf5hoq50vh\_1189-0-23.ec3  
root@53430cf147f9:/tmp/pms-389f26bd-7cb0-4184-b92c-fb0c512fbc6a/EasyAudioEncoder/Convert to WAV (to 8ch or less)#

root@53430cf147f9:/# find /tv /movies /music -type d -print | wc -l  
6385

Should have sufficient watch slots.

---

<div class="post-metadata">

**Author:** ![gramkrakerj\_gmail\_com](https://avatars.discourse-cdn.com/v4/letter/g/85f322/32.png) [@gramkrakerj\_gmail\_com](https://forums.plex.tv/u/gramkrakerj_gmail_com)\
**Post date:** [July 7, 2020, 3:53pm UTC](https://forums.plex.tv/t/transcoder-saving-file-as-ec3-but-plex-is-expecting-wav/602637/4 "2020-07-07T15:53:25Z")

</div>

Same Issue.

Logs:

```auto
Jul 07, 2020 15:47:14.000 [0x7fb0e9ce3700] Error — [Transcoder] [eac3_eae @ 0x24e1d00] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-9862a899-9cf9-4d43-a818-58d7c6ca9800/EasyAudioEncoder/Convert to WAV (to 8ch or less)/d7c4bde0-67e7-49f9-a623-2e21d1fc76b5_452-0-244.wav'
Jul 07, 2020 15:47:14.001 [0x7fb0db5e3700] Error — [Transcoder] [eac3_eae @ 0x24e1d00] error reading output
Jul 07, 2020 15:47:14.001 [0x7fb0d95df700] Error — [Transcoder] Error while decoding stream #0:1: Input/output error
Jul 07, 2020 15:47:20.000 [0x7fb0c3fff700] Error — [Transcoder] [eac3_eae @ 0x24e1d00] EAE timeout! EAE not running, or wrong folder? 

```

Looked inside the desired path inside the docker container and could only find these 2 files:

```auto
d7c4bde0-67e7-49f9-a623-2e21d1fc76b5_452-0-261.ec3 d7c4bde0-67e7-49f9-a623-2e21d1fc76b5_452-0-262.ec3

```

---

<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:** [July 7, 2020, 4:10pm UTC](https://forums.plex.tv/t/transcoder-saving-file-as-ec3-but-plex-is-expecting-wav/602637/5 "2020-07-07T16:10:40Z")

</div>

May I see the entire ZIP file please? I need to see what made it decide to take the actions it did.

---

<div class="post-metadata">

**Author:** ![gramkrakerj\_gmail\_com](https://avatars.discourse-cdn.com/v4/letter/g/85f322/32.png) [@gramkrakerj\_gmail\_com](https://forums.plex.tv/u/gramkrakerj_gmail_com)\
**Post date:** [July 7, 2020, 4:24pm UTC](https://forums.plex.tv/t/transcoder-saving-file-as-ec3-but-plex-is-expecting-wav/602637/6 "2020-07-07T16:24:39Z")

</div>

I’m not OP but here’s mine:  
[Plex Media Server Logs\_2020-07-07\_16-22-14.zip](https://forums.plex.tv/uploads/short-url/nnhiB9w24oMm0Y2WYVxa659PkGc.zip) (3.1 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:** [July 7, 2020, 5:13pm UTC](https://forums.plex.tv/t/transcoder-saving-file-as-ec3-but-plex-is-expecting-wav/602637/7 "2020-07-07T17:13:54Z")

</div>

Thanks.

EAC3 -\> WAV is how the EAE (Dolby) works. They mandate all output to be WAV.

There are two conditions which will cause this error:

1. Automatic directory update monitoring (inotify table full)
2. Temp directory not on the file system (network shares do not support notify).

Do any of these apply?

---

<div class="post-metadata">

**Author:** ![gramkrakerj\_gmail\_com](https://avatars.discourse-cdn.com/v4/letter/g/85f322/32.png) [@gramkrakerj\_gmail\_com](https://forums.plex.tv/u/gramkrakerj_gmail_com)\
**Post date:** [July 7, 2020, 5:53pm UTC](https://forums.plex.tv/t/transcoder-saving-file-as-ec3-but-plex-is-expecting-wav/602637/8 "2020-07-07T17:53:56Z")

</div>

I don’t think either apply to me sadly.

I think I ran your command correctly to determine the size of INotify, and it looks much smaller than the max:

```auto
find ./media/sonarr/ ./media/radarr/ ./media/tv/ ./media/movies/ -type d -print | wc -l
142

```

My temp directory is on the system as far as I know (I don’t have any outgoing network shares from my server, I’m a Linux noob).

My transcode directory is mapped through docker to point at my server’s /dev/shm/ folder so it utilizes ram for transcoding (Not sure that matters though).

---

<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:** [July 7, 2020, 6:13pm UTC](https://forums.plex.tv/t/transcoder-saving-file-as-ec3-but-plex-is-expecting-wav/602637/9 "2020-07-07T18:13:03Z")

</div>

Docker makes such a mess of this.

You’re new to Linux **and** running Docker?

May I ask WHY you’re making it so difficult? Did someone tell you this is how it’s done? (if so, they’re wrong).

The native package is more portable than docker **without** the fuss.

---

<div class="post-metadata">

**Author:** ![gramkrakerj\_gmail\_com](https://avatars.discourse-cdn.com/v4/letter/g/85f322/32.png) [@gramkrakerj\_gmail\_com](https://forums.plex.tv/u/gramkrakerj_gmail_com)\
**Post date:** [July 7, 2020, 7:54pm UTC](https://forums.plex.tv/t/transcoder-saving-file-as-ec3-but-plex-is-expecting-wav/602637/10 "2020-07-07T19:54:41Z")

</div>

I’m fairly new to this, so thank you for helping with this. I’m a dev that’s used to windows environments. I’ve been tinkering with raspberry pi’s for years, just still a noob. I really like docker, and I really haven’t had many problems with it.

I removed the transcode temp directory and it’s still causing the same error, so I don’t think that’s the cause.

If you think this is a docker isolated issue i’d be happy to help troubleshoot.

---

<div class="post-metadata">

**Author:** ![gramkrakerj\_gmail\_com](https://avatars.discourse-cdn.com/v4/letter/g/85f322/32.png) [@gramkrakerj\_gmail\_com](https://forums.plex.tv/u/gramkrakerj_gmail_com)\
**Post date:** [July 19, 2020, 7:36pm UTC](https://forums.plex.tv/t/transcoder-saving-file-as-ec3-but-plex-is-expecting-wav/602637/13 "2020-07-19T19:36:40Z")

</div>

I just nuked my codec directory and restarted the container **and that seemed to work**. I don’t see any of the same errors anymore. From what I’ve read this isn’t a permanent fix and you’ll need to re-nuke the directory from time to time. @ChuckPa any thoughts on how to permanently fix this?

---

<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:** [July 19, 2020, 8:07pm UTC](https://forums.plex.tv/t/transcoder-saving-file-as-ec3-but-plex-is-expecting-wav/602637/14 "2020-07-19T20:07:33Z")

</div>

Codecs are small and their buildup shouldn’t be a problem.  
I would suspect a corruption (abrupt shutdown of the server) is the reason problems occur.

I’ve never needed to purge codecs since we started using them in 0.9.17.0.

It stands to reason that smaller CPUs (a Pi - which isn’t “really” blessed for PMS use) might have issues.

---

<div class="post-metadata">

**Author:** ![gramkrakerj\_gmail\_com](https://avatars.discourse-cdn.com/v4/letter/g/85f322/32.png) [@gramkrakerj\_gmail\_com](https://forums.plex.tv/u/gramkrakerj_gmail_com)\
**Post date:** [July 20, 2020, 12:56am UTC](https://forums.plex.tv/t/transcoder-saving-file-as-ec3-but-plex-is-expecting-wav/602637/15 "2020-07-20T00:56:32Z")

</div>

> It stands to reason that smaller CPUs (a Pi - which isn’t “really” blessed for PMS use) might have issues.

That could be an issue for OP but I don’t think that’s the issue in my case. I’m using an intel nuc i7 on the amd64-latest docker builds.

---

<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:** [July 20, 2020, 1:29am UTC](https://forums.plex.tv/t/transcoder-saving-file-as-ec3-but-plex-is-expecting-wav/602637/16 "2020-07-20T01:29:28Z")

</div>

I’ve taken this out of `server-linux-arm` and placed it in the proper tag (which is how I got off on the wrong foot)

These errors:

```auto
Jul 07, 2020 16:22:02.000 [0x7fb0db5e3700] ERROR - [Transcoder] [eac3_eae @ 0x1e75d00] error reading output
Jul 07, 2020 16:22:02.000 [0x7fb0d95df700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error
Jul 07, 2020 16:22:05.000 [0x7fb0d95df700] ERROR - [Transcoder] [eac3_eae @ 0x1e75d00] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-9862a899-9cf9-4d43-a818-58d7c6ca9800/EasyAudioEncoder/Convert to WAV (to 8ch or less)/d7c4bde0-67e7-49f9-a623-2e21d1fc76b5_534-0-179.wav'
Jul 07, 2020 16:22:05.000 [0x7fb0eb4e6700] ERROR - [Transcoder] [eac3_eae @ 0x1e75d00] error reading output
Jul 07, 2020 16:22:05.000 [0x7fb0db5e3700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error
Jul 07, 2020 16:22:08.000 [0x7fb0c3fff700] ERROR - [Transcoder] [eac3_eae @ 0x1e75d00] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-9862a899-9cf9-4d43-a818-58d7c6ca9800/EasyAudioEncoder/Convert to WAV (to 8ch or less)/d7c4bde0-67e7-49f9-a623-2e21d1fc76b5_534-0-180.wav'
Jul 07, 2020 16:22:08.000 [0x7fb0d95df700] ERROR - [Transcoder] [eac3_eae @ 0x1e75d00] error reading output
Jul 07, 2020 16:22:08.000 [0x7fb0737fe700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error
Jul 07, 2020 16:22:11.000 [0x7fb0737fe700] ERROR - [Transcoder] [eac3_eae @ 0x1e75d00] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-9862a899-9cf9-4d43-a818-58d7c6ca9800/EasyAudioEncoder/Convert to WAV (to 8ch or less)/d7c4bde0-67e7-49f9-a623-2e21d1fc76b5_534-0-181.wav'

```

How much media is indexed? Do you have more than 8192 directories? If so, this error will occur unless the `max_user_watches` default of 8192 is increased.

---

<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:** [October 18, 2020, 1:29am UTC](https://forums.plex.tv/t/transcoder-saving-file-as-ec3-but-plex-is-expecting-wav/602637/17 "2020-10-18T01:29:36Z")

</div>

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