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

1 回答 1

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

于 2010-01-02T18:14:15.040 回答