FFmpeg: Difference between revisions
From fakedWiki
m (1 revision imported) |
m (2 revisions imported) |
(No difference)
|
Latest revision as of 20:10, 26 August 2016
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