cd /usr/local/src curl -O -L https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.bz2 tar xjvf nasm-2.15.05.tar.bz2 cd nasm-2.15.05 ./autogen.sh ./configure \ --prefix="$HOME/ffmpeg_build" \ --bindir="$HOME/bin" make && make install
x264
1 2 3 4 5 6 7 8 9 10
cd /usr/local/src git clone --branch stable --depth 1 https://code.videolan.org/videolan/x264.git cd x264 PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \ --prefix="$HOME/ffmpeg_build" \ --bindir="$HOME/bin" \ --enable-static make && make install
x265
1 2 3 4 5 6 7
cd /usr/local/src git clone --branch stable --depth 2 https://bitbucket.org/multicoreware/x265_git cd x265_git/ cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DENABLE_SHARED:bool=off source make && make install
fdk-aac
1 2 3 4 5 6 7 8 9 10
cd /usr/local/src git clone --depth 1 https://github.com/mstorsjo/fdk-aac cd fdk-aac/ autoreconf -fiv ./configure \ --prefix="$HOME/ffmpeg_build" \ --disable-shared make && make install
lame-3.100
1 2 3 4 5 6 7 8 9 10 11 12
cd /usr/local/src curl -O -L https://downloads.sourceforge.net/project/lame/lame/3.100/lame-3.100.tar.gz tar xzvf lame-3.100.tar.gz cd lame-3.100 ./configure \ --prefix="$HOME/ffmpeg_build" \ --bindir="$HOME/bin" \ --disable-shared \ --enable-nasm make && make install
opus-1.3.1
1 2 3 4 5 6 7 8 9 10
cd /usr/local/src curl -O -L https://archive.mozilla.org/pub/opus/opus-1.3.1.tar.gz tar xzvf opus-1.3.1.tar.gz cd opus-1.3.1 ./configure \ --prefix="$HOME/ffmpeg_build" \ --disable-shared make && make install
libvpx
1 2 3 4 5 6 7 8 9 10 11 12 13
cd /usr/local/src git clone --depth 1 https://chromium.googlesource.com/webm/libvpx.git chmod -R 0777 libvpx cd libvpx ./configure \ --prefix="$HOME/ffmpeg_build" \ --disable-examples \ --disable-unit-tests \ --enable-vp9-highbitdepth \ --as=yasm make && make install