I'm writing a program with java with Eclipse that records video from camera. The VideoCapture class works okay. I can take pictures using VideoCapture. But When I try to make an object using VideoWriter, Java doesn't recognize the VideoWriter class. I don't understand how Java can recognize VideoCapture and not VideoWriter.
Is VideoWriter suppose to work with Java?
I wrote a similar program using C++. The VideoCapture and VideoWriter classes worked okay. I just put the VideoWriter inside a while loop and used the write function.