How to install ffmpeg on OS X?

15,577

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 'http://www.ffmpegmac.net/resources/SnowLeopard_Lion_Mountain_Lion_Mavericks_Yosemite_El-Captain_25.02.2016.zip' | 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.

Share:
15,577

Related videos on Youtube

10 Replies
Author by

10 Replies

.

Updated on September 18, 2022

Comments

  • 10 Replies
    10 Replies over 1 year

    You can get the binary here http://ffmpegmac.net/ 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.

  • s4suryapal
    s4suryapal almost 4 years
    Getting ERROR : curl: (52) Empty reply from server
  • s4suryapal
    s4suryapal almost 4 years
    Also getting permission error: -bash: /usr/local/bin/ffmpeg: Permission denied How can i fix it?