2014-01-27 04:15:56 -0600 | asked a question | video reading Hi, I wanto to read a simple video file. Code is below, but i can not read the video file and always the compiler break the loop at the first step by the code if(!frame) break; where may i doing mistake? Thanks. include <stdio.h>include <opencv\cv.h>include <opencv\highgui.h>include <math.h>include <iostream>using namespace cv; using namespace std; int main(int argc, char* argv) { CvCapture cap = cvCreateFileCapture("a.avi"); } |
2014-01-26 13:31:09 -0600 | answered a question | Help to Open Video File hi can i ask a question? where did you stored the video Megamind.avi. i have stores the video in my visual studio project. but the program can not read the file. i can read an image when i stored the image at the same place. or i give the path of video, but again i can not read the video by using the code above |
2014-01-25 08:20:05 -0600 | received badge | ● Supporter (source) |