Ask Your Question

Revision history [back]

You can have some thing like

  CvCapture* capture = cvCreateFileCapture( "video.flv" );
  IplImage* frame;
  .
  .
  .

 frame = cvQueryFrame( capture );
 cvSaveImage("image.jpeg",frame);

You can have some thing like

  CvCapture* capture = cvCreateFileCapture( "video.flv" );
  IplImage* frame;
  .
  .
  .

 frame = cvQueryFrame( capture );
 cvSaveImage("image.jpeg",frame);