title: Set the framerate of converted output file using ffmpeg-python
body: <p>I have the following line to convert a <code>.mp4</code> file to a <code>.gif</code> file using <code>ffmpeg-python</code>:</p>
  <pre><code>ffmpeg.input('test.mp4').trim(start=0, duration=3).output('output.gif').run()
  </code></pre>
  <p>It works well, but I wanted to reduce the frame rate. <a href="https://kkroening.github.io/ffmpeg-python/" rel="nofollow noreferrer">At this link</a>, I could not find a way to do this. Does somebody know how to do it ?</p>