Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I am exporting an animation created using Manipulate in the .avi format. However the video runs very fast (I am putting it in Keynote). Its speed seems independent of how small I choose the step in Manipulate. Is there a way to control how fast the .avi will run or some other way to show the animation slower?

share|improve this question
1  
If you post a working code snippet of what you are trying to export you will also probably get much better answers (see for example how this question was asked). –  Ajasja May 14 '12 at 19:36
1  
In this related question, "Exporting Animations under Duration constraints to view on an iPad", some other export methods are discussed. –  Jens May 15 '12 at 2:17
add comment

2 Answers

The trick is using a combination of "FrameRate", an option of Export, and AutorunSequencing, an option of Manipulate. The former determines the number of frames/second of the movie whereas the latter determines how long a sweep of the control takes. With one control, that will be the length of the movie.

Export["output.avi", 
 Manipulate[
   Plot[Sin[k  x], {x, 0, 2 \[Pi]}], 
   {k, 1, 5}, 
   AutorunSequencing -> {{1, 10}}
 ], "FrameRate" -> 2
]

enter image description here

share|improve this answer
add comment

The option you need is "FrameRate". It's not even necessary to create a list of graphics objects first, as per Sjored's answer.

share|improve this answer
    
You can Export a Manipulate as movie without creating an array. Try Export["output.avi", Manipulate[Plot[Sin[k x], {x, 0, 2 \[Pi]}], {k, 1, 5}]] –  Sjoerd C. de Vries May 14 '12 at 19:44
    
@SjoerdC.deVries: but you can't control the speed of the movie that way afaik. –  Heike May 14 '12 at 19:46
    
@heike please see my answer –  Sjoerd C. de Vries May 14 '12 at 20:06
    
@SjoerdC.deVries I stand corrected –  Heike May 14 '12 at 20:21
    
@SjoerdC.deVries Me too:) –  Ajasja May 14 '12 at 20:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.