7

Is there a library written in .NET that allows me to read a video frame by frame?

Sample usage could be as follows:

Video vid = Video.Open("test.avi");
foreach (Bitmap bmp in vid.Frames)
      PictureBox1.Picture = bmp;
Muhammad Hasan Khan
  • 34,648
  • 16
  • 88
  • 131
  • Some good info here: http://stackoverflow.com/questions/37956/c-whats-the-easiest-library-to-open-video-file No pain - no gain. Also, the avi file format is supposedly very simple. – Hamish Grubijan Jan 02 '10 at 18:08

1 Answers1

7

You might want to take a look at Microsoft's IMediaDet interface, specifically the GetBitmapBits and WriteBitmapBits methods.

This article on CodeProject deomonstrates:
Extract Frames from Video Files

Jay Riggs
  • 53,046
  • 9
  • 139
  • 151