Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
creating avi on a mac

Subject: creating avi on a mac

From: Eli

Date: 15 Jan, 2010 03:03:02

Message: 1 of 1

I am using a Matlab R2009a on my mac to create an avi movie:
aviobj = avifile('filename','fps',12);
for T=1:dim
     aviobj = addframe(aviobj,frame);
aviobj = close(aviobj);

The avi file is created, and plays fine on Windows, but it does not play on Quicktime v 10.0.
I am wondering if there is a way to use Matlab to convert this avi into a format that quicktime can read? Alternatively, is there a program I could download that would allow me to view this movie, or convert it? Or maybe there is another function other than 'avifile' to create movies?
Furthermore, the avi I create is quite large (250Mb) so some sort of compression would be nice, but 'avifile' can not use compression on Unix machines...
Any suggestions?

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us