Truehd 7.1 unable to Transcode audio to EAC3 increasing inotify watch didn't resolve issue

Server Version#:TrueNAS-Scale-22.02.4
Player Version#:1.30.0.6442-5070
Server Specs.
AMD Ryzen 9 5900x 12 core processor.
32GB Ram.
3070 GPU specifically for Plex and not used for anything else.
Using plex docker.
20TB of storage. 13.66TB used. (Media is on a CIFS share)

I am unable to play any movies with 7.1 Truehd. Video wont’ transcode but audio will transcode. This causes movie to hang indefinitely and errors to stream in the logs.

What I’ve checked so far:

  • Shutdown docker container. Deleted Codecs and transcode file. Restarted docker.
  • Confirmed Inotify is not an issue. Set it to 524288.
  • Also confirmed with my users I could still tail -f var/log/messages and root.
  • Checked Inodes and confirmed no issues there.
  • Checked permissions. Now this is where it might be an issue and I’m not 100% sure as root owns the docker container and my personal account owns the cifs share. I added root to my personal accounts group and gave permissions to the share. I also checked the folders permissions and gave access to everyone and chmod all directories with 7777.
  • If i change from truehd 7.1 to any other audio format like 5.1 or dts etc it works just fine.

Logs just stream:
Dec 07, 2022 12:55:01.123 [0x7fac4b4c1b38] DEBUG - Completed: [127.0.0.1:60620] 200 POST /video/:/transcode/session/8ko4s52xs7bqqkq9kw6we3cw/0b2429b9-323e-42e7-aa7d-8950ee7bd71b/progress/log?level=0&message=Error%20while%20decoding%20stream%20%230%3A1%3A%20No%20space%20left%20on%20device (13 live) 0ms 195 bytes (pipelined: 486754) (range: bytes=0-)
Dec 07, 2022 12:55:01.123 [0x7fac47039b38] DEBUG - Request: [127.0.0.1:40636 (Loopback)] POST /video/:/transcode/session/ksm7wwvh0if4p0l9txxn7sg0/6925dd2c-213f-43ec-b37a-deb112c53d5c/progress/log?level=0&message=Error%20while%20decoding%20stream%20%230%3A1%3A%20No%20space%20left%20on%20device (13 live) #13a9d8f Signed-in Token (mytie6) (range: bytes=0-) / Accept => / / Connection => keep-alive / Host => 127.0.0.1:32400 / Icy-MetaData => 1 / Range => bytes=0- / User-Agent => Lavf/LIBAVFORMAT_VERSION / X-Plex-Http-Pipeline => infinite / X-Plex-Token => xxxxxxxxxxxxxxxxxxxx4831-9bfa-74d00bb56465
Dec 07, 2022 12:55:01.123 [0x7fac3a025b38] DEBUG - Request: [127.0.0.1:60620 (Loopback)] POST /video/:/transcode/session/8ko4s52xs7bqqkq9kw6we3cw/0b2429b9-323e-42e7-aa7d-8950ee7bd71b/progress/log?level=0&message=Error%20while%20decoding%20stream%20%230%3A1%3A%20No%20space%20left%20on%20device (13 live) #13a9d90 Signed-in Token (mytie6) (range: bytes=0-) / Accept => / / Connection => keep-alive / Host => 127.0.0.1:32400 / Icy-MetaData => 1 / Range => bytes=0- / User-Agent => Lavf/LIBAVFORMAT_VERSION / X-Plex-Http-Pipeline => infinite / X-Plex-Token => xxxxxxxxxxxxxxxxxxxx4831-9bfa-74d00bb56465
Dec 07, 2022 12:55:01.123 [0x7fac47039b38] ERROR - [Req#13a9d8f/Transcode/ksm7wwvh0if4p0l9txxn7sg0/6925dd2c-213f-43ec-b37a-deb112c53d5c] Error while decoding stream #0:1: No space left on device

Same issue. Just started happening tonight. Same issue playing from Roku Ultra and the web player.

Plex Media Server.log contains this entry over and over:

Dec 07, 2022 20:01:52.718 [0x7f8b031edb38] ERROR - [Req#85f0d/Transcode/ao8fzgcey58xb96g7c7u5rax/ffe515cc-2826-4771-88a4-9f025dff1dd3] Error while decoding stream #0:1: No space left on device

Also seeing these messages recur every 30 seconds or so in journalctl:

Dec 07 20:06:09 momcorp plexmediaserver[1956]: TrueHD processing failed with 121
Dec 07 20:06:09 momcorp plexmediaserver[1956]: decoder error: 121
Dec 07 20:06:09 momcorp plexmediaserver[1956]: TrueHD processing failed with 121
Dec 07 20:06:09 momcorp plexmediaserver[1956]: decoder error: 121
Dec 07 20:06:09 momcorp plexmediaserver[1956]: TrueHD processing failed with 121
Dec 07 20:06:09 momcorp plexmediaserver[1956]: decoder error: 121
Dec 07 20:06:09 momcorp plexmediaserver[1956]: TrueHD processing failed with 121

Yup same thing happening to me.
Did you happen to try deleting the codec folder as well as confirming if you are reaching the inotify limit?

Yes, that didn’t help unfortunately. I ended up downgrading to 1.29.2 after reading another thread where @ChuckPa another user diagnose the root cause of the “decoder error: 121” messages. I’ll keep an eye on the progress there to see when upgrading is safe again.

1 Like

Did that resolve the issue? Mind posting that thread in here?

Yes, it did resolve my issue. Forgot to post the link. It’s here: Trouble Transcoding (Decoder error: 121)

Okay thanks. Sadly im on 1.29.2 but maybe there are more clues

You’re running 1.30.0, according to your logs. You should try downgrading.

Dec 07, 2022 16:14:07.608 [0x7f13c8103b38] INFO - Plex Media Server v1.30.0.6442-5070ad484 - Docker Docker Container x86_64 - build: linux-x86_64 debian - GMT -07:00

Ahhh my bad.

Do you happen to have steps on how to downgrade? I tried rolling back but its still showing i’m on 1.30. Not sure where the ISO image is for plex to try and upload a new one or what not.

Unfortunately I’m not familiar with how TrueNAS does its package management. You might need to find a user community that has more direct advice, or I suppose it’s possible you might find advice on that here.

How is Plex installed in the system? Are you using the plug-in, or is it installed in a plain jail using another method?

It’s installed under Applications section in trunas scale. Where you select the docker image to install so I believe it’s a docker.
It’s different then a jail like in freenas.

Hopefully that helps. If needed I can get some screenshots if needed.
I can run docker ps and docker exec -it to login to the docker through command line.
I saw somethings about using $tag online but not exactly sure how that works or how to get the correct plex code version and apply it.
I also tried downgrading my docker container but it automatically upgraded Plex back to 1.30.

Okay. Sorry, I’m running TrueNAS Core here so I can’t be of much assistance. You should be able to specify the version of the docker to install, which is sounds like you did, but I don’t know how to keep it from reupdating on its own.

No worries thank you anyways! :slight_smile:

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