How can I write an MJPEG stream to 开发者_开发问答disk in C#? (AVI, MPEG or OGG)
You create a FileStream
that will be the file you want to write to and use the MJPEG stream as an input to write to this stream.
A library for reading/decoding MJPEG streams was recently released in C#, maybe it will help. You can find it here: http://channel9.msdn.com/coding4fun/articles/MJPEG-Decoder
精彩评论