title: ffmpeg video encoding progress bar
body: <p>When I run the conversion in the browser it simply shows the white blank space. Only after the conversion process page will load.</p>
  
  <p>Please suggest how to implement a progress bar which shows the progress to the user when the video conversion takes place.</p>
  
  <p>I have this in my php script</p>
  
  <pre><code>exec("ffmpeg -i filename.flv -sameq -ab 128 -s 640x480 filename.mp4");
  </code></pre>
  
  <p>so how should I change this script to get the progress details even to a file or directly as ouput in the page. Please can anyone give me a complete script/code to explain it in detail. Because I think I cant get the complete answers and so I am confused on what to do with this</p>