Install the following packages, which are good to have installed:
sudo dnf install --allowerasing -y dnf-plugins-core \| sudo yum install autoconf automake bzip2 bzip2-devel cmake freetype-devel gcc gcc-c++ git libtool make mercurial pkgconfig zlib-devel -y | |
| mkdir ~/ffmpeg_sources | |
| # nasm | |
| cd ~/ffmpeg_sources | |
| curl -O -L https://www.nasm.us/pub/nasm/releasebuilds/2.14.02/nasm-2.14.02.tar.bz2 | |
| tar xjvf nasm-2.14.02.tar.bz2 | |
| cd nasm-2.14.02 | |
| ./autogen.sh | |
| ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" |