Message Boards Message Boards

Export Animation as .AVI?

Posted 8 years ago

So, I have the following animation:

Animate[Plot[{Sin[x*Cos[a]]}, {x, -2.5*Pi, 2.5*Pi}, 
  PlotRange -> {{-2.5*Pi, 2.5*Pi}, {-2, 2}}, Axes -> {False}, 
  AspectRatio -> Automatic, 
  PlotStyle -> {Directive[Thickness[.03], Black]}], {a, -Pi, 0}, 
 RefreshRate -> 60, AnimationDirection -> ForwardBackward, 
 DefaultDuration -> 4]

I also have the suggestions bar turned off because, whenever it's on, for some reason Mathematica freezes every time I try to create an animation and then I have to abort the process. So, since I have the suggestions bar turned off, how do I export this as a .AVI file? Can I specify the resolution I export at? The compression codec? The frame rate? I'd like to be able to export at the following specifications (with the animated Sine plot being at full resolution):

  • 60fps
  • Minimum width of 2160 pixels
  • Height corresponding to the same aspect ratio as the plot given the width I specified
POSTED BY: John Travolski
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract