apt-get update
apt-get upgrade -y

apt-get install -y libmad0 libmad0-dev libid3tag0 libid3tag0-dev libmp3lame-dev libflac-dev libvorbis-dev yasm nasm

wget --no-check-certificate https://www.ffmpeg.org/releases/ffmpeg-4.4.4.tar.gz
tar xzf ffmpeg-4.4.4.tar.gz
cd ffmpeg-4.4.4
./configure --enable-shared --enable-libmp3lame
make -j32
make install
cd -

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
rm -rf ffmpeg-4.4.4  ffmpeg-4.4.4.tar.gz
