# ffmpeg2/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. "ffmpeg2" provides a copy of "ffmpeg" 2.X for packages that need it. "ffmpeg2" should never be updated to a post-2.X release of up- stream. #--------------------------------------------------------------------- 2. There is presently no provision for cross-compiling the "ffmpeg#" packages. You need to build the copy of each package that will be used in a given Laclin distro while booted all the way into the distro in question. #--------------------------------------------------------------------- 3. As of 2018, this distro supported only "ffmpeg"-internal "aac" (and that only for "ffmpeg3" and above). Support for other implementations had either been dropped by "ffmpeg*" or were too problematic from a license perspective. #--------------------------------------------------------------------- [buildtimes] 00.06 hours (or 003.77 minutes) - 2021 dedi 00.07 hours (or 004.32 minutes) - HP Pavilion dv8 8GB RAM 00.08 hours (or 005.00 minutes) - 2023 dedi Xeon E3-1200 v3 4x2 32GB RAM 00.08 hours (or 005.00 minutes) - HP EliteBook 8560w 32GB RAM 00.09 hours (or 005.30 minutes) - ThinkPad W530 i7 4x2 32GB RAM 00.13 hours (or 007.77 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.17 hours (or 009.98 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.35 hours (or 020.98 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] altpkg = yes exepack = yes large = yes license = May be GPL or LGPL (depends on configuration settings) nosyslinks = yes slowdown = yes tmpsize = 106M unpack = relaxed dontfind = \ oldlibcdio libav openjpeg21 openjpeg23 liblzo setpaths = \ ffmpeg2 jackone libcdio libvpx114 openjpeg15 \ openssl opus schroedinger xorg lame \ theora #--------------------------------------------------------------------- [depends] a52dec faad2 # May not be used freetype2 imlib2 jackone lame libass libcdio libdca libgsm liblzo liblzo2 libogg librtmp libvorbis libvpx114 openjpeg15 opus schroedinger sdl speex theora x264 xvidcore xorg yasm zlib #--------------------------------------------------------------------- [configure] ETCDIR=$PKGDIR_PROD/etc MANBASE=$PKGDIR_PROD/man mkdir -p $ETCDIR $MANBASE cp -p doc/ffserver.conf $ETCDIR/ mkdir -p libmpcodecs LDINSERTAFTER="-lavformat -lrtmp:-lrtmp -lssl -lz" export LDINSERTAFTER bash ./configure \ --prefix=$PKGDIR_PROD \ --mandir=$MANBASE \ \ --disable-altivec \ --disable-avx \ --disable-debug \ --disable-doc \ --disable-static \ --disable-stripping \ \ --disable-altivec \ --disable-amd3dnow \ --disable-amd3dnowext \ --disable-armv5te \ --disable-armv6 \ --disable-armv6t2 \ --disable-dxva2 \ --disable-fma4 \ --disable-neon \ --disable-ssse3 \ --disable-vda \ --disable-vfp \ --disable-yasm \ \ --enable-bzlib \ --disable-frei0r \ --enable-gpl \ --enable-libopenjpeg \ --enable-postproc \ --enable-pthreads \ --enable-runtime-cpudetect \ --enable-shared \ --enable-version3 \ --enable-x11grab \ --enable-zlib \ \ --enable-libass \ --enable-libcdio \ --enable-libfreetype \ --enable-libgsm \ --enable-libmp3lame \ --enable-libopus \ --enable-librtmp \ --enable-libschroedinger \ --enable-libspeex \ --enable-libtheora \ --enable-libvorbis \ --enable-libvpx \ --enable-libx264 \ --enable-libxvid #--------------------------------------------------------------------- [build] export LDINSERTAFTER="-lavformat -lrtmp:-lrtmp -lssl -lz" L=$PRODTREE/freetype2/include/freetype2:$LACINCDIRS export LACINCDIRS=$L smpmake smpmake install #--------------------------------------------------------------------- [postbuild] BINDIR=$PKGDIR_PROD/bin DOCDIR=$PKGDIR_PROD/doc INCDIR=$PKGDIR_PROD/include mkdir -p $DOCDIR $INCDIR cp -p $PKGDIR_SPECIAL/ffmpeg.html $DOCDIR/ cd $INCDIR if [ ! -d ffmpeg ]; then mkdir ffmpeg cd ffmpeg ln -nsf ../*/*.h . ln -nsf ../libavutil/opt.h . cd .. fi cd $INCDIR ln -s ffmpeg/avcodec.h ffmpeg/postprocess.h . if [ ! -d postproc ]; then ln -s ffmpeg postproc fi #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/source/ffmpeg url_home = http://ffmpeg.mplayerhq.hu/ url_lfs = http://www.linuxfromscratch.org/blfs/view/stable/\ multimedia/videoutils.html#ffmpeg url_tarball = http://ffmpeg.mplayerhq.hu/releases/\ ffmpeg-2.8.19.tar.bz2 #--------------------------------------------------------------------- [history] 170511 Renamed ffmpeg package to ffmpeg2 170625 Updated from 2.8.11 to 2.8.12 170912 Updated to 2.8.13 180302 Updated to 2.8.14 190717 Updated to 2.8.15 210126 Updated to 2.8.17 211212 Updated to 2.8.18 230217 Updated to 2.8.19