Hvec hw transcode question

Server Version#: 1.41.7.9823
Player Version#: 1.109.0.329-ea562b95

So does plex server have the ability to decode hvec x265 from software and then transcode to x264 using hardware accelerated on the fly transcodes?

My servers igpu doesn’t have x265 support but my media is x265 as I transcode it that way using handbrake. The server doesn’t do hw on the fly transcode from x265 decode or encode. And I think it should be able to use sw decode and then use hw for x264 unless there is a limitation where it needs to be hw decode and encode on the igpu.

Just need to know if that’s the problem. If not then I’ll do more troubleshooting into why it’s not using hw transcoding.

Yes Plex should be able to do that.

1 Like

Okay thanks I’ll dig deeper then. My setup isn’t for the faint of heart. It’s proxmox to a lxc unprivileged container with igpu pass through to docker which has plex media server. It sees the igpu I need to test a x264 file again I’ve seen it say HW before. But never on x265. Permissions might’ve changed though so I’ll look.

Yeah so hw transcoding works for x264 but not when the cpu needs to decode from x265 sw to hw x264. I’m basiclly stuck using sw all around for that setup. :confused: @ChuckPa

This is my igpus vainfo.:
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Simple : VAEntrypointEncSlice
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointEncSlice
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileH264StereoHigh : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
VAProfileJPEGBaseline : VAEntrypointVLD

log errors:
[Req#5b86/Transcode] [FFMPEG] - libva: Trying to open /config/Library/Application Support/Plex Media Server/Cache/va-dri-linux-x86_64/i965_drv_video.so
[Req#5353/Transcode] Codecs: packet decode testing returned -95 for decoder ‘hevc’
[Req#5b86/Transcode] [FFMPEG] - No support for codec hevc profile 2.
[Req#5b86/Transcode] [FFMPEG] - Failed setup for format vaapi: hwaccel initialisation returned error.

Found the solution. Had to add this to dockers environment now it works as intended.
- PLEX_PREFER_SOFTWARE_DECODING=1

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