title: PHP FFMpeg error ffprobe failed to execute command "ffprobe.exe" "-help" "-loglevel" "quiet"
body: <p>I'm searching for a way to compress and convert uploaded videos on my site, I'm trying to use <a href="https://github.com/PHP-FFMpeg/PHP-FFMpeg" rel="nofollow noreferrer">FFMpeg</a> with this PHP basic code (on windows):</p>
  
  <pre><code>&lt;?php
  ini_set('display_errors', 'On'); error_reporting(E_ALL);
  require("vendor/autoload.php");
  $ffmpeg = FFMpeg\FFMpeg::create(array(
      'ffmpeg.binaries'  =&gt; 'C:/inetpub/wwwroot/FFmpeg/ffmpeg.exe',
      'ffprobe.binaries' =&gt; 'C:/inetpub/wwwroot/FFmpeg/ffprobe.exe',
      'timeout'          =&gt; 3600, // The timeout for the underlying process
      'ffmpeg.threads'   =&gt; 12,   // The number of threads that FFMpeg should use
  ));
  $video = $ffmpeg-&gt;open('input.mp4');
  $video
      -&gt;filters()
      -&gt;resize(new FFMpeg\Coordinate\Dimension(320, 240))
      -&gt;synchronize();
  $video
      -&gt;frame(FFMpeg\Coordinate\TimeCode::fromSeconds(10))
      -&gt;save('frame.jpg');
  $video
      -&gt;save(new FFMpeg\Format\Video\X264(), 'export-x264.mp4')
      -&gt;save(new FFMpeg\Format\Video\WMV(), 'export-wmv.wmv')
      -&gt;save(new FFMpeg\Format\Video\WebM(), 'export-webm.webm');
  ?&gt;
  </code></pre>
  
  <p>but I'm getting this error:</p>
  
  <pre><code>Fatal error: Uncaught Alchemy\BinaryDriver\Exception\ExecutionFailureException: ffprobe failed to execute command "C:/inetpub/wwwroot/FFmpeg/ffprobe.exe" "-help" "-loglevel" "quiet" in C:\inetpub\wwwroot\site\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\ProcessRunner.php:100 Stack trace: #0 C:\inetpub\wwwroot\site\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\ProcessRunner.php(72): Alchemy\BinaryDriver\ProcessRunner-&gt;doExecutionFailure('"C:/inetpub/www...') #1 C:\inetpub\wwwroot\site\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\AbstractBinary.php(209): Alchemy\BinaryDriver\ProcessRunner-&gt;run(Object(Symfony\Component\Process\Process), Object(SplObjectStorage), false) #2 C:\inetpub\wwwroot\site\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\AbstractBinary.php(137): Alchemy\BinaryDriver\AbstractBinary-&gt;run(Object(Symfony\Component\Process\Process), false, NULL) #3 C:\inetpub\wwwroot\site\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe\OptionsTester.php(61): Alchemy\Binary in C:\inetpub\wwwroot\site\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe\OptionsTester.php on line 63
  </code></pre>
  
  <p>what am I doing wrong? there are better libraries?</p>