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

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.

[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)/

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.

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”).

I am getting the same issue. This is just new (unraid / 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.

Same Issue.

Logs:

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:

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

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

I’m not OP but here’s mine:
Plex Media Server Logs_2020-07-07_16-22-14.zip (3.1 MB)

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?

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:

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).

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.

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.

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?

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.

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.

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:

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.

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