Answers.Body: <p>Use</p>
  
  <pre><code>ffmpeg -i in.avi -r 50 -filter:v "setpts=0.5*PTS" out.avi
  </code></pre>
  
  <p>or</p>
  
  <pre><code>ffmpeg -i in.avi -r 50 -filter:v "setpts=N/50/TB" out.avi
  </code></pre>
  
  <hr>
  
  <p>If you want to <em>interpolate</em> new frames, use</p>
  
  <pre><code>ffmpeg -i in.avi -r 50 -filter:v "yadif,framerate=50" out.avi
  </code></pre>
  
  <p><code>yadif</code> is a deinterlacing filter, which is needed since the framerate filter does not operate on interlaced media.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T12:02:09.200Z
Answers.Text: Thanks for the reply,But the output of both your commands has 500 frames.(I need to get 1000 frames without any duplicate)
Answers.UserDisplayName: Maria
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T12:02:58.307Z
Answers.Text: I used this command to extract out.avi  :  ffmpeg  -i out.avi  -f image2 %d.png
Answers.UserDisplayName: Maria
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T12:23:55.340Z
Answers.Text: See new command.
Answers.UserDisplayName: Gyan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T12:57:35.873Z
Answers.Text: Yes I want interpolate new frames , but the new frames quality is poor , I need something like [this](http://jcornet.free.fr/linux/yuvmotionfps.html) ,But I think that is impossible by ffmpeg (? maybe I'm wrong) ,So I'll accept your answer. Thank you very much.
Answers.UserDisplayName: Maria
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T13:29:05.257Z
Answers.Text: Try [slowmovideo](http://slowmovideo.granjow.net/).
Answers.UserDisplayName: Gyan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T11:51:12.333Z
Answers.LastActivityDate: 2016-06-06T12:23:34.997Z
Answers.LastEditDate: 2016-06-06T12:23:34.997Z
Answers.UserDisplayName: Gyan
Body: <p>My video details : DV-PAL 720x576i , 25FPS , duration=20s , frames=500</p>
  <p>I need to increase (double) the video frames without any duplicate frame.</p>
  <p>I used the following commands to increase (double) frame rate of the video.</p>
  <pre><code>ffmpeg -i in.avi -r 50 out.avi
  ffmpeg -i in.avi -r 50 -filter:v setpts=2*PTS out.avi
  </code></pre>
  <p>But not works properly.</p>
  <p>Please tell me How to double video frames without any duplicate frames?</p>
  <p><strong>Note</strong> : tool (ffmpeg or mencoder or etc.) and the duration and speed are not matter for me, Because I want to extract frames.</p>
  
Tags: <video><ffmpeg><conversion><framerate><windows>
Title: How to double video frames without any duplicate frames
UserDisplayName: Maria
ThreadText: # How to double video frames without any duplicate frames
  
  (Asked by: username_0 on 2016-06-06)
  
  My video details : DV-PAL 720x576i , 25FPS , duration=20s , frames=500
  
  I need to increase (double) the video frames without any duplicate frame.
  
  I used the following commands to increase (double) frame rate of the video.
  
  ```
  ffmpeg -i in.avi -r 50 out.avi
  ffmpeg -i in.avi -r 50 -filter:v setpts=2*PTS out.avi
  
  ```
  
  But not works properly.
  
  Please tell me How to double video frames without any duplicate frames?
  
  **Note** : tool (ffmpeg or mencoder or etc.) and the duration and speed are not matter for me, Because I want to extract frames.
  
  **Tags:** video, ffmpeg, conversion, framerate, windows
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-06-06. Score: 3 | Accepted answer
  
  Use
  
  ```
  ffmpeg -i in.avi -r 50 -filter:v "setpts=0.5*PTS" out.avi
  
  ```
  
  or
  
  ```
  ffmpeg -i in.avi -r 50 -filter:v "setpts=N/50/TB" out.avi
  
  ```
  
  ---
  
  If you want to *interpolate* new frames, use
  
  ```
  ffmpeg -i in.avi -r 50 -filter:v "yadif,framerate=50" out.avi
  
  ```
  
  `yadif` is a deinterlacing filter, which is needed since the framerate filter does not operate on interlaced media.
  
  > **Comments:**
  > **username_0**: Thanks for the reply,But the output of both your commands has 500 frames.(I need to get 1000 frames without any duplicate)  
  > **username_0**: I used this command to extract out.avi  :  ffmpeg  -i out.avi  -f image2 %d.png  
  > **username_1**: See new command.  
  > **username_0**: Yes I want interpolate new frames , but the new frames quality is poor , I need something like [this](http://jcornet.free.fr/linux/yuvmotionfps.html) ,But I think that is impossible by ffmpeg (? maybe I'm wrong) ,So I'll accept your answer. Thank you very much.  
  > **username_1**: Try [slowmovideo](http://slowmovideo.granjow.net/).  
  
  ---
  
  