I'm rather new to OpenCV, and I have this simple code to play a video clip:


#include "stdafx.h"
#include "cv.h"
#include "highgui.h"
.
.
.
cvNamedWindow( "Example2", CV_WINDOW_AUTOSIZE );