Search code examples
matlabvideoubuntu-11.04wmv

Matlab: loading wmv video files


I am trying to load a wmv video in Matlab as follows:

vidObj = mmreader('video.wmv');

However, I receive the following error:

The file requires the following codec(s) to be installed on your system: video/x-ms-asf

I don't understand why I am receiving this error, since I am able to play wmv files on my system. I am running Matlab 7.10.0 (R2010a) on Ubuntu 11.04. How can I fix this problem?


Solution

  • it might be hard to impossible to get this working on a linux system. Alternatively, you could write your own wmv import function (if you know how to talk to the underlying libraries on your linux system, i.e. vlc).