Server Version#: 1.21.0.3711
Player Version#: 4.43.4 of plexweb or anything that can’t directly decode vc1
Intel driver version - 27.20.100.8935
CPU - i3-7100
It looks like the transcode commandline for vc1 with dxva2 -> h264_qsv is failing. When I execute it outside of plex it writes out the following after about 1 minute:
[hwmap @ 02db5d80] Filter input: dxva2_vld, 1920x1080 (42).
[hwmap @ 02db5d80] Filter output: qsv, 1920x1080 (42).
[Parsed_scale_qsv_1 @ 02decd40] Error synchronizing the operation: -21
Error while filtering: Unknown error occurred
Failed to inject frame into filter network: Unknown error occurred
Error while processing the decoded data for stream #0:0
Seems like it has to do with having hardware decoding plus scale_qsv, as removing either one seems to work. It also does the same thing when using pure qsv instead of dxva2. Swapping in newer versions of ffmpeg results in the same behavior.
I’m able to get it to work with the existing plex transcoder by changing the following:
adding: -init_hw_device qsv=hw -filter_hw_device hw
removing: -hwaccel_output_format:0 dxva2_vld
changing: filter_complex [0:0]hwmap=derive_device=qsv[0];[0]scale_qsv=w=720:h=406:format=nv12[1] to -filter_complex [0:0]hwupload=extra_hw_frames=64[0];[0]scale_qsv=w=720:h=406:format=nv12[1]
but I am NOT an ffmpeg expert and judging by the cpu usage, wondering if it’s decoding all in sw. Either way, gets it back into a working state instead of hanging and erroring out.
I think this is the first issue I’ve opened and I’ve been a plex user for years (and more recently a plex pass member), so keep up the good work!
-Tom