What steps will reproduce the problem?
I need to get frames from video
And I to use some code:
FrameGrabber grabber = new OpenCVFrameGrabber(new File("target/test-classes/video.mp4"));
grabber.start();
opencv_core.IplImage img = grabber.grab();
cvSaveImage("target/test-classes/frame.jpg", img);
What is the expected output? What do you see instead?
com.googlecode.javacv.FrameGrabber$Exception: cvCreateFileCapture() Error:
Could not create camera capture.
What version of the product are you using? On what operating system?
JavaCpp - 0.7
JavaCV - 0.7
OpenCV - 2.4.8
Linux 3.2.0-60-generic x86_64
Please provide any additional information below.
If I use the webcam, then everything works fine
FrameGrabber grabber = new OpenCVFrameGrabber(0);
Original issue reported on code.google.com by ftp27h...@gmail.com on 2 Apr 2014 at 12:33
Original issue reported on code.google.com by
ftp27h...@gmail.com
on 2 Apr 2014 at 12:33