The easiest method is to use a static build of ffmpeg
. Just download, extract, and execute it.
You can move the binary wherever you prefer. To use it either:
- place it somewhere in your
PATH
, - or navigate to the directory containing the binary and run
./ffmpeg
, - or provide the full path to the binary, such as
/Users/Tenaciousd93/ffmpeg
.
If the static build does not provide what you need, such as libfdk_aac
encoding support, then you can compile on the server as shown in FFmpeg Wiki: OS X Compile Guide.