Answers.Body: <p>That's processing speed i.e. ffmpeg is encoding 18 frames per second, not the output file's framerate. You can set <code>-preset fast</code> to speed it up but again this has nothing to do with output file's framerate.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-11T23:34:31.400Z
Answers.LastActivityDate: 2017-09-11T23:34:31.400Z
Answers.UserDisplayName: Gyan
Body: <p><strong>in short:</strong> I set -r 25 , but I see in the converting process that it's fps=18. Why?  </p>
  
  <p>I am trying to convert a video to H.264 format using ffmpeg, and I am trying to set the framerate(out framerate) to 25. I am willing to accept more than 25 if possible but not below.<br>
  so I use this command:  </p>
  
  <pre><code>ffmpeg -i Millionaire.mp4 -y -c:v libx264 -r 25 file.h264  
  </code></pre>
  
  <p>But I see that in the convertion process in the cmd that: <code>fps=18</code><br>
  Now I understand that fps means "<strong>frames per second</strong>".<br>
  And right after I hit the enter key, it starts as fps=25 but then it drops by 1 every few seconds until it reaches 18.  </p>
  
  <p>The input file is 1.61 GB<br>
  ffmpeg version:<br>
  ffmpeg-20170130-cba4f0e-win64-static.zip    47340467    30-Jan-2017 06:02<br>
  from the website:  <a href="https://ffmpeg.zeranoe.com/builds/win64/static/" rel="nofollow noreferrer">https://ffmpeg.zeranoe.com/builds/win64/static/</a>  </p>
  
  <p>System information:<br>
  i7-4702MQ CPU 2.20 GHZ<br>
  RAM = 8 GB<br>
  Windows 10 x64  </p>
  
  <p>Anybody knows why it doesn't stay on fps=25? And how can I force it to not drop below 25 fps?<br>
  Thank you</p>
  
Tags: <ffmpeg><h.264><25fps>
Title: How to set ffmpeg encoding framerate?
UserDisplayName: Davis8988
ThreadText: # How to set ffmpeg encoding framerate?
  
  (Asked by: username_0 on 2017-09-11)
  
  **in short:** I set -r 25 , but I see in the converting process that it's fps=18. Why?
  
  I am trying to convert a video to H.264 format using ffmpeg, and I am trying to set the framerate(out framerate) to 25. I am willing to accept more than 25 if possible but not below.  
  so I use this command:
  
  ```
  ffmpeg -i Millionaire.mp4 -y -c:v libx264 -r 25 file.h264  
  
  ```
  
  But I see that in the convertion process in the cmd that: `fps=18`  
  Now I understand that fps means "**frames per second**".  
  And right after I hit the enter key, it starts as fps=25 but then it drops by 1 every few seconds until it reaches 18.
  
  The input file is 1.61 GB  
  ffmpeg version:  
  ffmpeg-20170130-cba4f0e-win64-static.zip 47340467 30-Jan-2017 06:02  
  from the website: <https://ffmpeg.zeranoe.com/builds/win64/static/>
  
  System information:  
  i7-4702MQ CPU 2.20 GHZ  
  RAM = 8 GB  
  Windows 10 x64
  
  Anybody knows why it doesn't stay on fps=25? And how can I force it to not drop below 25 fps?  
  Thank you
  
  **Tags:** ffmpeg, h.264, 25fps
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-09-11. Score: 3 | Accepted answer
  
  That's processing speed i.e. ffmpeg is encoding 18 frames per second, not the output file's framerate. You can set `-preset fast` to speed it up but again this has nothing to do with output file's framerate.
  
  
  ---
  
  