This question already has an answer here:

You can get the binary here How do I install said binary to use it as a commandline tool? I have a mac, with mavericks. If possible, it would be nice to install it without the use of an admin password.

marked as duplicate by slhck Dec 22 '14 at 17:38

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 10 down vote accepted

Looks like you can just download the zip for "Snow Leopard and Above 64bit", unzip the file once it's finished downloading (by double clicking it or using the commandline tool unzip), and then you have the binaries.

Then you just have to decide where to put the binaries. Since you don't want an admin password, it's probably best to keep them in your home directory. Thus I recommend doing the following in your terminal:

mkdir -p ~/.local/bin
cd ~/Downloads
curl -L '' | tar -xf-
mv ffmpeg ffprobe ffserver ~/.local/bin
echo 'export PATH=$PATH:~/.local/bin' >> ~/.bash_profile
source ~/.bash_profile

The above script will make a directory for the new binaries, then download the ffmpeg zip to your Downloads directory, then unzip it and move the binaries to that newly created binary directory, and then finally it adds a line to your bash environment so that your terminal correctly sources the binaries.

Not the answer you're looking for? Browse other questions tagged or ask your own question.