HEVC 10bit main is transcoding fine but HEVC 8bit main is not

Server Version#: 1.22.3.4523
I run pms in a docker on my 920+ with hw transcoding. Everything works like charm with 10bit HEVC. However with 8bit movies it just keeps spinning and then I get an error.

Player Version#: Version 1.31.1.2262-74fdc6b7

this is the error I get:

May 25, 2021 20:39:59.000 [0x7f6fe3fff700] Error — [Transcoder] [eac3_eae @ 0x126b800] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-94f969a6-210d-4119-8d12-d4717ffb229f/EasyAudioEncoder/Convert to WAV (to 8ch or less)/5ek36p49xppcw4ikijlui7dq_30014-0-6.wav'
May 25, 2021 20:39:59.000 [0x7f6f827fc700] Error — [Transcoder] [eac3_eae @ 0x126b800] error reading output
May 25, 2021 20:39:59.001 [0x7f6fe0ff9700] Error — [Transcoder] Error while decoding stream #0:2: Input/output error
May 25, 2021 20:40:02.000 [0x7f6f827fc700] Error — [Transcoder] [eac3_eae @ 0x126b800] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-94f969a6-210d-4119-8d12-d4717ffb229f/EasyAudioEncoder/Convert to WAV (to 8ch or less)/5ek36p49xppcw4ikijlui7dq_30014-0-7.wav'
May 25, 2021 20:40:02.001 [0x7f6fe0ff9700] Error — [Transcoder] [eac3_eae @ 0x126b800] error reading output
May 25, 2021 20:40:02.001 [0x7f6fe3fff700] Error — [Transcoder] Error while decoding stream #0:2: Input/output error
May 25, 2021 20:40:05.000 [0x7f6fe3fff700] Error — [Transcoder] [eac3_eae @ 0x126b800] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-94f969a6-210d-4119-8d12-d4717ffb229f/EasyAudioEncoder/Convert to WAV (to 8ch or less)/5ek36p49xppcw4ikijlui7dq_30014-0-8.wav'
May 25, 2021 20:40:05.000 [0x7f6f827fc700] Error — [Transcoder] [eac3_eae @ 0x126b800] error reading output
May 25, 2021 20:40:05.001 [0x7f6fe0ff9700] Error — [Transcoder] Error while decoding stream #0:2: Input/output error
May 25, 2021 20:40:08.000 [0x7f6fe0ff9700] Error — [Transcoder] [eac3_eae @ 0x126b800] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-94f969a6-210d-4119-8d12-d4717ffb229f/EasyAudioEncoder/Convert to WAV (to 8ch or less)/5ek36p49xppcw4ikijlui7dq_30014-0-9.wav'
May 25, 2021 20:40:08.000 [0x7f6fe3fff700] Error — [Transcoder] [eac3_eae @ 0x126b800] error reading output
May 25, 2021 20:40:08.001 [0x7f6f827fc700] Error — [Transcoder] Error while decoding stream #0:2: Input/output error

finally I get An unknown error occurred (4294967279)

Error code: 4294967279 playback error. Any ideas?

This is my docker-compose for plex

# Plex - https://linuxserver.dev/containers/plex/
# <mkdir /volume1/docker/appdata/plex>
  plex:
    container_name: plex
    image: plexinc/pms-docker:latest
    restart: always
    logging:
      driver: json-file
    network_mode: host
    ports:
      - 32400:32400
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}
      - UMASK=002
      - ARGS=
      - DEBUG=no
      - PLEX_CLAIM=${PLEX_CLAIM}
      - ADVERTISE_IP=
      - ALLOWED_NETWORKS=
      - PLEX_PASS=${PLEX_PASS}
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ${DOCKERCONFDIR}/plex:/config:rw
      - ${DOCKERSTORAGEDIR}/media:/data/media:rw
      - /tmp:/transcode:rw
      - /tmp:/tmp:rw
      - /volumeUSB1/usbshare1-2/plex:/usb1
      - /volumeUSB2/usbshare2-2/plex:/usb2
      - /volumeUSB3/usbshare3-2/plex:/usb3
      - /volumeUSB4/usbshare4-2/plex:/usb4
    devices:
      - /dev/dri:/dev/dri
    privileged: true


Thank you in advance

I thought it was debug. Do you mean this

Time

Level
Error

Thread

Message
[Transcoder] [eac3_eae @ 0xac9800] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-18eebc62-1993-4479-b33a-eb4d2e616f89/EasyAudioEncoder/Convert to WAV (to 8ch or less)/okzf5xfn94txj0a90fe7x4fb_539-0-4.wav'

When you get EAE timeout, the most likely cause is an insufficient supply of Watch slots available (transcoder needs 2)

DEBUG logging, capturing the first 2 minutes from PMS start will confirm this.

It is confirmed by [Notify] ....... No space left on device.


When I try to do debug logging it’s filtered out?

Settings - Server - General - SHOW ADVANCED

Enable Debug logging – SAVE

Now restart PMS,
wait 2 minutes

Settings - Server - Troubleshooting - Download Logs

Attach the ZIP file it gives you and I will review.

Plex Media Server Logs_2021-05-25_21-15-43.zip (2.2 MB)

attached. Thanks in advance ChuckPa.

thanks for the logs.

Is this where the media ends?

May 25, 2021 21:13:20.687 [0x7f5c877fe700] DEBUG - [Notify] Now watching "/usb3/tv/Unearthed (2016)/Season 2"
May 25, 2021 21:13:20.687 [0x7f5c877fe700] DEBUG - [Notify] Now watching "/usb3/tv/Unearthed (2016)/Season 3"
May 25, 2021 21:13:20.687 [0x7f5c877fe700] DEBUG - [Notify] Now watching "/usb3/tv/Unearthed (2016)/Season 4"
May 25, 2021 21:13:20.688 [0x7f5c877fe700] DEBUG - [Notify] Now watching "/usb3/tv/Unearthed (2016)/Season 5"
May 25, 2021 21:13:20.688 [0x7f5c877fe700] DEBUG - [Notify] Now watching "/usb3/tv/Unearthed (2016)/Season 6"
May 25, 2021 21:13:20.688 [0x7f5c877fe700] DEBUG - [Notify] Now watching "/usb3/tv/Unearthed (2016)/Season 9"

If so, notice there are no errors. This implies the table didn’t overflow (you have fewer than 8192 folders in use)

The next thing to ask: Where is the transcoder temporary directory ?
Is it on local storage or on the network somewhere ?

I am not clear what you mean by media ends. The problem happens only with specific movies (4k HEVC 8 bit) This media is nothing to do with it.

Here’s my docker compose for plex

# Plex - https://linuxserver.dev/containers/plex/
# <mkdir /volume1/docker/appdata/plex>
  plex:
    container_name: plex
    image: plexinc/pms-docker:latest
    restart: always
    logging:
      driver: json-file
    network_mode: host
    ports:
      - 32400:32400
    environment:
      - PUID=${PUID}
      - PGID=${PGID}
      - TZ=${TZ}
      - UMASK=002
      - ARGS=
      - DEBUG=no
      - PLEX_CLAIM=${PLEX_CLAIM}
      - ADVERTISE_IP=
      - ALLOWED_NETWORKS=
      - PLEX_PASS=${PLEX_PASS}
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ${DOCKERCONFDIR}/plex:/config:rw
      - ${DOCKERSTORAGEDIR}/media:/data/media:rw
      - /tmp:/transcode:rw
      - /tmp:/tmp:rw
      - /volumeUSB1/usbshare1-2/plex:/usb1
      - /volumeUSB2/usbshare2-2/plex:/usb2
      - /volumeUSB3/usbshare3-2/plex:/usb3
      - /volumeUSB4/usbshare4-2/plex:/usb4
    devices:
      - /dev/dri:/dev/dri
    privileged: true

This lives in a docker container that runs in a synology ds920+. I hope I am answering your questions.

Edit: I didn’t run the movie in question after I restarted the pms. Was I supposed to do that in that two minutes?
Plex Media Server Logs_2021-05-25_21-32-51.zip (2.0 MB)

edit 2: attached a new log file with trying to play the movie

Thank you… you read my mind.

I see it fail.

Where is the container stored (the /config directory and the /transcode )? On the Syno’s RAID or ??? ?

(to 8ch or less)/n27qr2yovztchlv2zc702mfv_461-0-17.wav'
May 25, 2021 21:32:22.000 [0x7fbda97fa700] ERROR - [Transcoder] [eac3_eae @ 0x126e800] error reading output
May 25, 2021 21:32:22.000 [0x7fbdab7fe700] ERROR - [Transcoder] Error while decoding stream #0:2: Input/output error
May 25, 2021 21:32:25.000 [0x7fbda8ff9700] ERROR - [Transcoder] [eac3_eae @ 0x126e800] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-51637b95-5a57-4607-a19d-983cb301dfde/EasyAudioEncoder/Convert to WAV (to 8ch or less)/n27qr2yovztchlv2zc702mfv_461-0-18.wav'
May 25, 2021 21:32:25.001 [0x7fbdaa7fc700] ERROR - [Transcoder] [eac3_eae @ 0x126e800] error reading output
May 25, 2021 21:32:25.001 [0x7fbdab7fe700] ERROR - [Transcoder] Error while decoding stream #0:2: Input/output error
May 25, 2021 21:32:25.112 [0x7fbda97fa700] DEBUG - Request: [[::1]:33808 (Loopback)] GET /identity (10 live) Signed-in
May 25, 2021 21:32:25.112 [0x7fbdeb7fe700] DEBUG - Completed: [[::1]:33808] 200 GET /identity (10 live) 0ms 398 bytes (pipelined: 1)
May 25, 2021 21:32:28.000 [0x7fbda97fa700] ERROR - [Transcoder] [eac3_eae @ 0x126e800] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-51637b95-5a57-4607-a19d-983cb301dfde/EasyAudioEncoder/Convert to WAV (to 8ch or less)/n27qr2yovztchlv2zc702mfv_461-0-19.wav'
May 25, 2021 21:32:28.000 [0x7fbdab7fe700] ERROR - [Transcoder] [eac3_eae @ 0x126e800] error reading output
May 25, 2021 21:32:28.000 [0x7fbda8ff9700] ERROR - [Transcoder] Error while decoding stream #0:2: Input/output error
May 25, 2021 21:32:28.305 [0x7fbdeaffd700] DEBUG - Auth: authenticated user 1 as ilteris
May 25, 2021 21:32:28.305 [0x7fbdaa7fc700] DEBUG - Request: [192.168.50.92:64996 (Subnet)] GET /:/timeline?ratingKey=46987&key=%2Flibrary%2Fmetadata%2F46987&playbackTime=64974&playQueueItemID=49175&state=playing&hasMDE=1&time=5000&duration=6601000 (9 live) GZIP Signed-in Token (ilteris)
May 25, 2021 21:32:28.306 [0x7fbdaa7fc700] DEBUG - Client [1v9ysu7pzv447x49jdsryy46] reporting timeline state playing, progress of 5000/6601000ms for guid=, playbackTime=64974ms ratingKey=46987 url=, key=/library/metadata/46987, containerKey=, metadataId=46987, source=

syno yep

Everything is on the HDD (/volumeX) and not on a USB ?

the movie in question is also on the synology albeit different volume this one is /media

so docker and media are two separate volumes but none usb.

edit: but yes everything under /volumeX correct

This is what I’m trying to track down as it’s the root of the problem. — Where /tmp is.

In your container definition, where does /tmp point to?

Good find. It’s interesting because it’s described in the docker-compose but when I look at the container definition I don’t see /tmp

See attached

How about making one?

Is docker/appdata/temp available ? (that would be guaranteed on the HDD)
If so, add it ?

docker/appdata/tmp -> /tmp

Plex Media Server Logs_2021-05-25_21-57-17.zip (1.6 MB)

still have the same problem even after I created the directory. I wonder if I need to give permission to plex to write on it?

or maybe delete cache or something?

You need to give the UID/GID you assign to the container
(PLEX_UID, PLEX_GID) to access the file system.

PLEX_GID = 100 (Synology users group)

You’ll need to look at /etc/passwd to see what the PLEX_UID should be.
Now extend that to give R/W to the directory on on the main Volume.

I am not entirely clear. Is PLEX_UID, PLEX_GID different variables than PUID=${PUID} PGID=${PGID} which I use by default? I have found this in /etc/passwords

plex:x:1026:100:Plex User:/var/services/homes/plex:/sbin/nologin

If you’re using the UID/GID of user Plex then that’s fine.

By default, user Plex is only created for the native DSM 5 & 6 packages.

As long as the username exists , even though it will never be used by DSM 7, you can use it for whatever you like.