title: creating video from selected images using FFMPEG through command Line Android
body: <p>i am trying to make a video from selected images from command line using ffmpeg in android</p>
  
  <p>using <a href="https://github.com/guardianproject/SSCVideoProto" rel="nofollow">this</a> project as my source i m trying to make video </p>
  
  <p>this is the command i m trying to create video</p>
  
  <pre><code>   String[] ffmpegCommand = {ffmpegBin,
              "-y",
              "-qscale",
              "1",
              "-r", "" + frameRate,
              "-i", image1.getAbsolutePath(),
              "-t", "" + (((4) * 30) + 4), //"-s",heightwidth,
              "-i", image2.getAbsolutePath(),
              "-t", "" + (((4) * 30) + 4), //"-s",heightwidth,
              "-i", image3.getAbsolutePath(),
              "-t", "" + (((4) * 30) + 4), //"-s",heightwidth,
              "-i", image4.getAbsolutePath(),
              "-t", "" + (((4) * 30) + 4), //"-s",heightwidth,
              "-vcodec",
              "libx264",
              "-s",
              "640x480",
              outputFile.getAbsolutePath()};
  </code></pre>
  
  <p>but the video created shows only 1st image and video is created of less than a second</p>
  
  <p>what is the problem in this statement ? and why only 1 image is shown in video?</p>
  
  <p>sorry about my bad english</p>