# ffmpeg3/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. "ffmpeg3" provides a copy of "ffmpeg" 3.X for packages that need it. "ffmpeg3" should never be updated to a post-3.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.08 hours (or 004.67 minutes) - 2021 dedi 00.11 hours (or 006.33 minutes) - HP EliteBook 8560w 32GB RAM 00.11 hours (or 006.42 minutes) - 2023 dedi Xeon E3-1200 v3 4x2 32GB RAM 00.11 hours (or 006.83 minutes) - ThinkPad W530 i7 4x2 32GB RAM 00.20 hours (or 012.18 minutes) - ThinkPad E540 i7 4x2 16GB RAM #--------------------------------------------------------------------- [settings] altpkg = yes build = standard exepack = yes large = yes license = May be GPL or LGPL (depends on configuration settings) nosyslinks = yes slowdown = yes tmpsize = 132M unpack = relaxed uscheck = C210614, R200703, stopped dontfind = \ oldlibcdio libav ffmpeg2 ffmpeg4 liblzo \ openjpeg21 openjpeg23 setpaths = \ ffmpeg3 frei0r fribidi gtkcore jackone \ ladspa libcdio libgmp librsvg libvpx114 \ openjpeg15 openssl rubberband xorg lame \ theora libzimg #--------------------------------------------------------------------- [depends] a52dec actools alsa bzip2 faad2 # May not be used fontconfig freetype2 frei0r fribidi gawk gnutls3 grep gtkcore imlib2 jackone ladspa lame libass libbluray libcdio libdca libgcrypt libgmp libgsm liblzo liblzo2 libogg librsvg librtmp libsoxr libvorbis libvpx114 libwebp libzimg openjpeg15 opus pkgconf pulseaudio rubberband sdl sed speex theora twolame x264 x265 xorg xvidcore xzutils 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 if [ $LACBITS == 64 ]; then BLU=--enable-libbluray else BLU= fi 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 \ \ --enable-bzlib \ --enable-frei0r \ --enable-gcrypt \ --enable-gmp \ --enable-gnutls \ --enable-gpl \ --enable-ladspa \ --enable-postproc \ --enable-pthreads \ --enable-runtime-cpudetect \ --enable-shared \ --enable-version3 \ --enable-zlib \ \ --enable-libass \ --enable-libcdio \ --enable-libfontconfig \ --enable-libfreetype \ --enable-libfribidi \ --enable-libgsm \ --enable-libmp3lame \ --enable-libopenjpeg \ --enable-libopus \ --enable-librsvg \ --enable-librtmp \ --enable-librubberband \ --enable-libsoxr \ --enable-libspeex \ --enable-libtheora \ --enable-libtwolame \ --enable-libvorbis \ --enable-libvpx \ --enable-libwebp \ --enable-libx264 \ --enable-libx265 \ --enable-libxvid \ --enable-libzimg \ $BLU #--------------------------------------------------------------------- [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 HASH_INCLUDE="#include" cat > avcodec.h << END ${HASH_INCLUDE} END cat > postprocess.h << END ${HASH_INCLUDE} END 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-3.4.13.tar.bz2 #--------------------------------------------------------------------- [history] 170712 Added package (ffmpeg3 as opposed to ffmpeg2) 170812 Updated from 3.3.2 to 3.3.3 170912 Updated to 3.3.4 171028 Updated to 3.3.5 171211 Updated to 3.4.1 180302 Updated to 3.4.2 181024 Updated to 3.4.4 190717 Updated to 3.4.6 210126 Updated to 3.4.8 211212 Updated to 3.4.9 230217 Updated to 3.4.12 240719 Updated to 3.4.13