Hello, I’m a long time user of Plex Media Server, but this is my first post where I’ve needed some support.
I have a new PC build on Windows 11 and have done a fresh install of PMS. I’ve noticed PMS seems to fail to launch the transcoder. You can see in the attached Plex Media Server.1.log file line 64756 “The transcoder exited due to an error.” The line 64754 the ERROR is listed as "Invalid decoder type ‘h264’
I’ve tried setting the Transcoder Temp Directory along with Disabling and Enabling Hardware Acceleration, but the failure seems persistent.
I’ve also searched the support pages and have found similare erors reported by other users here:
and here
However, both of these threads make reference to noexec and exec settings which sounds like a linux option and not a Windows option so I’m not sure how it applies?
I’ve attached the logs and hoping to work with someone who can help me debug this.
Furthermore, I’ve coping the command string out of the log and pasted it into a terminal and get the following response.
PMS is trying to do hardware transcoding with your NVidia card but failing. What version of the driver do you have installed? PMS needs at least 456.71.
I’m have a NIVDIA RTX 3070 GPU with Driver Version 527.56
I’ve done some more digging into this and it seems like the issue is isolated to 9 movies out of the 100 I tested. Each of these failed videos will Direct Play but will fail to launch with transcoding. The other 91 of 100 videos tested were able to launch with transcoding.
However, in the process of preparing this I think I may have figured out the issue. After generating the sampel file I wanted to test it and make sure it showed the same issue. So, I renamed the original video file with a .bak extension and then dropped the sample file its place. Then I tried to playback the video and received the same transcoder error as before. However, I noticed that that time duration for the file didn’t change and should have been 10 min for the sample file. For completeness I refreshed the metadata but that didn’t update the time and then choose the Analyze option which update the duration. After this I tested once again and found that the video played fine with transcoding. I removed the sample file and put the original file back in its place and re-Analyzed and now the original video worked fine.
I went back to the other 8 movies I test and re-Analyzed them and now they all work fine. It seems like that was the issue. I all likelihood I’m guessing these offending videos were added to the library and then I replaced the file with one that had slower encoder settings for a smaller file size. And this messed up the stored information.
At this point I have the solution and can re-Analyze the entire library to clean any that I missed in manual testing. Having said that I might make the recommendation that PMS detect changes to the file (e.g time stamp, would have to think about the best way to do that) and automatically re-Analyze during a regular library scan or in addition re-Analyze if the transcoder fails and try again. That might be logged