开发者

How can I slow down .avi files when creating them from Mathematica?

开发者 https://www.devze.com 2023-04-01 16:31 出处:网络
I have created a list of plots that I want to run as a movie. list11 = {pic0, pic001, pic01, pic02, pic05, pic1, pic2, pic5, pic10};

I have created a list of plots that I want to run as a movie.

list11 = {pic0, pic001, pic01, pic02, pic05, pic1, pic2, pic5, pic10};

First I created an animation which I slowed down to 1 frame per second using the following code:

ListAnimate[list11, AnimationRate -> 1]

I now wanted to export this to an avi file so I tried the following:

Export["periodic.avi", ListAnimate[list11, 1]]

However the result of this was a movie that played too fast (I think it was playing at the default total duration of 5 seconds rather than the 9 that I wanted)

I then tried to export the list directly:

 Export["periodic2开发者_运维知识库.avi", list11]

This however went even faster again (the whole thing was finished in about 1 second)

Looking in the help files it said that there was an advanced export option called "framerate", so I tried:

 Export["periodic2.avi", list11,"framerate"->1]

But this just gave me the exact same output as the previous .avi file (it seemed that the framrate option was completely ignored because I tried different values instead of 1 but the output was always the same speed).

Can anyone enlighten me on how I can control the animation speed of the .avi file?


Mathematica is case sensitive."framerate" should be written as "FrameRate".

How can I slow down .avi files when creating them from Mathematica?

0

精彩评论

暂无评论...
验证码 换一张
取 消