Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

VideoReader_GPU not available, but built with NVCUVID?

I've built OpenCV 2.4.8 with CUDA 5.5 using Visual studio 2012. Building code to use it seems to work too. gpu::getCudaEnabledDeviceCount() reports 1.

However, when I try to initialize a VideoReader_GPU, I get this runtime error:

OpenCV Error: The function/feature is not implemented (The called functionality is disabled for current build or platfom) in throw_nogpu, file P:/opencv-2.4.8/sources/modules/gpu/src/precomp.hpp, line 131

CMake reported availability and successful build of NVCUVID. How can I verify that? What's going on?

VideoReader_GPU not available, but built with NVCUVID?

I've built OpenCV 2.4.8 with CUDA 5.5 using Visual studio 2012. Building code to use it seems to work too. gpu::getCudaEnabledDeviceCount() reports 1.

However, when I try to initialize a VideoReader_GPU, I get this runtime error:

OpenCV Error: The function/feature is not implemented (The called functionality is disabled for current build or platfom) in throw_nogpu, file P:/opencv-2.4.8/sources/modules/gpu/src/precomp.hpp, line 131

CMake reported availability and successful build of NVCUVID. How can I verify that? What's going on?

EDIT: I've just perused the sources I downloaded. There is NO implementation. The classes are empty, just filled with throw_nogpu(). Does an implementation exist? Why isn't this documented?

VideoReader_GPU not available, but built with NVCUVID?

I've built OpenCV 2.4.8 with CUDA 5.5 using Visual studio 2012. Building code to use it seems to work too. gpu::getCudaEnabledDeviceCount() reports 1.

However, when I try to initialize a VideoReader_GPU, I get this runtime error:

OpenCV Error: The function/feature is not implemented (The called functionality is disabled for current build or platfom) in throw_nogpu, file P:/opencv-2.4.8/sources/modules/gpu/src/precomp.hpp, line 131

CMake reported availability and successful build of NVCUVID. How can I verify that? What's going on?

EDIT: I've just perused the sources I downloaded. There downloaded... #if !defined(HAVE_CUDA) || defined(CUDA_DISABLER) || !defined(HAVE_NVCUVID) should be responsible. I will try to figure out which define is NO implementation. The classes are empty, just filled with throw_nogpu(). Does an implementation exist? Why isn't this documented?causing this...

VideoReader_GPU not available, but built with NVCUVID?

I've built OpenCV 2.4.8 with CUDA 5.5 using Visual studio 2012. Building code to use it seems to work too. gpu::getCudaEnabledDeviceCount() reports 1.

However, when I try to initialize a VideoReader_GPU, I get this runtime error:

OpenCV Error: The function/feature is not implemented (The called functionality is disabled for current build or platfom) in throw_nogpu, file P:/opencv-2.4.8/sources/modules/gpu/src/precomp.hpp, line 131

CMake reported availability and successful build of NVCUVID. How can I verify that? What's going on?

EDIT: I've just perused the sources I downloaded... #if !defined(HAVE_CUDA) || defined(CUDA_DISABLER) || !defined(HAVE_NVCUVID) should be responsible. I will try to figure out which define is causing this...

EDIT: I've changed that line to remove CUDA_DISABLER. that seems to have worked... since both HAVE_NVCUVID and HAVE_CUDA are reported to be true/defined by CMake.

What is CUDA_DISABLER?