How to use NVIDIA Video Codec SDK with OpenCV?

Hi all,

I want to use NVDECODE api with my OpenCV project. NVCUVID was compatible before with opencv about VideoReader to decode videos. But now it changed. I heard that I should add the header and include files to cuda directory as just like cudnn. I added them with similar to cudnn. I installed OpenCV with NVCUVID=ON, CUDA=ON CUDNN=ON… Everything seems fine but why I am still not able to use VideoReader for decoding? Is there something wrong conceptually? What should I do to be able to use this new sdk with opencv?

1 Like