title: FFMpeg video stopmotion
body: <p>I would like to create stop motion video from original video.
  The logic is take frame at specified interval. 
  And play the video with specified playback rate.</p>
  
  <p>For example,<br>
  The original video duration is 114.048 seconds.<br>
  The output video playback rate 5 times faster than source video.<br>
  Take each frame at the interval of 1 seconds. so the final video duration should be (22.81 = 114.048/1*0.2) seconds</p>
  
  <p>Below is the screenshot of demo<a href="https://i.stack.imgur.com/awr54.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/awr54.png" alt="enter image description here"></a></p>
  
  <p>For this I need ffmpeg code</p>
  
  <p><code>ffmpeg -r 1 -i D:\21-03-2018\15305154945b39d026a18da.mp4 D:\21-03-2018\output.mp4</code></p>