# Note: depends on yasm
wget -c https://www.ffmpeg.org/releases/ffmpeg-4.0.tar.xz
tar -xJf ffmpeg-4.0.tar.xz
cd ffmpeg-4.0
mkdir -p build
cd build
../configure --prefix="/usr" --enable-gpl --enable-shared --enable-gnutls  ||  ../configure --prefix="/usr" --enable-gpl --enable-shared
make # Doesn't mind -j#
make install