cuda videowriter throw exception

asked 2020-07-05 21:17:54 -0600

With 4.3.0, cuda, nvcuvid with RTX2060. I am trying to use cuda videowriter. It compiles well but throw exception at runtime in cv::cudacodec::createVideoWriter. Other cuda functions works well such as gpu optical flows and cudacodec::createVideoReader also work.

Is there anything that I missed?

edit retag flag offensive close merge delete

Comments

which exception, exactly ? please show initialization codesy

berak gravatar imageberak ( 2020-07-06 02:24:22 -0600 )edit

As far as I am aware cv::cudacodec::VideoWriter has not worked for a long time. Only cv::cudacodec::VideoReader works.

cudawarped gravatar imagecudawarped ( 2020-07-06 04:04:19 -0600 )edit

berak, the exception is throw_no_cuda in cv::cudacode::createVideoWriter() cudawarped, Finally I can stop this endless re-compiling thanks to you.

intiger gravatar imageintiger ( 2020-07-06 21:02:01 -0600 )edit