Last active
August 29, 2015 14:01
-
-
Save algo31031/d226765a132c185fc81f to your computer and use it in GitHub Desktop.
install ffmpeg on ubuntu 14.04
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
sudo su | |
echo "deb http://www.deb-multimedia.org testing main" >> /etc/apt/sources.list | |
exit | |
sudo apt-get update | |
sudo apt-get install deb-multimedia-keyring | |
sudo apt-get remove ffmpeg x264 libx264-dev | |
sudo apt-get update | |
sudo apt-get -y install build-essential checkinstall git libfaac-dev libgpac-dev \ | |
libjack-jackd2-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev \ | |
libsdl1.2-dev libtheora-dev libva-dev libvdpau-dev libvorbis-dev libx11-dev \ | |
libxfixes-dev texi2html yasm zlib1g-dev libx264-dev | |
cd | |
git clone --depth 1 git://source.ffmpeg.org/ffmpeg | |
cd ffmpeg | |
./configure --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb \ | |
--enable-libopencore-amrwb --enable-libtheora --enable-libvorbis \ | |
--enable-libx264 --enable-nonfree --enable-version3 --enable-x11grab | |
make | |
sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(date +%Y%m%d%H%M)-git" --backup=no \ | |
--deldoc=yes --fstrans=no --default | |
hash x264 ffmpeg ffplay ffprobe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment