"[Transcoder] Audio encoding failed"

Today playing a movie that’s been playing fine before is constantly stopping. The logs says the audio encoding is failing. Video is direct stream, the audio is converted from DCA to EAC3 according to the status screen.

The player is an Apple TV 4. The server is on FreeBSD and was upgraded to 1.5.1 today.

Mar 26, 2017 17:26:31.000 [0x80bc92c00] ERROR - [Transcoder] [eac3_eae @ 0x802822600] EAE timeout! EAE not running, or wrong folder?
Mar 26, 2017 17:26:31.003 [0x809807c00] ERROR - [Transcoder] [eac3_eae @ 0x802822600] error reading output
Mar 26, 2017 17:26:31.004 [0x80bc92c00] ? - [Transcoder] Audio encoding failed
Mar 26, 2017 17:26:31.079 [0x809810000] ERROR - JobManager: child process returned: 1 (Operation not permitted)
Mar 26, 2017 17:27:16.118 [0x80bc92c00] WARN - Transcode runner appears to have died.
Mar 26, 2017 17:27:16.223 [0x80bc92c00] WARN - Timed out waiting for segment.
Mar 26, 2017 17:27:16.759 [0x809de8c00] WARN - Got a request to stop a transcode session without a session GUID (or with an invalid one).
Mar 26, 2017 17:27:30.000 [0x809de9c00] ERROR - [Transcoder] [eac3_eae @ 0x802822600] EAE timeout! EAE not running, or wrong folder?
Mar 26, 2017 17:27:30.003 [0x809de9c00] ERROR - [Transcoder] [eac3_eae @ 0x802822600] error reading output
Mar 26, 2017 17:27:30.005 [0x809de9c00] ? - [Transcoder] Audio encoding failed
Mar 26, 2017 17:27:30.061 [0x809810000] ERROR - JobManager: child process returned: 1 (Operation not permitted)
Mar 26, 2017 17:27:30.135 [0x80bd76400] WARN - Transcode runner appears to have died.
Mar 26, 2017 17:27:30.239 [0x80bd76400] WARN - Timed out waiting for segment.
Mar 26, 2017 17:27:30.643 [0x80980fc00] WARN - Got a request to stop a transcode session without a session GUID (or with an invalid one).
Mar 26, 2017 17:27:54.000 [0x80bd76400] ERROR - [Transcoder] [eac3_eae @ 0x802822600] EAE timeout! EAE not running, or wrong folder?
Mar 26, 2017 17:27:54.003 [0x80980f800] ERROR - [Transcoder] [eac3_eae @ 0x802822600] error reading output
Mar 26, 2017 17:27:54.005 [0x80bd76400] ? - [Transcoder] Audio encoding failed
Mar 26, 2017 17:27:54.070 [0x809810000] ERROR - JobManager: child process returned: 1 (Operation not permitted)
Mar 26, 2017 17:27:54.122 [0x80bc92c00] WARN - Transcode runner appears to have died.
Mar 26, 2017 17:27:54.223 [0x80bc92c00] WARN - Timed out waiting for segment.
Mar 26, 2017 17:27:58.858 [0x809807c00] WARN - Got a request to stop a transcode session without a session GUID (or with an invalid one).
Mar 26, 2017 17:28:02.108 [0x80bd76400] INFO - Time value greater than duration

Would you be kind enough to provide both a sample file and your full logs?

I am also having this issue with my media. The files that are having issues have AC3 audio. I have two audio streams in my rips, and when I change over to the AAC stream, they movie plays fine. However, when trying to watch any movie with an AC3 stream, the server will not play the movies. Is there a place I could send the logs without uploading them here?

@sonicstorm feel free to PM them to me directly.

I sent the logs earlier this morning. Let me know if you need anything else.

A fix for this issue was included in Plex Media Server 1.5.2 which was just released. Please upgrade to this version and check that your issues is now resolved. If it is not. Please provide new logs covering your playback attempts made using Plex Media Server version 1.5.2

Thanks!

I’ll have to wait for a new Plex server for FreeNAS.

I’m frankly growing tired of having Plex always transcode audio to my Windows 10 HTPC with the Plex app for Windows. It’s like Plex is the only app I have that cannot take DD, DTS and play that out but instead tries to transcode every file I have on my NAS and I wind up copying the file to my HTPC and invoking VLC instead. I’m about 2 weeks away from just junking Plex.

This appears to be an issue that’s exclusive to FreeNAS Corral (I’m assuming that’s what you are running). Try removing the /transcode mount in the docker container setup and see if that improves things. We are investigating as to why this is a problem on this platform.

Update: I posted full instructions here: https://forums.plex.tv/discussion/265492/transcoder-fails-when-transcode-is-on-a-network-share

I would like to also echo that files with AC3 audio fail to transcode. I’m using the plex docker image on FreeNAS Corral. I tried with and without /transcode temporary directory, and it still fails.

I’d be willing to help debug.

Currently running Version 1.5.2.3557

I pretty new to docker, and still a freebsd n00b, but I think it might have something to do with the fact that the host->container shares are via a high speed Plan9 filesystem protocol.

See: https://en.wikipedia.org/wiki/9P_(protocol) and https://wiki.freenas.org/index.php/Create_and_Manage_VMs - but there doesn’t seem to be any other option.

@aim4min Did you read and follow the entirety of the instructions I posted, including the chown command?

Yes I tried using a VM share instead of the host share like your other post
mentioned. The workaround works. Just offering to test a real fix.

In the meantime, I would suggest updating the readme.md for the docker
image with the workaround instructions. I spent almost a whole day trying
to figure this out before finding this thread.

I am on a Synology NAS, and the transcoding still fails. I will PM the new logs shortly.