OpenCV 3.0 with Java cannot open video file, but it woks with camera. Before I was using OpenCV 3.0-beta it was working well in both, but in OpenCV 3.0 which is released on
Generally opencv_ffmpegXXX.dll file not placed at opencvjavaXXX.dll file folder so you need to load two library in java code
You should have try this.
System.loadLibrary(Core.NATIVE_LIBRARY_NAME); // for OpencvjavaXXX.dll
System.loadLibrary("opencv_ffmpeg320_64"); // for OpenCV_ffmpegXXX.dll file
You can specify full DLL file path into the (string) parameter