Frequent Media Errors & Transcoding Crashing after recent updates

I’ve have a lot of media, mostly h264, that is now unplayable with PMS on Web, Android, iOS, Roku, and transcoding for sync on mobile devices.

Unfortunately I cannot pinpoint the version with with the errors began as I use an auto-updating docker image and am always on the latest plexpass version.

I have incidents of at least 6 shows which cannot be transcoded, or direct streamed for Roku, or cannot be transcoded, direct streamed, or synced to Android and iOS.

Also, previously watched episodes are now unable to be streamed.

I have a copy of my database as well as PMS logs available on request.

If you can do the following, it will help me the most.

  1. Make certain you only have DEBUG logging enabled (Settings - Server - General)
  2. Recreate the playback event (failure) on one device.
  3. Wait 20 seconds after failure and capture the ZIP of the logs
  4. Have the XML of the file you played available ( Hover over it -> Get Info -> View XML ) in case needed.

If you’ll attatch the ZIP with your next post, I’ll see what it’s complaining about.

The Database itself is rarely needed. If it is, Engineering usually requests on a per-case basis.

I will DM you a Google Docs link with the logs & XML of the item in question. I did notice in the logs the majority of errors were occurring with the EAC3 audio codec.

I received your logs.

I’m finding other errors in your logs too. I’ll simply address as I go through them in no specific order.

  1. Need to increase number of directories PMS can monitor (iNotify)

  2. Is the transcoder temp on a network share? This error occurs most often when without file locking. This is the root cause of your playback failures.

Jul 02, 2018 21:59:04.436 [0x7f91fb3ff700] DEBUG - Beginning read from two-way stream.
Jul 02, 2018 21:59:06.000 [0x7f91e8bf0700] ERROR - [Transcoder] [eac3_eae @ 0x17f3440] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-a1c32f20-62f9-4698-95c0-804bc8e712d9/EasyAudioEncoder/Convert to WAV (to 8ch or less)/ebd25cc478bbea37-com-plexapp-android_912-0-0.wav'
Jul 02, 2018 21:59:06.001 [0x7f91fb3ff700] ERROR - [Transcoder] [eac3_eae @ 0x17f3440] error reading output
Jul 02, 2018 21:59:06.001 [0x7f91ea3f3700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error
Jul 02, 2018 21:59:09.000 [0x7f91fb3ff700] ERROR - [Transcoder] [eac3_eae @ 0x17f3440] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-a1c32f20-62f9-4698-95c0-804bc8e712d9/EasyAudioEncoder/Convert to WAV (to 8ch or less)/ebd25cc478bbea37-com-plexapp-android_912-0-1.wav'
Jul 02, 2018 21:59:09.001 [0x7f91ea3f3700] ERROR - [Transcoder] [eac3_eae @ 0x17f3440] error reading output
Jul 02, 2018 21:59:09.001 [0x7f91e8bf0700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error
Jul 02, 2018 21:59:10.339 [0x7f91fd3ff700] DEBUG - Auth: authenticated user 1 as jmlw
Jul 02, 2018 21:59:10.339 [0x7f91ea3f3700] DEBUG - Request: [192.168.0.107:38347 (Subnet)] 

I have Plex running in a docker container. I’ve increased inotify limit on the host machine.

The transcoder temp directory is on the primary SSD of my server, not a network share, but it is a mount in my docker-compose.

Increasing inotify limit appears to allow the video xml provided earlier to play

Ah, Docker changes the whole nature of the problem.

If your issue is solved, great.

Telling us it’s docker upfront is important. :slight_smile:

Will keep that in mind next time. For now the issue seems to be resolved. I also had some database corruption with one of the indexes which does natural text sorting, but I was able to resolve that issue with this: Database Corruption

ah… yes… NaturualSort.

For benefit of others, please mark those posts which solved the issue? (helps others)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.