title: How to use FFMPEG with java?
body: <p>I'm using the following command to convert sequence of images to a video.</p>
  
  <pre><code>ffmpeg -r 1 -i sample%d.png -s 320x240 -aspect 4:3 output.flv
  </code></pre>
  
  <p>This works fine for me!</p>
  
  <p>Now i'm trying to use the above command to run through java code.</p>
  
  <p>How can i run the ffmpeg command using <code>Runtime.getRuntime()</code> from my java code.</p>
  
  <p>Please share your thoughts..</p>