title: Split videos into segments using ffmpeg
body: <p>I have 10000 videos and I want to split each video into five segments</p>
  
  <p>I know previously how to segment video using ffmpeg but I do not know how to use it with a large number of videos </p>
  
  <p>the names of videos are:
  1.avi,
  2.avi,
  3.avi,
  .......
  .....,
  10000.avi</p>
  
  <p><em>I want to use for loop with ffmpeg</em>
           can you please help me?!!!!  </p>