PDA

View Full Version : MATLAB avi file compression


almeidaofctu
19 Jun 2007, 10:09pm
Hey folks,

I am generating an avi movie file in MATLAB and am trying to play it in PowerPoint, but Powerpoint will not play it. It seems that MATLAB's default compression did not allow the file to be played in such an application as Power Point. Can anyone shed some light on this problem?

Thanks,

Matt

shwaip
28 Jun 2007, 1:23am
This appears to be a powerpoint issue rather than a matlab issue. The default codec (<tt>Indeo5</tt>) appears not to work in ppt. if the video isn't very long, you can try telling it not to use any compression:


movie2avi(mov,filename, 'compression','None');


if you're not using movie2avi, you should just be able to add the last to arguments to whatever you're using to build the avi file.