Register and download the latest version of the Complete Video Codec SDK xx.x Package.
Extract and copy the contents of Interface and Lib to the include and lib directories inside your CUDA installation.
from
If you want your 4k files in container formats, mp4 etc. then you will have to wait until OpenCV 4.9.0 is released as opencv_videoio_ffmpeg480_64.dll hasn’t been updated yet to include