Microsoft Visual c + + Runtime Library
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Debug Assertion Failed!
Program: D: \ CAXA practice \ VideoTest \ x64 \ \ Release \ VideoTest exe
File: minkernel \ CRTS \ ucrt \ SRC \ appcrt \ convert \ isctype CPP
The Line: 36
Expression: c & gt;=1 & amp; & C & lt;=255
For information on how your program can cause an an assertion
Failure, see the Visual c + + documentation on asserts.
(Press Retry to debug the application)
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Abort retry (R) (A) ignore (I)
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
A novice learning opencv, open the video to report this error, check a lot of information, also tried many methods, all have no clear answer,
Consult each a great god, and what's the problem is my opencv library of extension module
CodePudding user response:
Photo open operation processing are normal, not video, to compile can pass, run error, should be or what is missingCodePudding user response:
Above problem has been processing, display is another question, in the open function called VideoCapture opened the video, always returns false, the open failure, said a lack of video online DLL, opencv_ffmpeg. DLL, but I did in the past, also not line, consult each great godCodePudding user response:
Excuse me, the original poster minkernel \ CRTS \ ucrt \ SRC \ appcrt \ convert \ isctype CPP, how to solve this problem, I also metCodePudding user response:
DLLopencv_videoio # # #.DLL
opencv_imgcodecs # # #.DLL
opencv_videoio_ffmpeg # # #.Opencv_videoio_ffmpeg # # # _64. DLL
Where # # # corresponding opencv version number
CodePudding user response:
DLLopencv_ffmpeg # # #.Opencv_ffmpeg # # # _64. DLL
CodePudding user response:
Copy the DLL toExe program folder you
And
In the VS IDE projects, properties, configuration properties, debugging, corresponding folder
working directory:Under each a,