Ask Your Question

Revision history [back]

take a look at the documentation of VideoCapture and VideoCapture.open()

example usage:

String filename = "768x576.avi";
VideoCapture capture( filename, CAP_FFMPEG);

or

String filename = "768x576.avi";
VideoCapture capture;
capture.open( filename, CAP_FFMPEG);