title: Framerate vs r vs Filter fps
body: <p>I'm trying to better understand FFmpeg framerate.</p>
  
  <p><strong>Example:</strong> If I wanted to convert a <code>30 fps</code> video to <code>23.976 fps</code>.</p>
  
  <hr>
  
  <h2>What are the differences between:</h2>
  
  <p>Option<br>
  <code>-framerate 24000/1001</code></p>
  
  <p>Option<br>
  <code>-r 24000/1001</code></p>
  
  <p>Filter<br>
  <code>-vf "fps=24000/1001"</code></p>
  
  <p>x265 params<br>
  <code>-x265-params "fps=24000/1001"</code></p>
  
  <hr>
  
  <h2>What I've read is:</h2>
  
  <p><code>-framerate</code> is image sequence fps (input video fps?) </p>
  
  <p><code>-vf "fps="</code> is encoding fps</p>
  
  <p><code>-r</code> is output fps</p>
  
  <p>However I don't know if that is correct, or if it changes depending on what order you place them in the options.</p>
  
  <hr>
  
  <h2>Questions</h2>
  
  <ol>
  <li><p><code>-x265-params "fps="</code> Is it required use it's own fps param? Can it not use default options?</p></li>
  <li><p>Should multiple Options, Filters ,and Params be combined, or should you only use one?</p></li>
  <li><p>Input/Output Framerate  </p>
  
  <p><a href="https://ffmpeg.org/ffmpeg.html#toc-Video-Options" rel="noreferrer">https://ffmpeg.org/ffmpeg.html#toc-Video-Options</a> </p>
  
  <p><code>-r[:stream_specifier] fps (input/output,per-stream)</code>  </p>
  
  <p><code>If in doubt use -framerate instead of the input option -r.</code></p>
  
  <p>Is <code>-r</code> input or output? How do you specify, by putting before or after the <code>-i</code>?</p></li>
  </ol>