Server Version#: 1.41.3.9276 or 1.41.2.9200
Player Version#: Any
I’ve noticed that I’ve been unable to play any files that are a video format of “4K HDR10 (HEVC Main 10)” and also have “TRUEHD 5.1” audio AND am transcoding that AUDIO to something else. When I look at the logs I can see it getting first initially flooded with this:
Dec 09, 2024 10:57:52.765 [137272913570616] ERROR - [Req#a79/Transcode/51fwc3vsqitxad2uszwnr94t/63e4d43d-b869-480b-8226-db023f86fba1] Error while decoding stream #0:1: Unknown error occurred
Dec 09, 2024 10:57:52.766 [137272905182008] ERROR - [Req#a7a/Transcode/51fwc3vsqitxad2uszwnr94t/63e4d43d-b869-480b-8226-db023f86fba1] [truehd_eae @ 0x7b8d84668dc0] error reading output: -1313558101 (Unknown error occurred)
Then after a short time switches to this:
Dec 09, 2024 10:57:52.767 [137272905182008] ERROR - [Req#a7e/Transcode/51fwc3vsqitxad2uszwnr94t/63e4d43d-b869-480b-8226-db023f86fba1] Error while decoding stream #0:1: No space left on device
Running PMS on Ubuntu 24.04.1 LTS on a mini PC with i5 10500 Intel CPU and UHD 630 Int Graphics.
When I try to play ANY other audio format (Including TRUEHD 7.1) either direct or transcoded I have no issues. It seems to be only TRUEHD 5.1. If I select EAC3 5.1 on the same exact file, it plays fine. Many other files on different drives I’m able to reproduce this problem and I also see it flooding the logs when it’s hitting these files for credits detection.
Things I’ve tried after several hours of digging:
- Changing in fs.inotify.max_user_watches to 2097152
- Moving the temp directory for transcodes in webUI to a separate directory and giving it full permissions to plex/plex usr/grp.
- Tried deleting and allowing Plex to redownload “Codecs” folder.
- Disabling Hardware Transcoding which I normally have enabled for Int Graphics 630.
- Usual troubleshooting steps, restarting PMS server, PC, etc.
- Upgrading PMS from 1.41.2.9200 to latest beta at this time (1.41.3.9276).
- Making sure /var/lib/plexmediaserver has all the correct permissions.
- Testing the file with ffmpeg - “ffmpeg -v error -i “/path to movie here/movie.mkv” -f null - 2>error.log”
- Making sure file plays ok on VLC and other players.
- If I play the file on a receiver that supports TRUEHD 5.1 audio without the need to transcode the audio it plays without issue. (Tested on Nvidia Shield Pro).
I recently upgraded to 24.04 LTS, so I’m not sure if this behavior started then or was present prior and just didn’t notice it. I’ve seen MANY threads about this on the forums and Google/Reddit but none lead to any real solutions and many just close out due to the 90 days.
Hardware transcoding seems to be working fine on every other video file I have.
/tmp which is used for PMS is not a separate mount in Ubuntu 24.04 as far as I can tell from running “findmnt” and “df -h” and it appears Plex is able to create directories in there with stuff and also the custom transcode directory I made off root “/plex_transcode” is what I named that. When Codecs folder is removed I also see it repopulated with a fresh copy after I start Plex service again. However problem still occurs.
Is this a known bug or am I missing a fix here? I’ve run out of ideas. Luckily I don’t seem to have much content that is TRUEHD 5.1 so the impact here isn’t too significant, but nonetheless wanted to report the problem.
Thank you.
