从流图像创建视频C#
问题描述:
如何在C#中从流图像(仅包含声音的图像)构建视频?
How can I build video from stream image (only image without sound) in C#?
这是我的应用程序的一些代码:
Here is some code of my application:
static int ii = 1;
public void drawBitmap(byte[] data)
{
MemoryStream ms = new MemoryStream(data);
try
{
Bitmap b = new Bitmap(ms);
b.Save(@"c:\test\" + (ii++) + ".jpg");
Image i = (Image)b;
pictureBox1.Image = i;
ii++;
}
catch (Exception e)
{
}
}
答
您可能想看一下这个线程:
You might want to take a look at this thread:
相同的问题.一些答案.
Same question. Some answers.
更多可用信息在这里:
http://www.codeproject.com/Articles/7388/A-Simple-C-Wrapper-for-the-AviFile-Library