# SaveAnimation from pvpython doesn't take FrameRate option into account

**URL:** https://discourse.paraview.org/t/saveanimation-from-pvpython-doesnt-take-framerate-option-into-account/1237
**Category:** ParaView Support
**Created:** [February 5, 2019, 5:48pm UTC](https://discourse.paraview.org/t/saveanimation-from-pvpython-doesnt-take-framerate-option-into-account/1237 "2019-02-05T17:48:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![idcbris](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/i/bbe5ce/32.png) [@idcbris](https://discourse.paraview.org/u/idcbris)
#### Post date: [February 5, 2019, 5:48pm UTC](https://discourse.paraview.org/t/saveanimation-from-pvpython-doesnt-take-framerate-option-into-account/1237/1 "2019-02-05T17:48:32Z")

</div>

Hello there,

I’m using pvpython to automate movies generation but somehow the FrameRate option is not working and defaults to 10 fps. Note that I’m writing to a **.avi** file When running the paraview gui this however works. I don’t have a MWE because the files are copiously heavy but I could send these via email if necessary.

Paraview versions is the lastest from master branch compiled on my machine but I’ve tested 5.4.1 from the ubuntu repository and 5.6.0 from paraview’s website.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [February 6, 2019, 9:07am UTC](https://discourse.paraview.org/t/saveanimation-from-pvpython-doesnt-take-framerate-option-into-account/1237/2 "2019-02-06T09:07:11Z")

</div>

Hello,

I would suggest writing to .png file instead and creating the movie afterwards with a tool like ffmpeg.  
I will have greater control over the framerate and other parameters.

Also, you probably need to switch the animation type to `sequence` in order to make sure the number of generated frame is correct.
