Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

please help me warning: Error opening file (/home/vaibhav/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:553)

i am using opencv to display a video my code is as #include #include #include #include #include #include #include #include #include #include #include #include

using namespace cv; int main( int argc, char * argv ) { CvCapture capture; cvNamedWindow( "video", CV_WINDOW_AUTOSIZE ); capture = cvCreateFileCapture("/home/vaibhav/program/c/w.avi"); IplImage* frame; while(1){ frame = cvQueryFrame( capture ); if( !frame ) break; cvShowImage( "video", frame ); char c = cvWaitKey(33); if( c == 27 ) break; }

cvReleaseCapture( &capture );

cvDestroyWindow( "Webcam" );

return 0; }

the program compiles but it give error when try to run it

i am using ubuntu 12.04 and eclipse

warning: Error opening file (/home/vaibhav/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:553)

please help me

please help me warning: Error opening file (/home/vaibhav/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:553)

i am using opencv to display a video my code is as #include #include #include #include #include #include #include #include #include #include #include #include #include<opencv2 highgui="" highgui_c.h="">

#include <cv.h>
#include <opencv/cv.hpp>
#include <opencv2/opencv.hpp>
#include <cvaux.h>
#include  <cxcore.h>
#include <stdio.h>
#include <highgui.h>
#include <stdlib.h>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>


using namespace cv;
int main( int argc, char * ** argv )
{
CvCapture CvCapture* capture;
cvNamedWindow( "video", CV_WINDOW_AUTOSIZE );
capture = cvCreateFileCapture("/home/vaibhav/program/c/w.avi");
IplImage* frame;
while(1){
frame = cvQueryFrame( capture );
if( !frame ) break;
cvShowImage( "video", frame );
char c = cvWaitKey(33);
if( c == 27 ) break;
}

}

cvReleaseCapture( &capture );

);

cvDestroyWindow( "Webcam" );

);

return 0; }

}

the program compiles but it give error when try to run it

i am using ubuntu 12.04 and eclipse

warning: Error opening file (/home/vaibhav/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:553)

please help me

please help me warning: Error opening file (/home/vaibhav/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:553)

i am using opencv to display a video my code is as #include<opencv2 highgui="" highgui_c.h="">highgui_c.h=""> #include <cv.h> #include <opencv cv.hpp=""> #include <opencv2 opencv.hpp=""> #include <cvaux.h> #include <cxcore.h> #include <stdio.h> #include <highgui.h> #include <stdlib.h> #include <opencv2 core="" core.hpp=""> #include <opencv2 highgui="" highgui.hpp=""> #include <iostream>

#include <cv.h>
#include <opencv/cv.hpp>
#include <opencv2/opencv.hpp>
#include <cvaux.h>
#include  <cxcore.h>
#include <stdio.h>
#include <highgui.h>
#include <stdlib.h>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <iostream>


using namespace cv;
int main( int argc, char ** argv )
{
CvCapture* capture;
cvNamedWindow( "video", CV_WINDOW_AUTOSIZE ); 
capture = cvCreateFileCapture("/home/vaibhav/program/c/w.avi");
IplImage* frame;
while(1){
frame = cvQueryFrame( capture );
if( !frame ) break;
cvShowImage( "video", frame );
char c = cvWaitKey(33);
if( c == 27 ) break;
}

cvReleaseCapture( &capture );

cvDestroyWindow( "Webcam" );

return 0; }

the program compiles but it give error when try to run it

i am using ubuntu 12.04 and eclipse

warning: Error opening file (/home/vaibhav/opencv/modules/highgui/src/cap_ffmpeg_impl.hpp:553)

please help me