Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- mkdir /tmp/ffmpeg_build
- cd /tmp/ffmpeg_build/ || exit
- wget http://download.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
- tar jxf last_x264.tar.bz2
- cd x264-snapshot* || exit
- ./configure --prefix="/tmp/ffmpeg_build" --enable-static --enable-pic --bindir="$HOME/bin"
- make -j9
- make install
- cd /tmp/ffmpeg_build || exit
- hg clone http://hg.videolan.org/x265
- cd x265/build/linux || exit
- cmake -G "Unix Makefiles" ../../source -DCMAKE_INSTALL_PREFIX:PATH=/tmp/ffmpeg_build -DENABLE_SHARED=OFF -DENABLE_CLI=OFF
- make -j9
- make install
- cd /tmp/ffmpeg_build/ || exit
- git clone https://github.com/mstorsjo/fdk-aac.git
- cd fdk-aac || exit
- ./autogen.sh
- ./configure --prefix="/tmp/ffmpeg_build" --disable-shared
- make -j9
- make install
- cd /tmp/ffmpeg_build/ || exit
- wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
- tar jxf ffmpeg-snapshot.tar.bz2
- cd ffmpeg || exit
- export PATH="$HOME/bin:$PATH"
- export PKG_CONFIG_PATH="/tmp/ffmpeg_build/lib/pkgconfig:$PKG_CONFIG_PATH"
- ./configure --prefix="/usr/local" --pkg-config-flags="--static" \
- --enable-avisynth \
- --enable-frei0r \
- --enable-gnutls \
- --enable-gpl \
- --enable-ladspa \
- --enable-libass \
- --enable-libbluray \
- --enable-libbs2b \
- --enable-libcaca \
- --enable-libcdio \
- --enable-cuda \
- --enable-cuvid \
- --enable-libdc1394 \
- --enable-libfdk-aac \
- --enable-libflite \
- --enable-libfontconfig \
- --enable-libfreetype \
- --enable-libfribidi \
- --enable-libgme \
- --enable-libgsm \
- --enable-libiec61883 \
- --enable-libmodplug \
- --enable-libmp3lame \
- --enable-libnpp \
- --enable-libopencv \
- --enable-libopus \
- --enable-libpulse \
- --enable-librtmp \
- --enable-libshine \
- --enable-libsmbclient \
- --enable-libsnappy \
- --enable-libsoxr \
- --enable-libspeex \
- --enable-libtheora \
- --enable-libtwolame \
- --enable-libv4l2 \
- --enable-libvorbis \
- --enable-libvpx \
- --enable-libwavpack \
- --enable-libwebp \
- --enable-libx264 \
- --enable-libx265 \
- --enable-libxvid \
- --enable-libzvbi \
- --enable-nonfree \
- --enable-nvenc \
- --enable-openal \
- --enable-opencl \
- --enable-opengl \
- --enable-openssl \
- --enable-version3 \
- --extra-libs=-lasound
- make -j9
- make install
- rm -fr /tmp/ffmpeg_build
Advertisement
Add Comment
Please, Sign In to add comment