Skip to content

Instantly share code, notes, and snippets.

@flying-sheep
Last active June 24, 2017 14:39
Show Gist options
  • Select an option

  • Save flying-sheep/20749dab0ae8ad0eb540ede37b046246 to your computer and use it in GitHub Desktop.

Select an option

Save flying-sheep/20749dab0ae8ad0eb540ede37b046246 to your computer and use it in GitHub Desktop.
Compiling ffmpeg to ~/.local
(
cd x264-snapshot-*
./configure --prefix=$HOME/.local --disable-opencl
)
(
cd ffmpeg-*
PKG_CONFIG_PATH="$HOME/.local/lib/pkgconfig" ./configure \
--prefix=$HOME/.local \
#--bindir=$HOME/.local/bin \
--extra-cflags="-I$HOME/.local/include" \
--extra-ldflags="-L$HOME/.local/lib" \
--enable-gpl --enable-libx264
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment