FFmpeg: Difference between revisions
From fakedWiki
(Created page with "Install required packages <pre> apt-get install build-essential git-core checkinstall yasm texi2html libfaac-dev libmp3lame-dev libsdl1.2-dev zlib1g-dev libgpac-dev </pre> Get x…") |
No edit summary |
||
Line 23: | Line 23: | ||
--enable-libx264 --disable-vaapi --disable-vdpau --enable-pic --enable-shared | --enable-libx264 --disable-vaapi --disable-vdpau --enable-pic --enable-shared | ||
make | make | ||
checkinstall --pkgname=ffmpeg --pkgversion="5:$(./version.sh)" --backup=no --deldoc=yes --fstrans=no --default | checkinstall --pkgname=ffmpeg --pkgversion="5:$(./version.sh|sed 's/^N-//')" --backup=no --deldoc=yes --fstrans=no --default | ||
</pre> | </pre> |
Revision as of 16:06, 3 October 2011
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, patch against issue 807, 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