Receving Input/Output error when trying to play from Roku or Plex Web

I enabled remote logging on my Roku 4 Ultra:

  1. The Plex username that was signed in to the app
    mtclemente
  2. The approximate local time that you reproduced the issue
    1400-1430
  3. Your time zone
    EST

I’ve also attached the server logs. I can play the file locally, ie thru VLC and the server sees the file so I do not understand why when I try to play it thru multiple plex players it throws an input/output error as if the media is not there?

File information:


Media

    Duration 42:50
    Bitrate 14759 kbps
    Width 1920
    Height 1080
    Aspect Ratio 1.78
    Video Resolution 1080p
    Container MKV
    Video Frame Rate 24p
    Video Profile high

Part

    Duration 42:50
    File Chuck - 3x08 - Chuck Versus the Fake Name.mkv
    Size 4.42 GB
    Container MKV
    Video Profile high

    Codec H264
    Bitrate 14119 kbps
    Bit Depth 8
    Chroma Location left
    Chroma Subsampling 4:2:0
    Color Primaries bt709
    Color Range tv
    Color Space bt709
    Color Trc bt709
    Frame Rate 23.976 fps
    Height 1080
    Level 4.0
    Profile high
    Ref Frames 4
    Scan Type progressive
    Width 1920
    Display Title 1080p (H.264)

    Codec EAC3
    Channels 6
    Bitrate 640 kbps
    Language English
    Audio Channel Layout 5.1(side)
    Sampling Rate 48000 Hz
    Display Title English (EAC3 5.1)

    Codec SRT
    Language English
    Display Title English (SRT)

    Codec SRT
    Language English
    Title SDH
    Display Title English (SRT)

This also happens on a lot of movies, mostly 1080p from what I’ve managed to piece together. Is it something related to the codec? Files will load to 33% and then stop. This also happens for remote users trying to stream from my server, not just on the LAN.

I also have shows that will play on one Roku 4 Ultra on the network but not on another Roku 4 Ultra on the same network. Can’t figure that out either. It only happens to certain shows and movies…

Appreciate any help or insight as this issue is very frustrating not being to watch a lot of my content.

Server Version#: Version 1.19.3.2852

Player Version#: Version 4.34.2

Plex Media Server Logs_2020-05-28_14-32-47.zip (5.1 MB)

I think I’ve isolated the specific error:

Request: [127.0.0.1:59948 (Loopback)] PUT /video/:/transcode/session/A5C01434-7325-462F-9BC2-EF796E26148B/7b4959a1-443d-4ca5-b395-35a687f95ca5/progress?progress=98.3&size=-22&remaining=136&vdec_packets=31339&vdec_sw_ok=31323&vdec_hw_status=0 (41 live) Signed-in Token (mtclemente) (range: bytes=0-) 
May 28, 2020 15:02:26.555 [0x7f63a5c53700] DEBUG - Completed: [127.0.0.1:59948] 206 PUT /video/:/transcode/session/A5C01434-7325-462F-9BC2-EF796E26148B/7b4959a1-443d-4ca5-b395-35a687f95ca5/progress?progress=98.3&size=-22&remaining=136&vdec_packets=31339&vdec_sw_ok=31323&vdec_hw_status=0 (41 live) 0ms 371 bytes (pipelined: 2178) (range: bytes=0-) 
May 28, 2020 15:02:27.000 [0x7f63827fc700] ERROR - [Transcoder] [eac3_eae @ 0x1120d80] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-d0e1eabd-8b3d-4011-bae7-7b65a309e50b/EasyAudioEncoder/Convert to WAV (to 8ch or less)/502ae200-d3b4-4124-bb23-14b9193e8882_17599-0-1838.wav'
May 28, 2020 15:02:27.000 [0x7f63167fc700] ERROR - [Transcoder] [eac3_eae @ 0x1120d80] error reading output
May 28, 2020 15:02:27.001 [0x7f6382ffd700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error
May 28, 2020 15:02:27.057 [0x7f62f27fc700] DEBUG - Request: [127.0.0.1:59948 (Loopback)] PUT /video/:/transcode/session/A5C01434-7325-462F-9BC2-EF796E26148B/7b4959a1-443d-4ca5-b395-35a687f95ca5/progress?progress=98.3&size=-22&remaining=153&vdec_packets=31341&vdec_sw_ok=31325&vdec_hw_status=0 (41 live) Signed-in Token (mtclemente) (range: bytes=0-) 
May 28, 2020 15:02:27.057 [0x7f63a5c53700] DEBUG - Completed: [127.0.0.1:59948] 206 PUT /video/:/transcode/session/A5C01434-7325-462F-9BC2-EF796E26148B/7b4959a1-443d-4ca5-b395-35a687f95ca5/progress?progress=98.3&size=-22&remaining=153&vdec_packets=31341&vdec_sw_ok=31325&vdec_hw_status=0 (41 live) 0ms 371 bytes (pipelined: 2179) (range: bytes=0-) 

Although I have no idea what it means or how to fix it…

@mtclemente alluded to the most likely issue here. Try these steps to fix the issue.

  1. Restart Plex Media Server
  2. Wait 60 seconds
  3. Attempt to play a file which causes the problem.

EAE will fail if the inotify table fills.

So I appreciate the reply but the 'ol “reboot the server to see if it fixes it” isn’t quite the tech support I was looking for. I’ve rebooted the server several times while I’ve been troubleshooting this error over the weeks. I appreciate you have to start with the lowest effort step first, but this is a little beyond a “reboot”.

I did follow the steps you suggested and attached the logs from the server but it did not solve the problem and the same exact error exists.

Time stamp of Error: 1700

Plex Media Server Logs_2020-05-28_17-02-43.zip (4.4 MB)

So is it a problem with the EAC3 encoder? If so, how do I fix it? Is it permissions error accessing that /tmp folder? ‘plex’ user is the owner of the folder and all sub folders so that should not be a problem. Will a fresh install and rebuild libraries fix it? Is the database corrupt?

I did a watch on this dir while trying to playback thru the web and a *.wav file never showed up…is it trying to create the .wav for playback or conversion and it can’t? If so, why can’t it and how do I fix it?

 [Transcoder] [eac3_eae @ 0x1ebad80] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-7a3a8bdc-55ea-44ff-bb3a-1862c8cb2763/EasyAudioEncoder/Convert to WAV (to 8ch or less)/9d51bee5-9c5a-4064-8df4-eebb035a6533_12698-0-81.wav'
May 28, 2020 17:00:36.000 [0x7f7bca526700] ERROR - [Transcoder] [eac3_eae @ 0xf84cc0] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-7a3a8bdc-55ea-44ff-bb3a-1862c8cb2763/EasyAudioEncoder/Convert to WAV (to 8ch or less)/h1u1zq5f1oomr08cj8paqxco_15472-0-2.wav'
May 28, 2020 17:00:36.000 [0x7f7bb1ffb700] ERROR - [Transcoder] [eac3_eae @ 0x1ebad80] error reading output
May 28, 2020 17:00:36.000 [0x7f7b81ffb700] ERROR - [Transcoder] [eac3_eae @ 0xf84cc0] error reading output
May 28, 2020 17:00:36.000 [0x7f7b9bfff700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error
May 28, 2020 17:00:36.000 [0x7f7b83fff700] ERROR - [Transcoder] Error while decoding stream #0:1: Input/output error

I wonder how your /tmp folder is mounted?

could be related to @

I specify a specific directory for transcoding which is not /tmp. But the /tmp folder is mounted the same as the root file system. This is a bare metal server running Ubuntu, this is not virtualized or running in a jail or anything of that nature. So it should have free reign of anything in /tmp it wants to do.

The solutions in that thread do not work for me. And I have been experiencing this issue long before the skip intro feature was introduced. Unless the code has been there for a while and wasn’t enabled. But I’ve found a thread that goes back to 2017 about /tmp and EAC using that instead of the specified transcode directory in the preferences.xml file.

May I ask to see the DEBUG log files ZIP, collected about 2 minutes after restarting PMS?

There are two common causes of this:

  1. The “Notify” (inotify) table fills up because of the amount of media being monitored.
  2. The temp directory is on a network share (where notification isn’t supported).

Chuck, those logs are available as an attachment in post #4.

/tmp is not on a network share, but the files are stored on a FreeNAS nfs share.

Don’t know how to fix the inotify table…

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