Created
July 29, 2012 12:50
-
-
Save dmcrodrigues/3198522 to your computer and use it in GitHub Desktop.
x264 on OSX 10.7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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