dapicard / opencv-parallelize-example

An example project showing how to pipeline and parallelize
GNU General Public License v3.0
20 stars 4 forks source link

help opencv with cudacodec::createVideoReader #5

Open DuongNo opened 4 years ago

DuongNo commented 4 years ago

@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