MATLAB: Trouble creating AVI with 64-bit Windows

64-bitaviImage Processing Toolboxmovie2avivideo processing

Trying to create AVI movie with either movie2avi, addframe or VideoWriter, I get file, where all the frames are identical (i.e. the first one is reproduced). No error occurs. The problem is present only for PCs with 64-bit Windows – Windows-7 with Matlab 2013b and Windows-8 with Matlab 2010b. Movies are small (5-20 frames with resolution about 400×400 pix). An example from Help for movie2avi leads to the same result. Any known solutions?

Best Answer

I'm sure there is but we can't fix it until you upload your code. In the meantime, see my code, which works.