Okay so actually there are two things:
- Decide on your FPS. I chose 30.
- Make sure the number of frames in your animation divided by your FPS is an integer. E.g 1 frame / 30 FPS is a decimal.
- Make sure when you input your FPS/sample rate is set to what you intended.