Error while transcoding one particular file

Server Version#: 1.40.1.8227
Player Version#: All

In any plex client, I get a Playback Error that says “Conversion failed. The transcoder exited due to an error”.

Here are the errors/warnings/info logs that are relevant inside plex:

Mar 15, 2024 12:55:28.995 [140330734074680] Info — [Req#115a3/Transcode] Preparing driver imd for GPU Alder Lake-N [UHD Graphics]
Mar 15, 2024 12:55:29.010 [140330721418040] Error — [Req#1189e/Transcode/zf9931t9qlcgmbmp2qo6a80z/1fea1e33-6bf8-4d36-b7e4-cdcbc20dc16a] /media/movies/Coco (2017) [imdb-tt2380307]/Coco (2017) {imdb-tt2380307} [Remux-1080p][DTS-HD MA 7.1][AVC].mkv: Invalid argument
Mar 15, 2024 12:55:39.040 [140330734074680] Error — [Req#119f2/Transcode/zf9931t9qlcgmbmp2qo6a80z/1fea1e33-6bf8-4d36-b7e4-cdcbc20dc16a] /media/movies/Coco (2017) [imdb-tt2380307]/Coco (2017) {imdb-tt2380307} [Remux-1080p][DTS-HD MA 7.1][AVC].mkv: Invalid argument
Mar 15, 2024 12:55:39.099 [140330848422712] Error — [TranscodeOutputStream] Streaming Session 0x7fa14f40b038 appears to have died from under us
Mar 15, 2024 12:55:39.664 [140330734074680] Info — [Req#119d9/Transcode] Preparing driver imd for GPU Alder Lake-N [UHD Graphics]
Mar 15, 2024 12:55:39.679 [140330721418040] Error — [Req#11d0f/Transcode/teyv1tpalu8zp3qlpnlolxej/cb7e01b2-366a-4d2d-b25a-9d303f3441e1] /media/movies/Coco (2017) [imdb-tt2380307]/Coco (2017) {imdb-tt2380307} [Remux-1080p][DTS-HD MA 7.1][AVC].mkv: Invalid argument
Mar 15, 2024 12:55:49.803 [140330734074680] Error — [Req#11e4e/Transcode/teyv1tpalu8zp3qlpnlolxej/cb7e01b2-366a-4d2d-b25a-9d303f3441e1] /media/movies/Coco (2017) [imdb-tt2380307]/Coco (2017) {imdb-tt2380307} [Remux-1080p][DTS-HD MA 7.1][AVC].mkv: Invalid argument
Mar 15, 2024 12:55:49.868 [140330850532152] Error — [TranscodeOutputStream] Streaming Session 0x7fa150412cb8 appears to have died from under us
Mar 15, 2024 12:55:50.375 [140330721418040] Warning — [Req#11ee8] Invalid library metadata ID 5d776bcd7a53e9001e73069f passed.

I’m attaching an edited log of the errors, warnings, info, and debug to help with the details.
plex-log.log (159.0 KB)

Did some more digging and, for some reason, it seems I can’t read from the file. I’m not sure why. Possibly plex (or something else) is locking it?

root@plex-deployment-7868449cbf-zdskx:/media/movies/Coco (2017) [imdb-tt2380307]# pwd
/media/movies/Coco (2017) [imdb-tt2380307]
root@plex-deployment-7868449cbf-zdskx:/media/movies/Coco (2017) [imdb-tt2380307]# ls -l
total 22402289
-rwxrwxrwx 1 abc abc 23091971895 Mar 11 21:16 'Coco (2017) {imdb-tt2380307} [Remux-1080p][DTS-HD MA 7.1][AVC].mkv'
root@plex-deployment-7868449cbf-zdskx:/media/movies/Coco (2017) [imdb-tt2380307]# head -c 5 "Coco (2017) {imdb-tt2380307} [Remux-1080p][DTS-HD MA 7.1][AVC].mkv"
head: cannot open 'Coco (2017) {imdb-tt2380307} [Remux-1080p][DTS-HD MA 7.1][AVC].mkv' for reading: Invalid argument
root@plex-deployment-7868449cbf-zdskx:/media/movies/Coco (2017) [imdb-tt2380307]#

I can perform this command on any other file and it spits out 5 bytes of data but fails on this file.

lslocks does not show this file as being locked

I copied the file with a new name, deleted the original, then put the name back and now it works. I still have no idea why. The permissions and everything are exactly the same. We’ll see if it sticks.