Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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);