title: Cutting the videos based on start and end time using ffmpeg
body: <p>I tried to cut the video using the start and end time of the video by using the following command</p>
  <pre><code>ffmpeg -ss 00:00:03 -t 00:00:08 -i movie.mp4 -acodec copy -vcodec copy -async 1 cut.mp4
  </code></pre>
  <p>By using the above command i want to cut the video from <code>00:00:03</code> to <code>00:00:08</code>. But it is not cutting the video between those times instead of that it is cutting the video with first 11 seconds. can anyone help me how resolve this?</p>
  <p><strong>Edit 1:</strong></p>
  <p>I have tried to cut by using the following command which is suggested by <a href="https://stackoverflow.com/users/112212/mark4o">mark4o</a></p>
  <pre><code>ffmpeg -i movie.mp4 -ss 00:00:03 -t 00:00:08 -async 1 cut.mp4
  </code></pre>
  <p>But it was shown the following error.</p>
  <p><em><strong>the encoder 'aac' is experimental but experimental codecs are not enabled</strong></em></p>
  <p>so i added the <code>-strict -2</code> into the command i.e.,</p>
  <pre><code>ffmpeg -i movie.mp4 -ss 00:00:03 -t 00:00:08 -async 1 -strict -2 cut.mp4
  </code></pre>
  <p>Now it is working fine.</p>