Got Questions? Get Answers.
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:
Movie with different sized frames?

Subject: Movie with different sized frames?

From: Chuck37

Date: 16 May, 2012 18:11:08

Message: 1 of 3

I want to display a sequence of color plots (plotted with image) as a movie, but they are not all the same size in pixels. Movie2avi can't stand this apparently. Is there an alternative? I didn't understand that it used the underlying image resolution as opposed to screen resolution, which is constant. I can display the movie in matlab, but it acts kind of weird, sort of walking around in the figure window. I really just want a flip book type thing I guess. Thanks for any ideas.

Subject: Movie with different sized frames?

From: Patrick

Date: 16 May, 2012 23:44:28

Message: 2 of 3

"Chuck37" wrote in message <jp0qjs$h4j$1@newscl01ah.mathworks.com>...
> I want to display a sequence of color plots (plotted with image) as a movie, but they are not all the same size in pixels. Movie2avi can't stand this apparently. Is there an alternative? I didn't understand that it used the underlying image resolution as opposed to screen resolution, which is constant. I can display the movie in matlab, but it acts kind of weird, sort of walking around in the figure window. I really just want a flip book type thing I guess. Thanks for any ideas.

I would just use interpn to make all the frames the same resolution.

Subject: Movie with different sized frames?

From: Chuck37

Date: 17 May, 2012 00:20:26

Message: 3 of 3

"Patrick " <praphael@gmail.com> wrote in message <jp1e4s$bmb$1@newscl01ah.mathworks.com>...
> "Chuck37" wrote in message <jp0qjs$h4j$1@newscl01ah.mathworks.com>...
> > I want to display a sequence of color plots (plotted with image) as a movie, but they are not all the same size in pixels. Movie2avi can't stand this apparently. Is there an alternative? I didn't understand that it used the underlying image resolution as opposed to screen resolution, which is constant. I can display the movie in matlab, but it acts kind of weird, sort of walking around in the figure window. I really just want a flip book type thing I guess. Thanks for any ideas.
>
> I would just use interpn to make all the frames the same resolution.

Might take a while, but I guess it would work.

Incidentally, is there a way to keep the axes and titles in a movie? My title is the time and the axes are kind of useful too.

Tags for this Thread

No tags are associated with 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