opencv-parallelize-example icon indicating copy to clipboard operation
opencv-parallelize-example copied to clipboard

help opencv with cudacodec::createVideoReader

Open DuongNo opened this issue 5 years ago • 0 comments

@dapicard i found your post in git https://github.com/opencv/opencv/issues/11220 and i get same error

i was follow your post and do it but i still get error when use cv::Ptr<cv::cudacodec::VideoReader> d_reader = cv::cudacodec::createVideoReader(fname);

and get terminate called after throwing an instance of 'cv::Exception' what(): OpenCV(4.2.0) /root/opencv_contrib-4.2.0/modules/cudacodec/src/video_decoder.cpp:101: error: (-210:Unsupported format or combination of formats) Video source is not supported by hardware video decoder in function 'create'

My GPU : GeForce RTX 2080, cuda 10.1, Ubuntu 18.04, cudnn 7 so can you help me more detail when fix this issue

thank you very much

DuongNo avatar Jul 09 '20 09:07 DuongNo