Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What you are missing in your code is the loading of the ffmpeg dll. Just put the opencv_ffmpeg300_64.dll from the OpenCV installation into the java library folder, i. e. where the opencv_java300.dll resides and add this to your code:

System.loadLibrary("opencv_ffmpeg300_64");

Just tried it, works fine.

ps: Where did you get these videos, are they free to use? I just started with OpenCV and java yesterday and would need some samples.