While some progress is being made, I noticed that there are still a few issues, at least on Windows.
If you have a headless server (or even one with a display attached) and you RDP into it, disconnecting from RDP prevents future transcoding sessions from using hardware acceleration. You have to have the RDP session reconnect to the console session after disconnecting.
You can do this, for example, using the following command:
tscon.exe 1 /dest:console
Alternately, as a batch file that can be schedule to run on RDP disconnect:
for /f "tokens=2" %%i in ('qwinsta ^| findstr /r /I /C:"^ [ ]*[^ ][^ ]* [ ]*[0-9][0-9]* Disc"') do (
tscon %%i /dest:console /v
)
I don’t know if this is an ffmpeg issue or a Plex implementation issue, but I don’t believe this should be necessary.