7
是否有一个用.NET编写的库,允许我逐帧阅读视频?用于阅读视频帧的.NET库
使用示例可能如下:
Video vid = Video.Open("test.avi");
foreach (Bitmap bmp in vid.Frames)
PictureBox1.Picture = bmp;
是否有一个用.NET编写的库,允许我逐帧阅读视频?用于阅读视频帧的.NET库
使用示例可能如下:
Video vid = Video.Open("test.avi");
foreach (Bitmap bmp in vid.Frames)
PictureBox1.Picture = bmp;
你可能想看看微软的IMediaDet interface,特别是GetBitmapBits和WriteBitmapBits方法。
本文在CodeProject deomonstrates:
Extract Frames from Video Files
一些很好的信息在这里:http://stackoverflow.com/questions/37956/c-whats-the-easiest-library-to-open-video-file 没有痛苦 - 没有收获。另外,avi文件格式据说非常简单。 – 2010-01-02 18:08:59