Previously I follow your turtorial, but when I uses the following code, I found the error and every time this is talking about "opencv_ffmpeg300.dll". I can't get rid form this error.
I am waiting for your response.
include<opencv2/core/core.hpp>
include<opencv2/highgui/highgui.hpp>
include<opencv2/imgproc/imgproc.hpp>
int main ( int argc, char** argv)
{
cvNamedWindow( "Example2", CV_WINDOW_AUTOSIZE);
CvCapture* capture = cvCreateFileCapture( argv[1] );
IplImage* frame;
while(1)
{
frame = cvQueryFrame( capture );
if( !frame ) break;
cvShowImage( "Example2", frame );
char c = cvWaitKey(33);
if( c == 27) break;
}
cvReleaseCapture( &capture );
cvDestroyWindow( "Example2" );
}
Unhandled exception at 0x71647D43 (opencv_ffmpeg300.dll) in AVIVideo.exe: 0xC0000005: Access violation reading location 0x00000000.