title: NodeJS/Dokku/Docker: ffmpeg exited with code 127
body: <p>I'm trying to run ffmpeg inside of a Docker container via Dokku. I've <a href="https://github.com/mattcodez/dokku-ffmpeg" rel="nofollow">heavily modified</a> a Dokku plugin to accomplish this as I need h264 support. I currently get an error from fluent-ffmpeg which states</p>
  
  <blockquote>
    <p>Error: ffmpeg exited with code 127</p>
  </blockquote>
  
  <p>I've tried to look up what error code 127 is but haven't found much. Some people seem to suggest that it's some sort of issue with finding ffmpeg. However, I did have a libx264 error from ffmpeg earlier in the process so I'm pretty sure the ffmpeg binary is being found. Unfortunately fluent doesn't send the used command line for ffmpeg to the error event so I'm not sure what the exact command being ran is.</p>