Introduction - If you have any usage issues, please Google them yourself
function list = mmwrite(filename,...options...)
mmwrite is able to write AVI,WMV,WMA,ASF files. For AVI files you can choose from the available codecs to compress the audio and video streams.
For WMV,WMA and ASF the encoding defaults to Windows Media 9 44100Hz 16bit stereo 98 quality for the audio and Windows Media 9 Video with 98
quality. The quality can be specified for both audio and video.
Surround sound only seems to work with AVI and multi-pass encoding is not supported. Writing any other file type is not supported. This uses Windows DirectX infrastructure, so other OSs are out of luck.
INPUT:
filename: This must be the first parameter and specifies the filename to write.
video structure: The video structure matches the output of mmread. At a minimum it must have 4 fields "frames", "times", "height" and "width". The "frames" field must be a struct array with a field "cdata" that contains the raw frame data encoded as height by width by color(3) as UINT8s. Th