2

I'm trying to run ffmpeg inside of a Docker container via Dokku. I've heavily modified a Dokku plugin to accomplish this as I need h264 support. I currently get an error from fluent-ffmpeg which states

Error: ffmpeg exited with code 127

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.

Matt Molnar
  • 2,412
  • 3
  • 22
  • 28

1 Answers1

3

127 means command not found. (127 Return code from $?)

I guess your ffmpeg executable is not located in any directories defined by environment variable PATH.

Community
  • 1
  • 1
Alex Lau
  • 1,687
  • 10
  • 17