Skip to content

Instantly share code, notes, and snippets.

@sole
Created January 18, 2012 08:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sole/1632062 to your computer and use it in GitHub Desktop.
Save sole/1632062 to your computer and use it in GitHub Desktop.
Get an updated, 64-bit FFMPEG in your Mac Os X Lion computer
#!/bin/bash
# Thanks to Martin Los for his guide: http://www.martinlos.com/?p=41
URLS=("http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.3.tar.gz" "http://downloads.sourceforge.net/project/faac/faac-src/faac-1.28/faac-1.28.tar.gz" "http://downloads.sourceforge.net/project/faac/faad2-src/faad2-2.7/faad2-2.7.tar.gz")
for i in "${URLS[@]}"
do
echo $i
curl -O -L $i
done
for i in $( ls *.tar.gz ); do
tar -xzvf $i
done
for i in $( ls -d */); do
cd $i
./configure
make
sudo make install
cd ..
done
svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
cd ffmpeg
./configure --enable-libmp3lame --enable-libfaac --enable-gpl --enable-nonfree --enable-shared --disable-mmx --arch=x86_64 --cpu=core2
make
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment