Thanks for this! I was tearing my hair out because QSV decoding was just not working. That is, until you saw your post and changed it to "VAAPI". Then it worked perfectly.