MATLAB: How to use Windows Media Encoder with the Video and Image Processing Blockset 3.0 (R2010a)

Computer Vision Toolbox

Windows Media Encoder is a free tool for Microsoft platforms which will allow you to:
  • Encode WMV (Windows Media Video) files.
  • Encode WMA (Windows Media Audio) files.
  • Stream WMA/WMV files over the internet.
It can be downloaded at this location:
<http://www.microsoft.com/windows/windowsmedia/forpros/encoder/default.mspx>
I would like to know how it can be used along with the Video and Image Processing Blockset.

Best Answer

The ToMultimediaFile block allows you to write WMA/WMV streams to disk or across a network connection. Similarly, the FromMultimediaFile block allows you to read WMA/WMV streams to disk or across a network connection.
If you want to play an MP3/MP4 file in Simulink, but you do not have the codecs, you can re-encode the file as WMA/WMV, which are supported by the VIP Blockset.