FFmpeg: Difference between revisions
From fakedWiki
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
</pre> | </pre> | ||
Get FFmpeg | Get FFmpeg, compile, create and install package | ||
<pre> | <pre> | ||
cd /usr/src | cd /usr/src |
Revision as of 09:18, 9 July 2012
Install required packages
apt-get install build-essential git-core checkinstall yasm texi2html libfaac-dev libmp3lame-dev libsdl1.2-dev zlib1g-dev libgpac-dev
Get x264, compile, create and install package
cd /usr/src git clone git://git.videolan.org/x264 cd x264 ./configure --prefix=/usr --enable-pic --enable-shared make checkinstall --pkgname=x264 --pkgversion="3:$(./version.sh | awk -F'[" ]' '/POINT/{print $4"+git"$5}')" --backup=no --deldoc=yes --fstrans=no --default
Get FFmpeg, compile, create and install package
cd /usr/src git clone git://git.videolan.org/ffmpeg cd ffmpeg LD_LIBRARY_PATH=/usr/lib && export LD_LIBRARY_PATH ./configure --prefix=/usr --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame \ --enable-libx264 --disable-vaapi --disable-vdpau --enable-pic --enable-shared make checkinstall --pkgname=ffmpeg --pkgversion="5:$(./version.sh|sed 's/^N-//')" --backup=no --deldoc=yes --fstrans=no --default