Skip to content

Instantly share code, notes, and snippets.

@dmcrodrigues
Created July 29, 2012 12:50
Show Gist options
  • Save dmcrodrigues/3198522 to your computer and use it in GitHub Desktop.
Save dmcrodrigues/3198522 to your computer and use it in GitHub Desktop.
x264 on OSX 10.7
#!/bin/sh
PARALLEL_JOBS=3
### x264 ##############################################
echo "installing x264..."
if [ ! -d x264 ]; then
git clone git://git.videolan.org/x264.git x264
fi
cd x264
make clean
sudo ./configure \
--enable-static \
--enable-shared \
--enable-debug \
&& sudo make -j${PARALLEL_JOBS} && sudo make install
echo "-------------------------------"
echo "x264 installed!"
cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment