问题
How can I write an MJPEG stream to disk in C#? (AVI, MPEG or OGG)
回答1:
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.
回答2:
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
来源:https://stackoverflow.com/questions/4658742/write-mjpeg-stream-to-disk