title: How to install FFMPEG in PHP to encode video
body: <p>I want to know how this FFMPEG to integrate in php. I want to encode video. I got this link earlier to refer </p>
  
  <p><a href="http://youtubeclone.wordpress.com/2007/05/26/how-to-convertencode-files-to-flv-using-ffmpeg-php/" rel="nofollow noreferrer">http://youtubeclone.wordpress.com/2007/05/26/how-to-convertencode-files-to-flv-using-ffmpeg-php/</a></p>
  
  <p>but dont know where to point this</p>
  
  <p>$ffmpegPath = "/path/to/ffmpeg";
  $flvtool2Path = "/path/to/flvtool2";</p>
  
  <p>here we have to give the path "/path/to/ffmpeg", "/path/to/flvtool2". I am little bit confused what to do or how to integrate ffmpeg, flvtool2 in php</p>