Skip to content

Unhandled exception at 0x71647D43 (opencv_ffmpeg300.dll) in AVIVideo.exe: 0xC0000005: Access violation reading location 0x00000000. #2

Description

@muddassir93

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions