Server Version#: 1.32.4.7195
Player Version#: 7.3.2.8429-4809d908b-Plex
The issue
Currently when I am watching something that has an audio like 5.1 AAC I will have an error every few seconds that crashes the stream on my TCL Roku TV. I have noticed that if I turn off “allow direct stream” then it will play without issue, however on the Roku app it suggests I don’t turn that off usually so I wasn’t sure if that was the right move.
Things I have tried
- Trying to ensure inotify is high enough
$ find /mnt/media/Movies /mnt/media/Shows /mnt/media/Music -type d -print | wc -l
955
$ sudo sysctl -p
fs.inotify.max_user_watches = 10000
- Ensuring open permissions on EasyAudioEncoder
$ ls -halt /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/EasyAudioEncoder-1847-linux-x86_64/EasyAudioEncoder/
total 2.3M
drwxrwxrwx 8 plex plex 4.0K Jun 17 09:40 .
drwxr-xr-x 2 plex plex 4.0K Jun 17 09:40 'Convert to Dolby Digital (High Quality - 640 kbps)'
drwxr-xr-x 2 plex plex 4.0K Jun 17 09:40 'Convert to Dolby Digital (Low Quality - 384 kbps)'
drwxr-xr-x 2 plex plex 4.0K Jun 17 09:40 'Convert to Dolby Digital Plus (High Quality - 384 kbps)'
drwxr-xr-x 2 plex plex 4.0K Jun 17 09:40 'Convert to Dolby Digital Plus (Max Quality - 1024 kbps)'
drwxr-xr-x 2 plex plex 4.0K Jun 17 09:40 'Convert to WAV (to 2ch or less)'
drwxr-xr-x 2 plex plex 4.0K Jun 17 09:40 'Convert to WAV (to 8ch or less)'
-rwxrwxrwx 1 plex plex 136 Jun 17 08:07 eae-license.txt
-rwxrwxrwx 1 plex plex 2.2M Jun 17 08:07 EasyAudioEncoder
drwxrwxrwx 3 plex plex 4.0K Jun 17 08:07 ..
- Ensuring transcoder temp directory is not on a network share, I have tried leaving the field in the PMS GUI blank as well as putting it to
/var/lib/plexmediaserver/tmpand/tmp - Ensuring Roku Plex app and PMS are up-to-date
PMS OS Details
$ uname -a
Linux 4.19.0-24-amd64 #1 SMP Debian 4.19.282-1 (2023-04-29) x86_64 GNU/Linux
$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 24G 0 24G 0% /dev
tmpfs 4.8G 9.3M 4.8G 1% /run
/dev/sda1 28G 16G 11G 61% /
tmpfs 24G 8.0K 24G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 24G 0 24G 0% /sys/fs/cgroup
/dev/sda3 229G 7.3G 210G 4% /var
tmpfs 10G 286M 9.8G 3% /tmp
/dev/sda6 463G 51G 389G 12% /home
//192.168.0.11/media 16T 13T 3.3T 80% /mnt/media
tmpfs 4.8G 28K 4.8G 1% /run/user/116
tmpfs 4.8G 0 4.8G 0% /run/user/1000
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1T 0 disk
├─sda1 8:1 0 28G 0 part /
├─sda2 8:2 0 1K 0 part
├─sda3 8:3 0 232.9G 0 part /var
├─sda5 8:5 0 976M 0 part [SWAP]
└─sda6 8:6 0 471.1G 0 part /home
sr0 11:0 1 1024M 0 rom
Logs
Plex Media Server Logs_2023-06-17_10-32-26.zip (1.0 MB)
Jun 17, 2023 08:08:12.580 [140591044401976] DEBUG - [Req#47a/Transcode/c5ed7d9b-f91a-4c34-8913-e44b38243904-3190/cbb6574d-aa94-45b4-8f31-a911635a22bb] Transcoder segment range: 0 - 84 (84)
Jun 17, 2023 08:08:12.581 [140591036328760] DEBUG - [Req#484/Transcode/c5ed7d9b-f91a-4c34-8913-e44b38243904-3190/cbb6574d-aa94-45b4-8f31-a911635a22bb] Transcoder segment range: 0 - 85 (84)
Jun 17, 2023 08:08:16.517 [140591036328760] ERROR - [Req#48e/Transcode/c5ed7d9b-f91a-4c34-8913-e44b38243904-3190/cbb6574d-aa94-45b4-8f31-a911635a22bb] [eac3_eae @ 0x7fd5ad2d1040] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-c057512c-82b7-4da9-89b4-e0fbe6e16104/EasyAudioEncoder/Convert to Dolby Digital Plus (High Quality - 384 kbps)/c5ed7d9b-f91a-4c34-8913-e44b38243904-3190_24883-0-918.ec3'
Jun 17, 2023 08:08:16.517 [140591044401976] ERROR - [Req#490/Transcode/c5ed7d9b-f91a-4c34-8913-e44b38243904-3190/cbb6574d-aa94-45b4-8f31-a911635a22bb] [eac3_eae @ 0x7fd5ad2d1040] error reading output: -5 (I/O error)
Jun 17, 2023 08:08:16.518 [140591036328760] ERROR - [Req#493/Transcode/c5ed7d9b-f91a-4c34-8913-e44b38243904-3190/cbb6574d-aa94-45b4-8f31-a911635a22bb] Audio encoding failed
Jun 17, 2023 08:08:16.552 [140591085517624] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 24883 is 1 (failure)
Jun 17, 2023 08:08:16.553 [140591004687160] DEBUG - Notifying consumer that data is complete.