Cannot HW Transcode MP4 videos

Server Version#: 1.22.0.4163
Player Version#: Plex for Android 8.13.2 on NVDIA Shield 2019 Pro

My PMS attempts HW Decode/Encode per my settings, but fail and resort back to SW transcoding. I have the i5-10210U CPU with Intel UHD Graphics Driver v27.20.100.8681. I access it by RDP, but I do also have it connected to my TV just in case.

According to the PMS logs, h264_qsv and h264_mf encoders fail along with the dxva2 decoder. The fail messages are: “[FFMPEG] - Failed to create Direct3D device” and “Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred”

This happens with 8-bit h264 and 10-bit HEVC mp4 sources (both 1080p and 4k). This is not an issue with my mkv files. I tested further by creating mkvs from my test mp4s, and they did HW Transcode.

So I decided to check if this was an issue on my Windows Plex app and it is not. During a forced transcode, Windows performs a hw transcode and converts aac to opus.

My two Android TV devices (Shield/Sony Bravia) and Android phone seem to be the only ones that don’t hw transcode mp4 files. I noticed that Android is also different in that it transcodes aac to aac.

I thought transcoding was a server-side task, so I’m confused why the player matters here.

just for interest, Intel shuts down the decoders/encoders if it does not detect an ACTIVE screen connected. You may find that it works when your TV is on and showing the server display and not at other times.

one of these types of devices may help → https://www.amazon.com/Headless-Display-Emulator-Headless-1920x1080-Generation/dp/B06XT1Z9TF

It’s connected to my TV for that reason. If that were the case it wouldn’t have properly transcoded on my Windows app (not on the server PC)

restart the server, watch something that isn’t working for 2 mins, then post server logs

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