Skip to content

Instantly share code, notes, and snippets.

@mehlah
Last active August 29, 2015 14:10
Show Gist options
  • Save mehlah/166cb6e5f3eecde90292 to your computer and use it in GitHub Desktop.
Save mehlah/166cb6e5f3eecde90292 to your computer and use it in GitHub Desktop.
# x264
git clone --depth 1 git://git.videolan.org/x264
cd x264
./configure --enable-static --enable-shared --disable-asm --prefix=/app/vendor/x264
make
make install
# lame
curl -O "http://softlayer-dal.dl.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz"
tar -xvf lame-3.99.5.tar.gz
cd lame-3.99.5
./configure --enable-shared --prefix=/app/vendor/mp3lame
make
make install
# ffmpeg
git clone git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
./configure --enable-shared --enable-gpl --enable-libx264 --enable-libmp3lame --disable-asm --prefix=/app/vendor/ffmpeg --extra-cflags='-I/app/vendor/x264/include -I/app/vendor/mp3lame/include' --extra-ldflags='-L/app/vendor/x264/lib -L/app/vendor/mp3lame/lib'
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment