I am getting "this file requires zlib support compiled in" error when i use the following code to open and display any SWF file . Please help !!
I am getting "this file requires zlib support compiled in" error when i use the following code to open and display any SWF file . Please help !!
int main(int, char**)
{
VideoCapture cap;
cap.open("C:\\Users\\bhanu\\Desktop\\Artistist Site\\jaksic.swf");
if(!cap.isOpened())
{
return -1;
}
Mat edges;
namedWindow("edges",1);
for(;;)
{
Mat frame;
cap >> frame; // get a new frame from camera
if(!frame.empty())
{
imshow("edges", frame);
}
if(waitKey(25) >= 0) break;
}
// the camera will be deinitialized automatically in VideoCapture destructor
getch();
return 0;
}