Created
April 5, 2012 21:50
-
-
Save collinschaafsma/2314458 to your computer and use it in GitHub Desktop.
Ubuntu FFMPEG
This file contains 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
188 cd | |
189 sudo apt-get remove ffmpeg x264 libx264-dev yasm | |
190 sudo apt-get update | |
191 sudo apt-get install build-essential git-core checkinstall texi2html libfaac-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libtheora-dev libvorbis-dev libx11-dev libxfixes-dev zlib1g-dev | |
192 cd | |
193 wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz | |
194 tar xzvf yasm-1.2.0.tar.gz | |
195 cd yasm-1.2.0 | |
196 ./configure | |
197 make | |
198 cd | |
199 cd yasm-1.2.0/ | |
200 sudo checkinstall --pkgname=yasm --pkgversion="1.2.0" --backup=no --deldoc=yes --default | |
201 cd | |
202 git clone git://git.videolan.org/x264 | |
203 cd x264/ | |
204 ./configure --enable-static | |
205 make | |
206 sudo checkinstall --pkgname=x264 --default --pkgversion="3:$(./version.sh | \ | |
awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes | |
207 sudo apt-get remove libmp3lame-dev | |
208 sudo apt-get install nasm | |
209 cd | |
210 wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz | |
211 tar xzvf lame-3.99.5.tar.gz | |
212 cd lame-3.99.5 | |
213 ./configure --help | |
214 ./configure --enable-nasm --disable-shared | |
215 make | |
216 sudo checkinstall --pkgname=lame-ffmpeg --pkgversion="3.99.5" --backup=no --default --deldoc=yes | |
217 cd | |
218 git clone http://git.chromium.org/webm/libvpx.git | |
219 cd libvpx | |
220 ./configure | |
221 make | |
222 sudo checkinstall --pkgname=libvpx --pkgversion="$(date +%Y%m%d%H%M)-git" --backup=no --default --deldoc=yes | |
223 cd | |
224 git clone --depth 1 git://source.ffmpeg.org/ffmpeg | |
225 cd ffmpeg | |
226 ./configure --help | |
227 sudo apt-get install libdc1394-22 libdc1394-22-dev libgsm1 libgsm1-dev libopenjpeg-dev libschroedinger-1.0-0 libschroedinger-dev libschroedinger-doc libspeex-dev libfaac-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libtheora-dev libvorbis-dev libx11-dev libxfixes-dev libxvidcore-dev | |
228 ./configure --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-x11grab --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libdc1394 --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid | |
229 make | |
230 sudo checkinstall --pkgname=ffmpeg --pkgversion="5:$(./version.sh)" --backup=no --deldoc=yes --default | |
231 hash x264 ffmpeg ffplay ffprobe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment