title: sting up ffmpeg to work in XAMPP
body: <p>I'm trying to figuring out how to install and use ffmpeg on windows 64 with XAMPP.</p>
  
  <p>I have flow <a href="http://www.youtube.com/watch?v=gU49GiWGGAI&amp;feature=youtu.be" rel="nofollow">this tutorial</a> and install the ffmpeg-php librarys and I can see the expansion in the phpinfo().</p>
  
  <p>Now I put my ffmpeg.exe in the site root folder and I run this php script:</p>
  
  <pre><code>extension_loaded('ffmpeg') or die('Error in loading ffmpeg');
  
  function convertTo( $input, $output ) 
  {
  echo $cmd = "ffmpeg -i $input $output";
  $outputData = array();
  exec( $cmd , $outputData);
  echo "&lt;br/&gt;";
  print_r($outputData);
  }
  
  convertTo( "input.mp4", "output.flv" );
  </code></pre>
  
  <p>and I get this output:</p>
  
  <pre><code>ffmpeg -i input.mp4 output.flv
  Array ( )
  </code></pre>
  
  <p>but no encoded file.
  My php safe mode is off and the movie file is in the root folder too. </p>
  
  <p>workplace info:</p>
  
  <ul>
  <li>win7 64bit</li>
  <li>XAMPP 1.7.2</li>
  <li>Apache 2.2</li>
  <li>php 5.3.5</li>
  </ul>
  
  <p>Help will be appreciated.</p>