Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Save to Quicktime during calculations?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66447] Re: Save to Quicktime during calculations?
  • From: "Gustavo Delfino" <gdelfino at gmail.com>
  • Date: Sat, 13 May 2006 02:42:35 -0400 (EDT)
  • References: <e3jsgf$8mj$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

What you can do is save each frame to a png or gif file as it is being
generated. Then, if you have QuickTime Pro, you can convert the frames
into a movie.

I should warn you that if you are generating a large number of frames,
then the mathematica front end will use (leak?) more and more memory
until it crashes. Even if you are not displaying the figures. I have
tested this with versions 5.1 and 5.2 while running this code:

Do[
   Plot[Sin[t], {t, 0, 1},
   DisplayFunction ->
     Function[g,Display["~/Desktop/test/" <> ToString[x]
<>".eps",g,"EPS"]]],
{x, 1, 18000}]

I wonder if version 2.2 has this problem.

Regards,

Gustavo Delfino
Caracas, Venezuela

Larry Knight wrote:
> Hello;
>
> I have a Mathematica program which produces a 3-D surface as its output,
> which varies with time.  I have  a  loop which produces one rendering of
> the surface for each time interval.
>
> I am currently making the output into a QuickTime movie by selecting the
> rendered output cells at the end of fhe computation, and converting to
> QuickTime.  However, I cannot run the program for as long as I would
> like due to running out of memory after a large number of time
> iterations.
>
> So, my question is:
> Can I somehow direct the rendered output frames DIRECTLY to a QuickTime
> file (even if the file is not optimally compressed)?  Or, if that is not
> possible, can I direct the output to another type of  file format which
> some QuickTime editor can then process without too much pain?
>
> At the moment I have to produce a short QuickTIme movie, then restart
> Mathematica to regain my memory, then produce another short movie, then
> stitch them together, etc. There has to be a better way!
>
> No doubt one of you has solved this problem already. I would appreciate
> any help.
>
> By the way, I am running Mathematica 2.2 on an iMac under the Classic
> emulator of OSX.
>
> Thanks in advance,
> Larry Knight
> Please also reply to:  LarryKnight71  (at) oohay (backwards) .com


  • Prev by Date: Re: Save to Quicktime during calculations?
  • Next by Date: Re: Re: Automating PolarPlot with Polar Gridlines
  • Previous by thread: Re: Save to Quicktime during calculations?
  • Next by thread: Re: Re: Save to Quicktime during calculations?