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…") |
m (2 revisions imported) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
</pre> | </pre> | ||
Get FFmpeg | Get FFmpeg, compile, create and install package | ||
<pre> | <pre> | ||
cd /usr/src | cd /usr/src | ||
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> |
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