title: How to run ffmpeg command in PHP
body: <p>I need to run the ffmpeg command in the PHP.</p>
  
  <p>But php-ffmpeg is no more supports the latest version and out of date.</p>
  
  <p>May i know alternate way to run the ffmpeg command in the webfile (PHP,Javascript,jQuery).</p>
  
  <p>I try the <code>exec()</code> and <code>shell_exec()</code> in the PHP file but gets the blank output.</p>
  
  <pre><code>echo shell_exec("/usr/local/bin/ffmpeg  -i test.mp3  -codec:a libmp3lame -b:a 128k out.mp3");
  </code></pre>
  
  <p>and</p>
  
  <pre><code> echo shell_exec("ffmpeg  -i test.mp3  -codec:a libmp3lame -b:a 128k  out.mp3");
  </code></pre>