- 
      
- 
        Save knife-s/cf76a09bad807b29f93d26a12610e81d to your computer and use it in GitHub Desktop. 
Revisions
- 
        seankross revised this gist Aug 29, 2017 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -73,5 +73,4 @@ cd ffmpeg --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 make sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(date +%Y%m%d%H%M)-git" --backup=no \ --deldoc=yes --fstrans=no --default 
- 
        seankross revised this gist Aug 29, 2017 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -17,9 +17,11 @@ cd curl -O http://www.nasm.us/pub/nasm/releasebuilds/2.13.01/nasm-2.13.01.tar.gz tar -xvzf nasm-2.13.01.tar.gz cd nasm-2.13.01 ./configure make make install sudo checkinstall --pkgname=nasm --pkgversion="2.13.01" --backup=no \ --deldoc=yes --fstrans=no --default # Install x264 sudo apt-get -y install libx264-dev 
- 
        seankross revised this gist Aug 29, 2017 . 1 changed file with 11 additions and 10 deletions.There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -12,6 +12,15 @@ sudo apt-get -y install build-essential checkinstall git libfaac-dev libgpac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev librtmp-dev libtheora-dev \ libvorbis-dev pkg-config texi2html yasm zlib1g-dev # Update nasm cd curl -O http://www.nasm.us/pub/nasm/releasebuilds/2.13.01/nasm-2.13.01.tar.gz tar -xvzf nasm-2.13.01.tar.gz cd nasm-2.13.01 sh configure make make install # Install x264 sudo apt-get -y install libx264-dev cd @@ -62,13 +71,5 @@ cd ffmpeg --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 make sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(date +%Y%m%d%H%M)-git" --backup=no \ --deldoc=yes --fstrans=no --default \ hash x264 ffmpeg ffprobe 
- 
        seankross revised this gist Aug 29, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -57,7 +57,7 @@ sudo checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | \ cd git clone --depth 1 git://source.ffmpeg.org/ffmpeg cd ffmpeg ./configure --enable-gpl --enable-libmp3lame --enable-libopencore-amrnb \ --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis \ --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 make 
- 
        seankross revised this gist Aug 29, 2017 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -67,8 +67,8 @@ sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(date +%Y%m%d%H%M)-git" --ba # Optional: install qt-faststart # This is a useful tool if you're showing your H.264 in MP4 videos on the web. It relocates some data in the video to allow playback to begin before the file is completely downloaded. Usage: qt-faststart input.mp4 output.mp4. #cd ~/ffmpeg #make tools/qt-faststart #sudo checkinstall --pkgname=qt-faststart --pkgversion="$(date +%Y%m%d%H%M)-git" --backup=no \ # --deldoc=yes --fstrans=no --default install -Dm755 tools/qt-faststart \ # /usr/local/bin/qt-faststart 
- 
        xdamman created this gist Jul 2, 2014 .There are no files selected for viewingThis 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,74 @@ #!/bin/bash # Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04 # Inspired from https://gist.github.com/faleev/3435377 # Remove any existing packages: sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev # Get the dependencies (Ubuntu Server or headless users): sudo apt-get update sudo apt-get -y install build-essential checkinstall git libfaac-dev libgpac-dev \ libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev librtmp-dev libtheora-dev \ libvorbis-dev pkg-config texi2html yasm zlib1g-dev # Install x264 sudo apt-get -y install libx264-dev cd git clone --depth 1 git://git.videolan.org/x264 cd x264 ./configure --enable-static make sudo checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | \ awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes \ --fstrans=no --default # Install AAC audio decoder cd wget http://downloads.sourceforge.net/opencore-amr/fdk-aac-0.1.0.tar.gz tar xzvf fdk-aac-0.1.0.tar.gz cd fdk-aac-0.1.0 ./configure make sudo checkinstall --pkgname=fdk-aac --pkgversion="0.1.0" --backup=no \ --deldoc=yes --fstrans=no --default # Install VP8 video encoder and decoder. cd git clone --depth 1 https://chromium.googlesource.com/webm/libvpx cd libvpx ./configure make sudo checkinstall --pkgname=libvpx --pkgversion="1:$(date +%Y%m%d%H%M)-git" --backup=no \ --deldoc=yes --fstrans=no --default # Add lavf support to x264 # This allows x264 to accept just about any input that FFmpeg can handle and is useful if you want to use x264 directly. See a more detailed explanation of what this means. cd ~/x264 make distclean ./configure --enable-static make sudo checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | \ awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes \ --fstrans=no --default # Installing FFmpeg 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-librtmp --enable-libtheora --enable-libvorbis \ --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3 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 # Optional: install qt-faststart # This is a useful tool if you're showing your H.264 in MP4 videos on the web. It relocates some data in the video to allow playback to begin before the file is completely downloaded. Usage: qt-faststart input.mp4 output.mp4. cd ~/ffmpeg make tools/qt-faststart sudo checkinstall --pkgname=qt-faststart --pkgversion="$(date +%Y%m%d%H%M)-git" --backup=no \ --deldoc=yes --fstrans=no --default install -Dm755 tools/qt-faststart \ /usr/local/bin/qt-faststart