[Sea-mat] new to group, movie question

Richard Signell signell at saclantc.nato.int
Tue May 4 04:15:45 EDT 2004


Lynn,

I still use the "anim_frame.m" and "anim_make.m" m-files that
you can get on the sea-mat site:

http://sea-mat.whoi.edu/RPSstuff-html/anim_make.html


This uses screen capture so what-you-see-is-what-you-get (doesn't
use the print function), saves the images as PCX and then converts
them into a .FLC animation using "ppmtofli".  The flc format is 
still a good format for many applications (better than mpeg for
most of the movies I make) and has viewers for all
platforms.  See:

http://woodshole.er.usgs.gov/operations/modeling/flc.html

Also if you need to convert FLC to AVI, say for use in 
MS Powerpoint, you can use shareware tools
such as "videomach" from http://www.gromada.com (use the RLE
codec for compression, as it is similar to FLC).

The only drawback with the "capture" method is that you can't
obscure the figure window while you are making the movie, which
can take a long time if you have 800 frames.  So you can do it
overnight, or you can use the trick that I use:  I start a 
VNC server on my machine, connect to the server using VNC viewer,
start Matlab in the VNC viewer window, and then run my movie maker
in this window.  Since it's a virtual server, you don't have
to worry about obscuring the window.  Maybe there is a smarter way
(if someone knows, please tell me), but this works.

-Rich




 Yarmey wrote:
> 
> hello!
> 
> i am hoping someone on this list can help me convert a timeseries of
> figures into a movie with decent resolution, speed and size, how hard can
> it be! :)
> 
> i have a long timeseries (800 timesteps) of 2D filled contour subplots.  i
> initially attempted to use the matlab capture/getframe/movie features,
> though the loop eventually crashed matlab (and then my computer) with a
> memory error.  i tried these feature in both matlab 12.1 and earlier
> releases with the same result.
> 
> i then printed each figure to a jpeg from the loop and used outside
> software to convert the individual files into a movie. gifwrite created a
> decent movie, but it was so large i could not easily work with it.  imovie
> on the mac crashed out due to memory errors as well.   the iphoto program
> would export to quicktime however the max speed was one frame/second so
> my final movie is 15 minutes long.   my department IT manager is having
> some problems installing the latest mpeg software into UNIX so i am
> turning to the list for any and all advice!
> 
> has anyone created large movies with matlab figures, and if so, how did
> you do it?
> 
> all help is appreciated!
> 
> many thanks for your time!
> lynn yarmey
> 
> ___________________________________________________________
> Lynn Yarmey
> Integrative Oceanography Division - 0209
> Scripps Institution of Oceanography
> University of California, San Diego
> 9500 Gilman Dr. La Jolla, CA  92093
> 
> _______________________________________________
> Sea-mat maillist  -  Sea-mat at whoi.edu
> http://mailman.whoi.edu/mailman/listinfo/sea-mat

-- 
Dr. Richard P. Signell                 |  signell at saclantc.nato.int
NATO/SACLANT Undersea Research Centre  |    Tel: (+39) 0187 527 381
Viale San Bartolomeo 400               |    Fax: (+39) 0187 527 331
19138 La Spezia, ITALY  --> From USA/CANADA, use: APO AE 09613-5000


***PRIVILEGED AND CONFIDENTIAL*** 
The information contained in this e-mail message (including any attached files) is intended for the use of the addressee(s) only and is privileged information. The information should neither be posted to the Internet, nor published in any other public domain, without the express permission of the sender. If you are not the intended recipient(s) or the recipient's representative, you are hereby notified that any use, disclosure, copying or distribution of this communication is prohibited. If you have received this communication in error please notify us immediately at postmaster at saclantc.nato.int, and remove this message from your system.




More information about the Sea-mat mailing list