If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

ERROR - [Transcoder] [ac3_eae @ 0x2fd4f40] EAE timeout! EAE not running, or wrong folder ....

NoSleep123NoSleep123 Posts: 1Members, Plex Pass

Official plex doker image: commit 2d9b89c32cea9100f74e15a8f938825a9f4087de (Date: Sun Feb 19 15:15:54 2017 -0800)
Plex Server Version 1.5.5.3634

This error bellow happens after some time playing AC3 or EAC3 streams. To recover from error I need to do this: "kill -9 pgrep "EasyAudioEncode""
but this is short term fix because in next few minutes streaming will stop again with same error. I already have fs.inotify.max_user_watches=524288 so this is not related to error from other ticket mentioning EAC timoeuts.

Apr 25, 2017 11:30:02.014 [0x7f3a3abfa700] ERROR - [Transcoder] [ac3_eae @ 0x2fd4f40] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-df2bb8fb-531b-4d33-9822-f24996fca71b/EasyAudioEncoder/Convert to WAV (to 8ch or less)/ynqwgibcfo6byomw1w226ct1_27313-1-2.wav'
Apr 25, 2017 11:30:02.015 [0x7f3a35ffc700] ERROR - [Transcoder] [ac3_eae @ 0x2fd4f40] error reading output
Apr 25, 2017 11:30:02.016 [0x7f3a4d7fe700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error
Apr 25, 2017 11:30:02.029 [0x7f3a367fd700] ? - [Transcoder] [Parsed_inlineass_2 @ 0x2eb67a0] fontselect: Using default font family: (Arial, 400, 0) -> /usr/lib/plexmediaserver/Resources/Fonts/DejaVuSans-Regular.ttf, 0, DejaVuSans[Parsed_inlineass_2 @ 0x2eb67a0] 
Apr 25, 2017 11:30:05.000 [0x7f3a38bf6700] ERROR - [Transcoder] [ac3_eae @ 0x2fd4f40] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-df2bb8fb-531b-4d33-9822-f24996fca71b/EasyAudioEncoder/Convert to WAV (to 8ch or less)/ynqwgibcfo6byomw1w226ct1_27313-1-3.wav'
Apr 25, 2017 11:30:05.001 [0x7f3a35ffc700] ERROR - [Transcoder] [ac3_eae @ 0x2fd4f40] error reading output
Apr 25, 2017 11:30:05.002 [0x7f3a4d7fe700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error

Answers

  • j9ac9kj9ac9k Posts: 34Members, Plex Pass Plex Pass

    I can confirm having the same issue, see attached log.

  • j9ac9kj9ac9k Posts: 34Members, Plex Pass Plex Pass

    I ended up reinstalling the official docker container (previously was using the linuxserver.io docker container) and all works.

  • NiilleNiille Posts: 24Members, Plex Pass Plex Pass

    I also installed a new Plex docker, wtih new database and everything but I still encountered same problem.
    My solution is now to have a second Plex Server on windows(VM) and use it for transcoding. Hopefully Plex will release a fix soon...

  • anhtuan99anhtuan99 Posts: 45Members ✭✭

    Can confirm the issue with official docker version 1.5.5.3634 and 1.5.6.3790. However, working with version 1.5.4.3596.

  • tjehtjeh Posts: 35Members, Plex Pass Plex Pass

    try mounting /tmp of the docker image to an actual folder outside of docker - this apparently fixed it for me

  • anhtuan99anhtuan99 Posts: 45Members ✭✭

    Seems there's another cause for he issue. I was using the default mount /transcode as the transcoding folder but EasyAudioEncode was still looking under /tmp. I fixed the issue by mounting /tmp -> /tmp and changing the transcoding folder from /transcode to /tmp.

    Hope the develops look at this thread and push a permanent fix for it.

  • tcf909tcf909 Posts: 31Members, Plex Pass Plex Pass

    I'm having the same issue:

    https://forums.plex.tv/discussion/268624/eae-timeout-eae-not-running-or-wrong-folder#latest

    Anything after 1.5.1 seems to have the issue for me.

    I'll try to use a kubernetes emptyDir to pull /tmp outside of the container and see if that helps.

  • tcf909tcf909 Posts: 31Members, Plex Pass Plex Pass

    I'm consolidating a couple of threads around this issue to this thread, so I thought I would post the workarounds that have been mentioned so far:

    The two attempted work arounds seem to be:
    1) Increase max_watches:

    sysctl -w fs.inotify.max_user_watches=100000
    

    2) Mount the docker container /tmp folder to a host folder (pulling it outside of the docker overlay filesystem)

    Alternative Path:
    I've also locked my own images at 1.5.1 for now (doesn't seem to have the issue) using the ARG TAG option in a docker file:

    ARG TAG="1.5.1.3520-ed60c70d6"
    ARG URL="https://downloads.plex.tv/plex-media-server/1.5.1.3520-ed60c70d6/plexmediaserver_1.5.1.3520-ed60c70d6_amd64.deb"
    

    This forces the installBinary.sh script to use a specific version of Plex. Make sure to set both ARGs or the build won't complete.

  • josomersjosomers Posts: 3Members ✭✭

    I'm facing the same issue. What is the status on this issue?
    This occured while transcoding AC3 audio to AAC audio when requesting a .mkv video on Android with an AC3 audio track.

    Attached my logs where Plex Media Server.log is the relevant one

  • josomersjosomers Posts: 3Members ✭✭

    I am on Plex for Synology version 1.8.1.4139-c789b3fbb

  • sa2000sa2000 Posts: 28,820Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member
    edited September 2

    @josomers said:
    I'm facing the same issue. What is the status on this issue?
    This occured while transcoding AC3 audio to AAC audio when requesting a .mkv video on Android with an AC3 audio track.

    Attached my logs where Plex Media Server.log is the relevant one

    You have exceeded the system limit on Number of directories that are added to the watch list

    Sep 03, 2017 01:10:31.827 [0x7f20fbcb0700] DEBUG - [Notify] Now watching /volume1/Music/JT/iTunes/iTunes Media/Music/Soul Creation ft. Kenny Bobien
    
    Sep 03, 2017 01:10:31.827 [0x7f20fbcb0700] ERROR - [Notify] Failed to add watch for /volume1/Music/JT/iTunes/iTunes Media/Music/Soul Creation ft. Kenny Bobien/Sunset Sessions (Deluxe Volume 2) disc 2 (28: No space left on device)
    
    Sep 03, 2017 01:10:31.828 [0x7f20fbcb0700] ERROR - [Notify] Failed to add watch for /volume1/Music/JT/iTunes/iTunes Media/Music/Soul Migrantz (28: No space left on device)
    
    Sep 03, 2017 01:10:31.828 [0x7f20fbcb0700] ERROR - [Notify] Failed to add watch for /volume1/Music/JT/iTunes/iTunes Media/Music/Soul Migrantz/Calling Chicago - EP (28: No space left on device)
    
    Sep 03, 2017 01:10:31.828 [0x7f20fbcb0700] ERROR - [Notify] Failed to add watch for /volume1/Music/JT/iTunes/iTunes Media/Music/Soulfulicious (28: No space left on device)
    etc
    

    Easy Audio Encoder path would need to be added to the watch list and the limit was reached

    See this as example of one thread with info on how to increase the limit
    http://forums.plex.tv/discussion/comment/1419397/#Comment_1419397

    Edit: actually it is in this thread as well - the post before yours

    Help given free on forums.            Fee-Based Personal Support & Help.        

    _______________________________________________________________________________________

    Plex Support Information              Troubleshooting               FAQs

    Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

    For list of 3rd party programs and malware / adware crashing Plex Media Server and mswsock.dll on windows, see Repeated crashing of Plex Media Server on Windows
     
  • sa2000sa2000 Posts: 28,820Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member

    @josomers said:
    I'm facing the same issue. What is the status on this issue?
    This occured while transcoding AC3 audio to AAC audio when requesting a .mkv video on Android with an AC3 audio track.

    Attached my logs where Plex Media Server.log is the relevant one

    Just to give you more info

    You have successfully setup watch for 8192 directories and you have about 1000 that failed to get added

    Help given free on forums.            Fee-Based Personal Support & Help.        

    _______________________________________________________________________________________

    Plex Support Information              Troubleshooting               FAQs

    Plex Media Server:   Reporting Issues        Plex Web App: Debug Log    Plex Apps: Support pages and Logs    Logs: All Logs

    For list of 3rd party programs and malware / adware crashing Plex Media Server and mswsock.dll on windows, see Repeated crashing of Plex Media Server on Windows
     
  • ChuckPAChuckPA Posts: 16,773Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member
    edited September 3

    If I may augment here? If you need more than 8,192 directories for PMS to watch,

    in /etc/sysctl.conf create the kernel tuning entry.

    #
    # For more information, see sysctl.conf(5) and sysctl.d(5).
    fs.inotify.max_user_watches=16384
    

    After making the entry, Reboot.

    The above increases from 8192 to 16384.

    Caution is advised on systems with < 4GB of RAM. This is because iNotify entries increase the size of the kernel. If too large, nothing will run and DSM will need to be fully reset.

    Please DISABLE Verbose logging until requested

    Please search before posting

    Primary support forums: Linux, Synology, and QNAP

    Please remember to report back. This benefits others.

    Useful links

     Installation and Basic Setup |  Media Preparation (How to name your media files)  |  Linux Permissions 

     Handling TV Specials | Handling Movie extras  |  Nas Compatibility List

     Reporting Plex Server issues | Plex Media Server FAQ | Linux Tips

     

    Other useful guides: Local Subtitles | The Plex "dance" | Synology FAQ | PMS Release Announcements

    No technical support via PM unless offered

    Please remember to mark the appropriate answer(s) which solved your issue.

     
  • josomersjosomers Posts: 3Members ✭✭

    @sa2000 said:

    @josomers said:
    I'm facing the same issue. What is the status on this issue?
    This occured while transcoding AC3 audio to AAC audio when requesting a .mkv video on Android with an AC3 audio track.

    Attached my logs where Plex Media Server.log is the relevant one

    Just to give you more info

    You have successfully setup watch for 8192 directories and you have about 1000 that failed to get added

    Very useful feedback! Thank you!

Sign In or Register to comment.