Skip to content

Instantly share code, notes, and snippets.

@martip07
Last active May 28, 2018 20:40
Show Gist options
  • Save martip07/37750abd0e06649b9eb2e83b567fd1df to your computer and use it in GitHub Desktop.
Save martip07/37750abd0e06649b9eb2e83b567fd1df to your computer and use it in GitHub Desktop.
ffmpeg-build
PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \
--prefix="$HOME/ffmpeg_build" \
--pkg-config-flags="--static" \
--extra-cflags="-I$HOME/ffmpeg_build/include" \
--extra-ldflags="-L$HOME/ffmpeg_build/lib" \
--extra-libs=-lpthread \
--extra-libs=-lm \
--bindir="$HOME/bin" \
--enable-gpl \
--enable-libfdk_aac \
--enable-libfreetype \
--enable-libmp3lame \
--enable-libopus \
--enable-libvorbis \
--enable-libvpx \
--enable-libx264 \
--enable-libx265 \
--enable-nonfree
make
make install
hash -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment