Last active
April 9, 2021 20:37
-
-
Save Kelfitas/cd2a162c2397f282f1ba01e4d042c176 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg_version='3.1.3' | |
cd /tmp && \ | |
wget http://ffmpeg.org/releases/ffmpeg-$ffmpeg_version.tar.bz2 && \ | |
cd - && \ | |
mkdir -p /tmp/src && \ | |
cd /tmp/src && \ | |
tar xvjf ../ffmpeg-$ffmpeg_version.tar.bz2 && \ | |
cd - && \ | |
cd /tmp/src/ffmpeg-$ffmpeg_version && \ | |
echo "deb http://ftp.ro.debian.org/debian/ jessie non-free" >> /etc/apt/sources.list && \ | |
echo "deb-src http://ftp.ro.debian.org/debian/ jessie non-free" >> /etc/apt/sources.list && \ | |
echo "/usr/local/lib" >> /etc/ld.so.conf && \ | |
echo "/usr/lib" >> /etc/ld.so.conf && \ | |
ldconfig && \ | |
apt-get update -y && \ | |
apt-get install -y libfaad-dev faad faac libfaac0 libfaac-dev libmp3lame-dev x264 libx264-dev libxvidcore-dev build-essential checkinstall libavdevice-dev libpostproc-dev yasm libopenjpeg-dev speex libspeex-dev pkg-config libtheora-dev libvorbis-dev libavfilter-dev && \ | |
./configure --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libx264 --enable-libspeex --enable-shared --enable-pthreads --enable-libopenjpeg --enable-libfaac --enable-nonfree && \ | |
make -j && \ | |
make install && \ | |
ffmpeg -version && \ | |
ldd `which ffmpeg` && \ | |
cd - && \ | |
rm -rf /tmp/src /tmp/ffmpeg-$ffmpeg_version.tar.bz2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment