I tried to use opencv java interface to capture the video, I find isOpened is always false.
I have tried different video format and different version (2.4.11 and 3.0.0), both met the same issues.
I have configure "-Djava.library.path=D:\Project\opencv\opencv3.0\build\x64\vc12\bin", and have copied opencv_java300.dll to this folder.
And I checked tips OpenCV 3.0 VideoCapture doesn't open video file in Java and OpenCV 2.4 VideoCapture not working on Windows, neither works for me.
Anyone knows what's the trick part to capture the video?
The sample code I have is:
VideoCapture capture=new VideoCapture();
capture.open("D:\\StopMoti2001.mpeg");
if(!capture.isOpened()){
return;
}