EAE Timeout!

Using PMS via Docker/PlexPass image. Server Version is 1.22.0.4145. Docker is version 20.10.3, build 48d30b5. Host is 64-bit Debian Buster. Here’s a copy of my Compose:

  pms-docker:
    container_name: plex
    hostname: plex
    image: plexinc/pms-docker:plexpass
    ports:
      - "32400:32400"
      - "3005:3005"
      - "8324:8324"
      - "32469:32469"
      - "1900:1900/udp"
      - "32410:32410/udp"
      - "32412:32412/udp"
      - "32413:32413/udp"
      - "32414:32414/udp"
    environment:
      - "ADVERTISE_IP=http://192.168.2.100:32400/"
      - "PLEX_UID=1003"
      - "PLES_GID=998"
      - "TZ=America/New_York"
    volumes:
      - "/docker/config/plex:/config"
      - "/transcode:/transcode"
      - "/mnt/zpool/media:/media"
      - "/etc/localtime:/etc/localtime:ro"
    restart: unless-stopped
    labels:
      - "com.ouroboros.enable=true"
    logging:
      driver: json-file
      options: 
        max-file: "3"
        max-size: "10M"

I’ve got an ext4 /transcode partition which is read/writable by the PMS UID/GID. I can exec into the conatiner, cd /transcode, I can touch /transcode/test, then rm /transcode/test, and so on.

In Plex, I have under Settings > Transcoder > Show Advanced > Transcoder temporary directory > /transcode set.

Whenever I try to play with a client that cannot DirectPlay, I get an endless spinning circle of loading on the client, and I get this error in my logs:

Mar 07, 2021 13:04:06.502 [0x7f7c7dffb700] INFO - [Transcode] CodecManager: starting EAE at "/tmp/pms-f9e5eb1e-80b6-4ffa-9c24-45a956bed940/EasyAudioEncoder"
Mar 07, 2021 13:04:09.000 [0x7f7c7e7fc700] ERROR - [Transcoder] [eac3_eae @ 0x1db9800] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms- f9e5eb1e-80b6-4ffa-9c24-45a956bed940/EasyAudioEncoder/Convert to WAV (to 8ch or less)/689d14c290fef10b-com-plexapp-android_633-0-0.wav'
Mar 07, 2021 13:04:09.000 [0x7f7c7e7fc700] ERROR - [Transcoder] [eac3_eae @ 0x1db9800] error reading output
Mar 07, 2021 13:04:09.000 [0x7f7c7e7fc700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error
Mar 07, 2021 13:04:12.000 [0x7f7c7e7fc700] ERROR - [Transcoder] [eac3_eae @ 0x1db9800] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-f9e5eb1e-80b6-4ffa-9c24-45a956bed940/EasyAudioEncoder/Convert to WAV (to 8ch or less)/689d14c290fef10b-com-plexapp-android_633-0-1.wav'
Mar 07, 2021 13:04:12.000 [0x7f7c7e7fc700] ERROR - [Transcoder] [eac3_eae @ 0x1db9800] error reading output
Mar 07, 2021 13:04:12.000 [0x7f7c7e7fc700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error

Any idea how I fix this?

Have you run out of inotify slots (max_user_watches) ?

I increased the limit, without effect.

A Reddit user ended up suggesting that I shut down Plex, delete the contents of my Codecs directory, and then start Plex back up. This appears to have fixed it.

FYI. Increasing the limit does require PMS restart.

Increasing then restarting Plex probably fixed it. The EAE and transcoder require two inotify slots.

EAE not running means the EAE codec is there. Reloading them all might not have been necessary

After modifying the inotify limit and reloading sysctl, I tried restarted the container, then the docker daemon, then the host, all without success.

which PMS version is in that container please? 1.21.4.4079?

Server Version is 1.22.0.4145. Docker is version 20.10.3, build 48d30b5. Host is 64-bit Debian Buster.

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