Hi, I'm using Mingw492 32bits and opencv 3.0.0 I'm working with more than 3 cameras in a project (capture and save to individual files), but the CPU usage became to hight, so I'm trying to use cudacodec to decrease CPU usage. when I try to compile the opencv cuda videwriter example, I got this error: D:\projetos\c++\teste\cuda\untitled\main.cpp:76: error: undefined reference to `cv::cudacodec::createVideoWriter(cv::String const&, cv::Size_<int>, double, cv::cudacodec::SurfaceFormat)'
Here is the code:
const cv::String outputFilename = "output_gpu.avi";
cv::Ptr<cv::cudacodec::VideoWriter> d_writer;
double FPS = 25.0;
d_writer = cv::cudacodec::createVideoWriter(outputFilename, frame.size(), FPS);
What can I do? Thanks