title: Increase frame rate and decrease duration of video using FFMPEG
body: <p>Please help me out. I have a video of 0.04 frame rate and 02:46:40 duration, and I want to increase frame rate to 25fps and decrease duration to 10s-13s. I have used these commands for fps and speed respectively:</p>
  <ol>
  <li>ffmpeg -i input.avi -r 25 output.avi</li>
  <li>ffmpeg -i output.avi -vf &quot;setpts=0.001*PTS&quot; output1.avi</li>
  </ol>
  <p>But the final result output1.avi has distortion in it. How can I achieve my required fps and duration without any loss in my video quality?</p>