Conversion failed. The transcoder exited due to an error.

magicchicken

Dabbler
Joined
Apr 5, 2019
Messages
24
Hi all,

I recently started getting this error and I'm really stuck on what to do to fix it.

Error: Conversion failed. The transcoder exited due to an error.

OS Version: TrueNAS-12.0-RELEASE
Jail Version: 12.2-RELEASE-p1
Plex Media Server Plexpass Version: 1.20.3.3483

Attached are the logs from Plex.

Any advice would be greatly appreciated.
 

Attachments

  • Logs.txt
    550.7 KB · Views: 281
Joined
Jan 7, 2015
Messages
1,155
I skimmed thru this and it looks as if the audio is causing failure. It looks as if you are dvr and encoding your own stuff i see lots of .ts files. You might try a handbrake or ffmpeg to convert these files to files that can direct play mp4/aac seems to be the best combo. mkv is becoming more and more supported though.

— [Transcoder]Error [eac3_eae @ 0x800740600] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-d5add999-0e7f-4da5-8644-615b31f68eaa/EasyAudioEncoder/Convert to Dolby Digital Plus (High Quality - 384 kbps)/bb44310988751e05-com-plexapp-android_7292-0-1025.ec3'
Dec 06, 2020 17:27:24.005 [0x805129d00] Error — [Transcoder] [eac3_eae @ 0x800740600] error reading output
Dec 06, 2020 17:27:24.005 [0x805129d00] Error — [Transcoder] Audio encoding failed
Dec 06, 2020 17:27:24.045 [0x804706d00] Debug — Jobs: '/usr/local/share/plexmediaserver-plexpass/Plex Transcoder' exit code for process 7292 is 1 (failure)
 

magicchicken

Dabbler
Joined
Apr 5, 2019
Messages
24
I skimmed thru this and it looks as if the audio is causing failure. It looks as if you are dvr and encoding your own stuff i see lots of .ts files. You might try a handbrake or ffmpeg to convert these files to files that can direct play mp4/aac seems to be the best combo. mkv is becoming more and more supported though.

— [Transcoder]Error [eac3_eae @ 0x800740600] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-d5add999-0e7f-4da5-8644-615b31f68eaa/EasyAudioEncoder/Convert to Dolby Digital Plus (High Quality - 384 kbps)/bb44310988751e05-com-plexapp-android_7292-0-1025.ec3'
Dec 06, 2020 17:27:24.005 [0x805129d00] Error — [Transcoder] [eac3_eae @ 0x800740600] error reading output
Dec 06, 2020 17:27:24.005 [0x805129d00] Error — [Transcoder] Audio encoding failed
Dec 06, 2020 17:27:24.045 [0x804706d00] Debug — Jobs: '/usr/local/share/plexmediaserver-plexpass/Plex Transcoder' exit code for process 7292 is 1 (failure)

Thanks for taking a look at this, appreciate it. That's interesting as it was working on an MKV file earlier today however, the file type that threw the error was MP4. Also, there are a few different TV shows I stream via my Plex Media Server and they are all MKV and work without any issues.

This might be a silly question however, do you know if it's possible to change/replace the Transcoder? I'm assuming the answer might be no to this as the Plex Media Server web app seems hardcoded to whatever Plex wants to use.
 
Joined
Jan 7, 2015
Messages
1,155
I'm not aware of being able to change transcoder, however I have found a nice way to make sure everything is encoded for best play using a post processing script. From inside the Plex jail who owns /tmp? You might try letting your Plex user own this directory and everything in it.

Is there such a file as this is interesting? It's a strange path. There's spaces and other () in the path might cause an issue in a Unix world.

EAE not running, or wrong folder? Could not read '/tmp/pms-d5add999-0e7f-4da5-8644-615b31f68eaa/EasyAudioEncoder/Convert to Dolby Digital Plus (High Quality - 384 kbps)/bb44310988751e05-com-plexapp-android_7292-0-1025.ec3'
 

magicchicken

Dabbler
Joined
Apr 5, 2019
Messages
24
I'm not aware of being able to change transcoder, however I have found a nice way to make sure everything is encoded for best play using a post processing script. From inside the Plex jail who owns /tmp? You might try letting your Plex user own this directory and everything in it.

Is there such a file as this is interesting? It's a strange path. There's spaces and other () in the path might cause an issue in a Unix world.

EAE not running, or wrong folder? Could not read '/tmp/pms-d5add999-0e7f-4da5-8644-615b31f68eaa/EasyAudioEncoder/Convert to Dolby Digital Plus (High Quality - 384 kbps)/bb44310988751e05-com-plexapp-android_7292-0-1025.ec3'

I just ran ls -l for the following path and the owner is root with the group wheel.

\iocage\jails\plex\root

In answer to your other question, the folder path below you referenced from the logs is empty.

\iocage\jails\plex\root\tmp\pms-d5add999-0e7f-4da5-8644-615b31f68eaa\EasyAudioEncoder\Convert to Dolby Digital Plus (High Quality - 384 kbps)
 
Joined
Jan 7, 2015
Messages
1,155
From inside the plex jail who owns /tmp? I think by default it will be owned by root. I think youll want this directory and anything in it owned by the plex user. From freenas cli this is the path /mnt/tank/iocage/jails/plex/root/tmp
 

whodatguy

Cadet
Joined
Mar 19, 2021
Messages
8
Same error on Plex in TrueNAS, attached log file. Please advise
 

Attachments

  • Plex Media Server Logs_2021-03-19_01-15-17.zip
    11.1 MB · Views: 204

magicchicken

Dabbler
Joined
Apr 5, 2019
Messages
24
it seems to have problems with any remote streaming, no problems on intranet
Are you on the latest stable build of Truenas and Plex? This issue just stopped for me at some point and never resurfaced. No idea what caused it but it was very annoying.
 

whodatguy

Cadet
Joined
Mar 19, 2021
Messages
8
TrueNAS-12.1-MASTER-202102080538
Plex 1.21.3.4014 but updating now,

Recently I had flawless remote streaming no problems on FreeNAS but updated when I upgraded to USB 3.1 new ProBox and larger HDD's I did a TrueNAS fresh install.

I'll update you on results. Thanks
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
TrueNAS-12.1-MASTER-202102080538
Plex 1.21.3.4014 but updating now,
Why are you on the TrueNAS Nightlies train and not the Stable Release?
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
I'm not sure you can just roll back without issues - haven't seen much on this topic recently actually.

Best might be for you to export your pool, make a new install of the release version and then import your pool.

Or wait till someone that knows what they're talking about on this topic comes by to give you an authoritative response.

What I am sure of is that you need to be on the stable train if you want a smooth ride.
 
Top