TrueHD 7.1 Transcoding Issues - "Error while decoding stream #0:1: No space left on device"

Server Version#: 1.32.8.7639
Player Version#: Plex for Android TV (2nd Gen Fire Stick Max 4k), Plex for MacOS 1.74.1.3913-9baac009

I am having an issue when transcoding TrueHD 7.1 audio. The video stream will randomly freeze and I have to either change the quality or exit and play again. If I stay on the stream, rewinding will cause it to freeze in the same spot again.

Server details:

  • Proxmox VE 8
  • Plex in a priveleged Ubuntu LXC
  • Latest version
  • Intel 1240p
  • Hardware decoding/encoding is turned on

The videos are direct playing, only the audio is transcoding. This happens to me on all videos with TureHD 7.1 audio, usually it transcodes to OPUS.

The logs are filled with the following errors:

Dec 23, 2023 07:21:05.634 [140446444460856] ERROR - [Req#71887/Transcode/yzuxjhgh1t9lqukgv17fbysw/72c00253-a4bc-488a-bcfe-dbeaf62b919b] Error while decoding stream #0:1: No space left on device
Dec 23, 2023 07:21:05.634 [140446352706360] ERROR - [Req#71888/Transcode/yzuxjhgh1t9lqukgv17fbysw/72c00253-a4bc-488a-bcfe-dbeaf62b919b] Error while decoding stream #0:1: No space left on device
Dec 23, 2023 07:21:05.634 [140446429600568] ERROR - [Req#71889/Transcode/yzuxjhgh1t9lqukgv17fbysw/72c00253-a4bc-488a-bcfe-dbeaf62b919b] Error while decoding stream #0:1: No space left on device

I also get these erros in ‘systemctl status plexmediaserver’:

Dec 23 11:31:32 plex2 Plex Media Server[18503]: decoder error: 121
Dec 23 11:31:32 plex2 Plex Media Server[18503]: TrueHD processing failed with 121
Dec 23 11:31:32 plex2 Plex Media Server[18503]: decoder error: 121
Dec 23 11:31:32 plex2 Plex Media Server[18503]: TrueHD processing failed with 121

I have tried setting the transcoding directory, chmod -R 777 the directory as well, nothing is working. I can transcode AC3 5.1 audio just fine, it’s just TrueHD 7.1/Atmos causing these issues.

I attached more logs from a session. This one I did transcode the video as well, but it makes no difference playing original quality or transcoding.

truehd_transcoding_logs.txt (92.2 KB)

@ChuckPa this seems suspiciously similar to Trouble Transcoding (Decoder error: 121) - #104 by ChuckPa

My inotify is set to 4M+, I have also tried deleting the codecs folder, setting a different transcoding directory, verified I have plenty of disk and ram space, nothing seems to be working.

Is there anything special about the tmp directory on proxmox lxcs? I imagine many more people would be getting this error and it wouldn’t just be me if that was the case.

Is it possible a similar bug was introduced?

First up:

[chuck@lizum ~.1989]$ perror 121
Exit code(121): error "Remote I/O error"
[chuck@lizum ~.1990]$ 

Is there any part of the transcoder temp path which is remote to the host (e.g. NFS / SMB ) ?

This type error shows when the EAE is on a network directory path.
The DEBUG logs will additionally complain about “Wrong directory?”
It happens because inotify cannot set a user_watch on a network resource (no direct remote kernel access)

AC3 5.1 doesn’t require EAE so that’s a clue this is EAE-specific in your case.

I concur this is most likely specific to your use case as we’ve (I’ve) not had a rash of complaints (yet) lol

Still can’t get this figured out.

I created a new Plex LXC, added the file directly to the disk rather than through the rclone mount, and I’m still getting this error. I left all of the transcoding directories as default.

I definitely think it’s an issue with EAE, but I can’t figure out why it’s having an issue to begin with. This is just a privileged container running on proxmox, nothing fancy about my test setup that still isn’t working.

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