Opencv hardware acceleration not working

Hi, I would read the following post to see if it helps

If you don’t have time and you are on windows, then opening your stream with

cap = cv.VideoCapture(SRC_PATH, cv.CAP_FFMPEG, [cv.CAP_PROP_HW_ACCELERATION, cv.VIDEO_ACCELERATION_D3D11 ]);

should enable Nvidia hardware decoding.

The environmental variables you were setting look wrong to me, but I don’t have time to test them to be 100% sure.

Would enable quicksync if it worked which is not what you want.

This as far as I know wouldn’t do anything as you haven’t specified the video codec.