title: FFmpeg: How to split video efficiently?
body: <p>I wish to split a large avi video into two smaller consecutive videos. I am using ffmpeg.</p>
  
  <p>One way is to run ffmpeg two times:</p>
  
  <pre><code>ffmpeg -i input.avi -vcodec copy -acodec copy -ss 00:00:00 -t 00:30:00 output1.avi
  ffmpeg -i input.avi -vcodec copy -acodec copy -ss 00:30:00 -t 00:30:00 output2.avi
  </code></pre>
  
  <p>But according to manpage of ffmpeg, I can make more than one ouput file from one input file using just <strong>one</strong> line:</p>
  
  <pre><code>ffmpeg -i input.avi -vcodec copy -acodec copy -ss 00:00:00 -t 00:30:00 output1.avi \
     -vcodec copy -acodec copy -ss 00:30:00 -t 00:30:00 output2.avi
  </code></pre>
  
  <p>My question is, does the later approach save computation time and memory?</p>