title: PHP exec() Not Working With ffmpeg
body: <p>I'm attempting to run the following command in PHP (on Ubuntu):</p>
  
  <pre><code>&lt;?php
   if (exec("/home/johnboy/ffmpeg/ffmpeg -i test1.mp4 -acodec aac -ab 128kb -vcodec mpeg4 -b 1220kb -mbd 1 -s 320x180 final_video.mov")) 
        { echo "Success"; }
        else { echo "No good"; }
  </code></pre>
  
  <p>And I always get "No good" echoed back, and no file created.</p>
  
  <p>Interestingly, if I run the same exact command in Shell, it works, no problems.</p>
  
  <p>Also, when I run the same code above, but subsitute "whoami" instead of the ffmpeg stuff, it works.  (It echoes back "Success")</p>
  
  <p>Any ideas on why this wouldn't be working?  Thanks.</p>