cv::Ptr<cv::cudacodec::VideoWriter> cudaWriter = cv::cudacodec::createVideoWriter(videoPath, frame_size, frameRate);
core dump here with openCV-cuda-3.4.1
OpenCV(3.4.1) Error: The function/feature is not implemented (The called functionality is disabled for current build or platform) in throw_no_cuda, file /media/nvidia/UP/opencv-3.4.1/modules/core/include/opencv2/core/private.cuda.hpp, line 111
terminate called after throwing an instance of 'cv::Exception'
what(): OpenCV(3.4.1) /media/nvidia/UP/opencv-3.4.1/modules/core/include/opencv2/core/private.cuda.hpp:111: error: (-213) The called functionality is disabled for current build or platform in function throw_no_cuda