Step 1:
yum install -y autoconf automake bzip2 cmake freetype-devel gcc gcc-c++ git libtool make mercurial pkgconfig zlib-devel
Result:
[root@tutorialspots ~]# yum install -y autoconf automake bzip2 cmake freetype-devel gcc gcc-c++ git libtool make mercurial pkgconfig zlib-devel Last metadata expiration check: 1:49:12 ago on Sat 09 Jan 2021 12:57:07 PM CET. Package autoconf-2.69-27.el8.noarch is already installed. Package automake-1.16.1-6.el8.noarch is already installed. Package bzip2-1.0.6-26.el8.x86_64 is already installed. Package freetype-devel-2.9.1-4.el8_3.1.x86_64 is already installed. Package gcc-8.3.1-5.1.el8.x86_64 is already installed. Package gcc-c++-8.3.1-5.1.el8.x86_64 is already installed. Package git-2.27.0-1.el8.x86_64 is already installed. Package libtool-2.4.6-25.el8.x86_64 is already installed. Package make-1:4.2.1-10.el8.x86_64 is already installed. Package pkgconf-pkg-config-1.4.2-1.el8.x86_64 is already installed. Package zlib-devel-1.2.11-16.el8_2.x86_64 is already installed. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: cmake x86_64 3.11.4-7.el8 AppStream 8.1 M mercurial x86_64 4.8.2-1.module_el8.0.0+40+715dddeb AppStream 5.2 M Installing dependencies: cmake-data noarch 3.11.4-7.el8 AppStream 1.3 M cmake-rpm-macros noarch 3.11.4-7.el8 AppStream 39 k libuv x86_64 1:1.38.0-2.el8 AppStream 151 k Enabling module streams: mercurial 4.8 Transaction Summary ================================================================================ Install 5 Packages Total download size: 15 M Installed size: 52 M Downloading Packages: (1/5): cmake-rpm-macros-3.11.4-7.el8.noarch.rpm 459 kB/s | 39 kB 00:00 (2/5): libuv-1.38.0-2.el8.x86_64.rpm 2.4 MB/s | 151 kB 00:00 (3/5): cmake-data-3.11.4-7.el8.noarch.rpm 5.7 MB/s | 1.3 MB 00:00 (4/5): cmake-3.11.4-7.el8.x86_64.rpm 17 MB/s | 8.1 MB 00:00 (5/5): mercurial-4.8.2-1.module_el8.0.0+40+715d 11 MB/s | 5.2 MB 00:00 -------------------------------------------------------------------------------- Total 22 MB/s | 15 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : cmake-rpm-macros-3.11.4-7.el8.noarch 1/5 Installing : libuv-1:1.38.0-2.el8.x86_64 2/5 Installing : cmake-data-3.11.4-7.el8.noarch 3/5 Installing : cmake-3.11.4-7.el8.x86_64 4/5 Installing : mercurial-4.8.2-1.module_el8.0.0+40+715dddeb.x86_64 5/5 Running scriptlet: mercurial-4.8.2-1.module_el8.0.0+40+715dddeb.x86_64 5/5 Verifying : cmake-3.11.4-7.el8.x86_64 1/5 Verifying : cmake-data-3.11.4-7.el8.noarch 2/5 Verifying : cmake-rpm-macros-3.11.4-7.el8.noarch 3/5 Verifying : libuv-1:1.38.0-2.el8.x86_64 4/5 Verifying : mercurial-4.8.2-1.module_el8.0.0+40+715dddeb.x86_64 5/5 Installed: cmake-3.11.4-7.el8.x86_64 cmake-data-3.11.4-7.el8.noarch cmake-rpm-macros-3.11.4-7.el8.noarch libuv-1:1.38.0-2.el8.x86_64 mercurial-4.8.2-1.module_el8.0.0+40+715dddeb.x86_64 Complete!
Step 2:
mkdir ~/ffmpeg_sources cd ~/ffmpeg_sources
Step 3:
yum install yasm
Result:
[root@tutorialspots ffmpeg_sources]# yum install yasm Last metadata expiration check: 1:50:27 ago on Sat 09 Jan 2021 12:57:07 PM CET. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: yasm x86_64 1.3.0-7.el8 PowerTools 495 k Transaction Summary ================================================================================ Install 1 Package Total download size: 495 k Installed size: 2.8 M Is this ok [y/N]: y Downloading Packages: yasm-1.3.0-7.el8.x86_64.rpm 5.2 MB/s | 495 kB 00:00 -------------------------------------------------------------------------------- Total 4.0 MB/s | 495 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : yasm-1.3.0-7.el8.x86_64 1/1 Running scriptlet: yasm-1.3.0-7.el8.x86_64 1/1 Verifying : yasm-1.3.0-7.el8.x86_64 1/1 Installed: yasm-1.3.0-7.el8.x86_64 Complete!
Step 4: install nasm
yum install -y nasm
Result:
[root@tutorialspots ~]# yum install -y nasm Last metadata expiration check: 2:13:03 ago on Sat 09 Jan 2021 12:57:07 PM CET. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: nasm x86_64 2.13.03-2.el8 PowerTools 379 k Transaction Summary ================================================================================ Install 1 Package Total download size: 379 k Installed size: 2.6 M Downloading Packages: nasm-2.13.03-2.el8.x86_64.rpm 4.9 MB/s | 379 kB 00:00 -------------------------------------------------------------------------------- Total 3.5 MB/s | 379 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : nasm-2.13.03-2.el8.x86_64 1/1 Running scriptlet: nasm-2.13.03-2.el8.x86_64 1/1 Verifying : nasm-2.13.03-2.el8.x86_64 1/1 Installed: nasm-2.13.03-2.el8.x86_64 Complete!
Step 5: install libx264
wget ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20180224-2245-stable.tar.bz2 tar vxf x264-snapshot-20180224-2245-stable.tar.bz2 mkdir x264 mv -f x264-snapshot-20180224-2245-stable/* x264/ cd x264 PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" --enable-static make make install cd ..
Result:
... [root@tutorialspots x264]# PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" --enable-static platform: X86_64 byte order: little-endian system: LINUX cli: yes libx264: internal shared: no static: yes asm: yes interlaced: yes avs: avxsynth lavf: yes ffms: no mp4: no gpl: yes thread: posix opencl: yes filters: resize crop select_every lto: no debug: no gprof: no strip: no PIC: no bit depth: 8 chroma format: all You can run 'make' or 'make fprofiled' now. ... [root@tutorialspots x264]# make install install -d /root/bin install x264 /root/bin install -d /root/ffmpeg_build/include install -d /root/ffmpeg_build/lib install -d /root/ffmpeg_build/lib/pkgconfig install -m 644 ./x264.h /root/ffmpeg_build/include install -m 644 x264_config.h /root/ffmpeg_build/include install -m 644 x264.pc /root/ffmpeg_build/lib/pkgconfig install -m 644 libx264.a /root/ffmpeg_build/lib gcc-ranlib /root/ffmpeg_build/lib/libx264.a
Step 6: install libx265
git clone https://github.com/videolan/x265 cd ~/ffmpeg_sources/x265/build/linux cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DENABLE_SHARED:bool=off ../../source make make install
Result:
[root@tutorialspots ffmpeg_sources]# git clone https://github.com/videolan/x265 Cloning into 'x265'... remote: Enumerating objects: 214, done. remote: Counting objects: 100% (214/214), done. remote: Compressing objects: 100% (116/116), done. remote: Total 88647 (delta 137), reused 161 (delta 98), pack-reused 88433 Receiving objects: 100% (88647/88647), 121.66 MiB | 23.32 MiB/s, done. Resolving deltas: 100% (71201/71201), done. [root@tutorialspots ffmpeg_sources]# cd ~/ffmpeg_sources/x265/build/linux [root@tutorialspots linux]# cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DENABLE_SHARED:bool=off ../../source -- cmake version 3.11.4 CMake Deprecation Warning at CMakeLists.txt:10 (cmake_policy): The OLD behavior for policy CMP0025 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Deprecation Warning at CMakeLists.txt:16 (cmake_policy): The OLD behavior for policy CMP0054 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- The C compiler identification is GNU 8.3.1 -- The CXX compiler identification is GNU 8.3.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detected x86_64 target processor -- Could NOT find NUMA (missing: NUMA_ROOT_DIR NUMA_INCLUDE_DIR NUMA_LIBRARY) -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Performing Test CC_HAS_NO_STRICT_OVERFLOW -- Performing Test CC_HAS_NO_STRICT_OVERFLOW - Success -- Performing Test CC_HAS_NO_NARROWING -- Performing Test CC_HAS_NO_NARROWING - Success -- Performing Test CC_HAS_NO_ARRAY_BOUNDS -- Performing Test CC_HAS_NO_ARRAY_BOUNDS - Success -- Performing Test CC_HAS_FAST_MATH -- Performing Test CC_HAS_FAST_MATH - Success -- Performing Test CC_HAS_STACK_REALIGN -- Performing Test CC_HAS_STACK_REALIGN - Success -- Performing Test CC_HAS_FNO_EXCEPTIONS_FLAG -- Performing Test CC_HAS_FNO_EXCEPTIONS_FLAG - Success -- Found nasm: /usr/bin/nasm (found version "2.13.03") -- Found Nasm 2.13.03 to build assembly primitives -- GIT_EXECUTABLE /usr/bin/git -- x265 RELEASE VERSION 3.4+28-419182243 -- The ASM_NASM compiler identification is NASM -- Found assembler: /usr/bin/nasm -- Looking for strtok_r -- Looking for strtok_r - found -- Looking for include file getopt.h -- Looking for include file getopt.h - found -- Configuring done -- Generating done -- Build files have been written to: /root/ffmpeg_sources/x265/build/linux ... [root@tutorialspots linux]# make install [ 63%] Built target common [ 84%] Built target encoder [ 85%] Built target x265-static [100%] Built target cli Install the project... -- Install configuration: "Release" -- Installing: /root/ffmpeg_build/lib/libx265.a -- Installing: /root/ffmpeg_build/include/x265.h -- Installing: /root/ffmpeg_build/include/x265_config.h -- Installing: /root/ffmpeg_build/lib/pkgconfig/x265.pc -- Installing: /root/ffmpeg_build/bin/x265
Step 7: install libfdk_aac
cd ~/ffmpeg_sources git clone --depth 1 https://github.com/mstorsjo/fdk-aac cd fdk-aac autoreconf -fiv ./configure --prefix="$HOME/ffmpeg_build" --disable-shared make make install
Result:
[root@tutorialspots linux]# cd ~/ffmpeg_sources [root@tutorialspots ffmpeg_sources]# git clone --depth 1 https://github.com/mstorsjo/fdk-aac Cloning into 'fdk-aac'... remote: Enumerating objects: 482, done. remote: Counting objects: 100% (482/482), done. remote: Compressing objects: 100% (371/371), done. remote: Total 482 (delta 220), reused 182 (delta 96), pack-reused 0 Receiving objects: 100% (482/482), 2.69 MiB | 7.44 MiB/s, done. Resolving deltas: 100% (220/220), done. [root@tutorialspots ffmpeg_sources]# cd fdk-aac [root@tutorialspots fdk-aac]# autoreconf -fiv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf --force autoreconf: configure.ac: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing configure.ac:20: installing './compile' configure.ac:22: installing './config.guess' configure.ac:22: installing './config.sub' configure.ac:7: installing './install-sh' configure.ac:7: installing './missing' Makefile.am: installing './depcomp' autoreconf: Leaving directory `.' [root@tutorialspots fdk-aac]# ./configure --prefix="$HOME/ffmpeg_build" --disable-shared checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '0' is supported by ustar format... yes checking whether GID '0' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether make supports nested variables... (cached) yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for library containing sin... -lm checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating fdk-aac.pc config.status: executing depfiles commands config.status: executing libtool commands ... CXX libFDK/src/fixpoint_math.lo CXX libFDK/src/huff_nodes.lo CXX libFDK/src/mdct.lo CXX libFDK/src/nlc_dec.lo CXX libFDK/src/qmf.lo CXX libFDK/src/scale.lo CXX libSYS/src/genericStds.lo CXX libSYS/src/syslib_channelMapDescr.lo GEN libfdk-aac.la [root@tutorialspots fdk-aac]# make install make[1]: Entering directory '/root/ffmpeg_sources/fdk-aac' /usr/bin/mkdir -p '/root/ffmpeg_build/lib' /bin/sh ./libtool --mode=install /usr/bin/install -c libfdk-aac.la '/root/ffmpeg_build/lib' libtool: install: /usr/bin/install -c .libs/libfdk-aac.lai /root/ffmpeg_build/lib/libfdk-aac.la libtool: install: /usr/bin/install -c .libs/libfdk-aac.a /root/ffmpeg_build/lib/libfdk-aac.a libtool: install: chmod 644 /root/ffmpeg_build/lib/libfdk-aac.a libtool: install: ranlib /root/ffmpeg_build/lib/libfdk-aac.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre/bin:/root/bento4/bin:/root/bin:/sbin" ldconfig -n /root/ffmpeg_build/lib ---------------------------------------------------------------------- Libraries have been installed in: /root/ffmpeg_build/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /usr/bin/mkdir -p '/root/ffmpeg_build/include/fdk-aac' /usr/bin/install -c -m 644 ./libSYS/include/machine_type.h ./libSYS/include/genericStds.h ./libSYS/include/FDK_audio.h ./libSYS/include/syslib_channelMapDescr.h ./libAACenc/include/aacenc_lib.h ./libAACdec/include/aacdecoder_lib.h '/root/ffmpeg_build/include/fdk-aac' /usr/bin/mkdir -p '/root/ffmpeg_build/lib/pkgconfig' /usr/bin/install -c -m 644 fdk-aac.pc '/root/ffmpeg_build/lib/pkgconfig' make[1]: Leaving directory '/root/ffmpeg_sources/fdk-aac'
Step 8: install libmp3lame
cd ~/ffmpeg_sources curl -O -L http://downloads.sourceforge.net/project/lame/lame/3.100/lame-3.100.tar.gz tar xzvf lame-3.100.tar.gz cd lame-3.100 ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" --disable-shared --enable-nasm make make install
Result:
[root@tutorialspots fdk-aac]# cd ~/ffmpeg_sources [root@tutorialspots ffmpeg_sources]# curl -O -L http://downloads.sourceforge.net/project/lame/lame/3.100/lame-3.100.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 343 100 343 0 0 253 0 0:00:01 0:00:01 --:--:-- 253 100 1488k 100 1488k 0 0 591k 0 0:00:02 0:00:02 --:--:-- 1456k ... make[3]: Entering directory '/root/ffmpeg_sources/lame-3.100/macosx' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/root/ffmpeg_sources/lame-3.100/macosx' make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/macosx' Making all in vc_solution make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/vc_solution' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/vc_solution' make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100' make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100' make[1]: Leaving directory '/root/ffmpeg_sources/lame-3.100' [root@tutorialspots lame-3.100]# make install Making install in mpglib make[1]: Entering directory '/root/ffmpeg_sources/lame-3.100/mpglib' make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/mpglib' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/mpglib' make[1]: Leaving directory '/root/ffmpeg_sources/lame-3.100/mpglib' Making install in libmp3lame make[1]: Entering directory '/root/ffmpeg_sources/lame-3.100/libmp3lame' Making install in i386 make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/libmp3lame/i386' make[3]: Entering directory '/root/ffmpeg_sources/lame-3.100/libmp3lame/i386' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/root/ffmpeg_sources/lame-3.100/libmp3lame/i386' make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/libmp3lame/i386' Making install in vector make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/libmp3lame/vector' make[3]: Entering directory '/root/ffmpeg_sources/lame-3.100/libmp3lame/vector' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/root/ffmpeg_sources/lame-3.100/libmp3lame/vector' make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/libmp3lame/vector' make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/libmp3lame' make[3]: Entering directory '/root/ffmpeg_sources/lame-3.100/libmp3lame' /usr/bin/mkdir -p '/root/ffmpeg_build/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libmp3lame.la '/root/ffmpeg_build/lib' libtool: install: /usr/bin/install -c .libs/libmp3lame.lai /root/ffmpeg_build/lib/libmp3lame.la libtool: install: /usr/bin/install -c .libs/libmp3lame.a /root/ffmpeg_build/lib/libmp3lame.a libtool: install: chmod 644 /root/ffmpeg_build/lib/libmp3lame.a libtool: install: ranlib /root/ffmpeg_build/lib/libmp3lame.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre/bin:/root/bento4/bin:/root/bin:/sbin" ldconfig -n /root/ffmpeg_build/lib ---------------------------------------------------------------------- Libraries have been installed in: /root/ffmpeg_build/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/root/ffmpeg_sources/lame-3.100/libmp3lame' make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/libmp3lame' make[1]: Leaving directory '/root/ffmpeg_sources/lame-3.100/libmp3lame' Making install in frontend make[1]: Entering directory '/root/ffmpeg_sources/lame-3.100/frontend' make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/frontend' /usr/bin/mkdir -p '/root/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c lame '/root/bin' libtool: install: /usr/bin/install -c lame /root/bin/lame make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/frontend' make[1]: Leaving directory '/root/ffmpeg_sources/lame-3.100/frontend' Making install in Dll make[1]: Entering directory '/root/ffmpeg_sources/lame-3.100/Dll' make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/Dll' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/Dll' make[1]: Leaving directory '/root/ffmpeg_sources/lame-3.100/Dll' Making install in doc make[1]: Entering directory '/root/ffmpeg_sources/lame-3.100/doc' Making install in html make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/doc/html' make[3]: Entering directory '/root/ffmpeg_sources/lame-3.100/doc/html' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/root/ffmpeg_build/share/doc/lame/html' /usr/bin/install -c -m 644 about.html abr.html cbr.html contact.html contributors.html detailed.html history.html index.html introduction.html links.html list.html ms_stereo.html usage.html vbr.html '/root/ffmpeg_build/share/doc/lame/html' make[3]: Leaving directory '/root/ffmpeg_sources/lame-3.100/doc/html' make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/doc/html' Making install in man make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/doc/man' make[3]: Entering directory '/root/ffmpeg_sources/lame-3.100/doc/man' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/root/ffmpeg_build/share/man/man1' /usr/bin/install -c -m 644 lame.1 '/root/ffmpeg_build/share/man/man1' make[3]: Leaving directory '/root/ffmpeg_sources/lame-3.100/doc/man' make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/doc/man' make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/doc' make[3]: Entering directory '/root/ffmpeg_sources/lame-3.100/doc' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/root/ffmpeg_sources/lame-3.100/doc' make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/doc' make[1]: Leaving directory '/root/ffmpeg_sources/lame-3.100/doc' Making install in include make[1]: Entering directory '/root/ffmpeg_sources/lame-3.100/include' make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/include' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/root/ffmpeg_build/include/lame' /usr/bin/install -c -m 644 lame.h '/root/ffmpeg_build/include/lame' make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/include' make[1]: Leaving directory '/root/ffmpeg_sources/lame-3.100/include' Making install in misc make[1]: Entering directory '/root/ffmpeg_sources/lame-3.100/misc' make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/misc' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/misc' make[1]: Leaving directory '/root/ffmpeg_sources/lame-3.100/misc' Making install in dshow make[1]: Entering directory '/root/ffmpeg_sources/lame-3.100/dshow' make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/dshow' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/dshow' make[1]: Leaving directory '/root/ffmpeg_sources/lame-3.100/dshow' Making install in ACM make[1]: Entering directory '/root/ffmpeg_sources/lame-3.100/ACM' Making install in ADbg make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/ACM/ADbg' make[3]: Entering directory '/root/ffmpeg_sources/lame-3.100/ACM/ADbg' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/root/ffmpeg_sources/lame-3.100/ACM/ADbg' make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/ACM/ADbg' Making install in ddk make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/ACM/ddk' make[3]: Entering directory '/root/ffmpeg_sources/lame-3.100/ACM/ddk' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/root/ffmpeg_sources/lame-3.100/ACM/ddk' make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/ACM/ddk' Making install in tinyxml make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/ACM/tinyxml' make[3]: Entering directory '/root/ffmpeg_sources/lame-3.100/ACM/tinyxml' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/root/ffmpeg_sources/lame-3.100/ACM/tinyxml' make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/ACM/tinyxml' make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/ACM' make[3]: Entering directory '/root/ffmpeg_sources/lame-3.100/ACM' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/root/ffmpeg_sources/lame-3.100/ACM' make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/ACM' make[1]: Leaving directory '/root/ffmpeg_sources/lame-3.100/ACM' Making install in mac make[1]: Entering directory '/root/ffmpeg_sources/lame-3.100/mac' make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/mac' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/mac' make[1]: Leaving directory '/root/ffmpeg_sources/lame-3.100/mac' Making install in macosx make[1]: Entering directory '/root/ffmpeg_sources/lame-3.100/macosx' Making install in English.lproj make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/macosx/English.lproj' make[3]: Entering directory '/root/ffmpeg_sources/lame-3.100/macosx/English.lproj' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/root/ffmpeg_sources/lame-3.100/macosx/English.lproj' make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/macosx/English.lproj' Making install in LAME.xcodeproj make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/macosx/LAME.xcodeproj' make[3]: Entering directory '/root/ffmpeg_sources/lame-3.100/macosx/LAME.xcodeproj' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/root/ffmpeg_sources/lame-3.100/macosx/LAME.xcodeproj' make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/macosx/LAME.xcodeproj' make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/macosx' make[3]: Entering directory '/root/ffmpeg_sources/lame-3.100/macosx' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/root/ffmpeg_sources/lame-3.100/macosx' make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/macosx' make[1]: Leaving directory '/root/ffmpeg_sources/lame-3.100/macosx' Making install in vc_solution make[1]: Entering directory '/root/ffmpeg_sources/lame-3.100/vc_solution' make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100/vc_solution' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100/vc_solution' make[1]: Leaving directory '/root/ffmpeg_sources/lame-3.100/vc_solution' make[1]: Entering directory '/root/ffmpeg_sources/lame-3.100' make[2]: Entering directory '/root/ffmpeg_sources/lame-3.100' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/root/ffmpeg_sources/lame-3.100' make[1]: Leaving directory '/root/ffmpeg_sources/lame-3.100'
Step 9: install libopus
cd ~/ffmpeg_sources curl -O -L https://archive.mozilla.org/pub/opus/opus-1.2.1.tar.gz tar xzvf opus-1.2.1.tar.gz cd opus-1.2.1 ./configure --prefix="$HOME/ffmpeg_build" --disable-shared make make install
Result:
[root@tutorialspots lame-3.100]# cd ~/ffmpeg_sources [root@tutorialspots ffmpeg_sources]# curl -O -L https://archive.mozilla.org/pub/opus/opus-1.2.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 987k 100 987k 0 0 1870k 0 --:--:-- --:--:-- --:--:-- 1870k ... configure: ------------------------------------------------------------------------ opus 1.2.1: Automatic configuration OK. Compiler support: C99 var arrays: ................ yes C99 lrintf: .................... yes Use alloca: .................... no (using var arrays) General configuration: Floating point support: ........ yes Fast float approximations: ..... no Fixed point debugging: ......... no Inline Assembly Optimizations: . No inline ASM for your platform, please send patches External Assembly Optimizations: Intrinsics Optimizations.......: x86 SSE SSE2 SSE4.1 AVX Run-time CPU detection: ........ x86 SSE4.1 AVX Custom modes: .................. no Assertion checking: ............ no Fuzzing: ....................... no Check ASM: ..................... no Ambisonics support: ............ no API documentation: ............. yes Extra programs: ................ yes ------------------------------------------------------------------------ Type "make; make install" to compile and install Type "make check" to run the test suite ... make[3]: Entering directory '/root/ffmpeg_sources/opus-1.2.1/doc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/root/ffmpeg_sources/opus-1.2.1/doc' make[2]: Leaving directory '/root/ffmpeg_sources/opus-1.2.1' make[1]: Leaving directory '/root/ffmpeg_sources/opus-1.2.1' [root@tutorialspots opus-1.2.1]# make install make install-recursive make[1]: Entering directory '/root/ffmpeg_sources/opus-1.2.1' make[2]: Entering directory '/root/ffmpeg_sources/opus-1.2.1' make[3]: Entering directory '/root/ffmpeg_sources/opus-1.2.1/doc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/root/ffmpeg_sources/opus-1.2.1/doc' make[3]: Entering directory '/root/ffmpeg_sources/opus-1.2.1' /usr/bin/mkdir -p '/root/ffmpeg_build/lib' /bin/sh ./libtool --mode=install /usr/bin/install -c libopus.la '/root/ffmpeg_build/lib' libtool: install: /usr/bin/install -c .libs/libopus.lai /root/ffmpeg_build/lib/libopus.la libtool: install: /usr/bin/install -c .libs/libopus.a /root/ffmpeg_build/lib/libopus.a libtool: install: chmod 644 /root/ffmpeg_build/lib/libopus.a libtool: install: ranlib /root/ffmpeg_build/lib/libopus.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre/bin:/root/bento4/bin:/root/bin:/sbin" ldconfig -n /root/ffmpeg_build/lib ---------------------------------------------------------------------- Libraries have been installed in: /root/ffmpeg_build/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[4]: Entering directory '/root/ffmpeg_sources/opus-1.2.1/doc' make[5]: Entering directory '/root/ffmpeg_sources/opus-1.2.1/doc' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/root/ffmpeg_sources/opus-1.2.1/doc' make[4]: Leaving directory '/root/ffmpeg_sources/opus-1.2.1/doc' /usr/bin/mkdir -p '/root/ffmpeg_build/share/aclocal' /usr/bin/install -c -m 644 opus.m4 '/root/ffmpeg_build/share/aclocal' /usr/bin/mkdir -p '/root/ffmpeg_build/lib/pkgconfig' /usr/bin/install -c -m 644 opus.pc '/root/ffmpeg_build/lib/pkgconfig' /usr/bin/mkdir -p '/root/ffmpeg_build/include/opus' /usr/bin/install -c -m 644 include/opus.h include/opus_multistream.h include/opus_types.h include/opus_defines.h '/root/ffmpeg_build/include/opus' make[3]: Leaving directory '/root/ffmpeg_sources/opus-1.2.1' make[2]: Leaving directory '/root/ffmpeg_sources/opus-1.2.1' make[1]: Leaving directory '/root/ffmpeg_sources/opus-1.2.1'
Step 10: install libogg
cd ~/ffmpeg_sources curl -O -L http://downloads.xiph.org/releases/ogg/libogg-1.3.3.tar.gz tar xzvf libogg-1.3.3.tar.gz cd libogg-1.3.3 ./configure --prefix="$HOME/ffmpeg_build" --disable-shared make make install
Result:
[root@tutorialspots opus-1.2.1]# cd ~/ffmpeg_sources [root@tutorialspots ffmpeg_sources]# curl -O -L http://downloads.xiph.org/releases/ogg/libogg-1.3.3.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 161 100 161 0 0 472 0 --:--:-- --:--:-- --:--:-- 472 100 566k 100 566k 0 0 345k 0 0:00:01 0:00:01 --:--:-- 635k ... [root@tutorialspots ffmpeg_sources]# cd libogg-1.3.3 [root@tutorialspots libogg-1.3.3]# ./configure --prefix="$HOME/ffmpeg_build" --disable-shared checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for ANSI C header files... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for sys/types.h... (cached) yes checking for an ANSI C-conforming const... yes checking size of int16_t... 2 checking size of uint16_t... 2 checking size of u_int16_t... 2 checking size of int32_t... 4 checking size of uint32_t... 4 checking size of u_int32_t... 4 checking size of int64_t... 8 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking for working memcmp... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating doc/libogg/Makefile config.status: creating include/Makefile config.status: creating include/ogg/Makefile config.status: creating include/ogg/config_types.h config.status: creating libogg.spec config.status: creating ogg.pc config.status: creating ogg-uninstalled.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands ... Making all in libogg make[3]: Entering directory '/root/ffmpeg_sources/libogg-1.3.3/doc/libogg' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3/doc/libogg' make[3]: Entering directory '/root/ffmpeg_sources/libogg-1.3.3/doc' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3/doc' make[2]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3/doc' make[2]: Entering directory '/root/ffmpeg_sources/libogg-1.3.3' make[2]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3' make[1]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3' [root@tutorialspots libogg-1.3.3]# make install Making install in src make[1]: Entering directory '/root/ffmpeg_sources/libogg-1.3.3/src' make[2]: Entering directory '/root/ffmpeg_sources/libogg-1.3.3/src' /usr/bin/mkdir -p '/root/ffmpeg_build/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libogg.la '/root/ffmpeg_build/lib' libtool: install: /usr/bin/install -c .libs/libogg.lai /root/ffmpeg_build/lib/libogg.la libtool: install: /usr/bin/install -c .libs/libogg.a /root/ffmpeg_build/lib/libogg.a libtool: install: chmod 644 /root/ffmpeg_build/lib/libogg.a libtool: install: ranlib /root/ffmpeg_build/lib/libogg.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre/bin:/root/bento4/bin:/root/bin:/sbin" ldconfig -n /root/ffmpeg_build/lib ---------------------------------------------------------------------- Libraries have been installed in: /root/ffmpeg_build/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3/src' make[1]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3/src' Making install in include make[1]: Entering directory '/root/ffmpeg_sources/libogg-1.3.3/include' Making install in ogg make[2]: Entering directory '/root/ffmpeg_sources/libogg-1.3.3/include/ogg' make[3]: Entering directory '/root/ffmpeg_sources/libogg-1.3.3/include/ogg' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/root/ffmpeg_build/include/ogg' /usr/bin/install -c -m 644 config_types.h '/root/ffmpeg_build/include/ogg' /usr/bin/mkdir -p '/root/ffmpeg_build/include/ogg' /usr/bin/install -c -m 644 ogg.h os_types.h '/root/ffmpeg_build/include/ogg' make[3]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3/include/ogg' make[2]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3/include/ogg' make[2]: Entering directory '/root/ffmpeg_sources/libogg-1.3.3/include' make[3]: Entering directory '/root/ffmpeg_sources/libogg-1.3.3/include' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3/include' make[2]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3/include' make[1]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3/include' Making install in doc make[1]: Entering directory '/root/ffmpeg_sources/libogg-1.3.3/doc' Making install in libogg make[2]: Entering directory '/root/ffmpeg_sources/libogg-1.3.3/doc/libogg' make[3]: Entering directory '/root/ffmpeg_sources/libogg-1.3.3/doc/libogg' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/root/ffmpeg_build/share/doc/libogg/libogg' /usr/bin/install -c -m 644 bitpacking.html datastructures.html decoding.html encoding.html general.html index.html ogg_iovec_t.html ogg_packet.html ogg_packet_clear.html ogg_page.html ogg_page_bos.html ogg_page_checksum_set.html ogg_page_continued.html ogg_page_eos.html ogg_page_granulepos.html ogg_page_packets.html ogg_page_pageno.html ogg_page_serialno.html ogg_page_version.html ogg_stream_check.html ogg_stream_clear.html ogg_stream_destroy.html ogg_stream_eos.html ogg_stream_flush.html ogg_stream_flush_fill.html ogg_stream_init.html ogg_stream_iovecin.html ogg_stream_packetin.html ogg_stream_packetout.html ogg_stream_packetpeek.html ogg_stream_pagein.html ogg_stream_pageout.html ogg_stream_pageout_fill.html ogg_stream_reset.html ogg_stream_reset_serialno.html ogg_stream_state.html ogg_sync_buffer.html ogg_sync_check.html ogg_sync_clear.html ogg_sync_destroy.html '/root/ffmpeg_build/share/doc/libogg/libogg' /usr/bin/install -c -m 644 ogg_sync_init.html ogg_sync_pageout.html ogg_sync_pageseek.html ogg_sync_reset.html ogg_sync_state.html ogg_sync_wrote.html oggpack_adv.html oggpack_adv1.html oggpack_bits.html oggpack_buffer.html oggpack_bytes.html oggpack_get_buffer.html oggpack_look.html oggpack_look1.html oggpack_read.html oggpack_read1.html oggpack_readinit.html oggpack_reset.html oggpack_write.html oggpack_writealign.html oggpack_writecheck.html oggpack_writeclear.html oggpack_writecopy.html oggpack_writeinit.html oggpack_writetrunc.html overview.html reference.html style.css '/root/ffmpeg_build/share/doc/libogg/libogg' make[3]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3/doc/libogg' make[2]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3/doc/libogg' make[2]: Entering directory '/root/ffmpeg_sources/libogg-1.3.3/doc' make[3]: Entering directory '/root/ffmpeg_sources/libogg-1.3.3/doc' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/root/ffmpeg_build/share/doc/libogg' /usr/bin/install -c -m 644 framing.html index.html oggstream.html ogg-multiplex.html fish_xiph_org.png multiplex1.png packets.png pages.png stream.png vorbisword2.png white-ogg.png white-xifish.png rfc3533.txt rfc5334.txt skeleton.html '/root/ffmpeg_build/share/doc/libogg' make[3]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3/doc' make[2]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3/doc' make[1]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3/doc' make[1]: Entering directory '/root/ffmpeg_sources/libogg-1.3.3' make[2]: Entering directory '/root/ffmpeg_sources/libogg-1.3.3' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/root/ffmpeg_build/share/aclocal' /usr/bin/install -c -m 644 ogg.m4 '/root/ffmpeg_build/share/aclocal' /usr/bin/mkdir -p '/root/ffmpeg_build/lib/pkgconfig' /usr/bin/install -c -m 644 ogg.pc '/root/ffmpeg_build/lib/pkgconfig' make[2]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3' make[1]: Leaving directory '/root/ffmpeg_sources/libogg-1.3.3'
Step 11: install libvorbis
cd ~/ffmpeg_sources curl -O -L http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.gz tar xzvf libvorbis-1.3.5.tar.gz cd libvorbis-1.3.5 ./configure --prefix="$HOME/ffmpeg_build" --with-ogg="$HOME/ffmpeg_build" --disable-shared make make install
Result:
[root@tutorialspots libogg-1.3.3]# cd ~/ffmpeg_sources [root@tutorialspots ffmpeg_sources]# curl -O -L http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.5.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 161 100 161 0 0 479 0 --:--:-- --:--:-- --:--:-- 477 100 1600k 100 1600k 0 0 481k 0 0:00:03 0:00:03 --:--:-- 659k ... make[2]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc' Making all in libvorbis make[3]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc/libvorbis' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc/libvorbis' Making all in vorbisfile make[3]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc/vorbisfile' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc/vorbisfile' Making all in vorbisenc make[3]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc/vorbisenc' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc/vorbisenc' make[3]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc' echo "*** Warning: Doxygen not found; documentation will not be built." *** Warning: Doxygen not found; documentation will not be built. touch doxygen-build.stamp make[3]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc' make[2]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc' make[2]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5' make[2]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5' make[1]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5' [root@tutorialspots libvorbis-1.3.5]# make install Making install in m4 make[1]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/m4' make[2]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/m4' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/m4' make[1]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/m4' Making install in include make[1]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/include' Making install in vorbis make[2]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/include/vorbis' make[3]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/include/vorbis' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/root/ffmpeg_build/include/vorbis' /usr/bin/install -c -m 644 codec.h vorbisfile.h vorbisenc.h '/root/ffmpeg_build/include/vorbis' make[3]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/include/vorbis' make[2]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/include/vorbis' make[2]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/include' make[3]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/include' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/include' make[2]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/include' make[1]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/include' Making install in vq make[1]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/vq' make[2]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/vq' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/vq' make[1]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/vq' Making install in lib make[1]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib' Making install in modes make[2]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/modes' make[3]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/modes' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/modes' make[2]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/modes' Making install in books make[2]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/books' Making install in coupled make[3]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/books/coupled' make[4]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/books/coupled' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/books/coupled' make[3]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/books/coupled' Making install in uncoupled make[3]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/books/uncoupled' make[4]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/books/uncoupled' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/books/uncoupled' make[3]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/books/uncoupled' Making install in floor make[3]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/books/floor' make[4]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/books/floor' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/books/floor' make[3]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/books/floor' make[3]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/books' make[4]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/books' make[4]: Nothing to be done for 'install-exec-am'. make[4]: Nothing to be done for 'install-data-am'. make[4]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/books' make[3]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/books' make[2]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib/books' make[2]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib' make[3]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib' /usr/bin/mkdir -p '/root/ffmpeg_build/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libvorbis.la libvorbisfile.la libvorbisenc.la '/root/ffmpeg_build/lib' libtool: install: /usr/bin/install -c .libs/libvorbis.lai /root/ffmpeg_build/lib/libvorbis.la libtool: install: /usr/bin/install -c .libs/libvorbisfile.lai /root/ffmpeg_build/lib/libvorbisfile.la libtool: install: /usr/bin/install -c .libs/libvorbisenc.lai /root/ffmpeg_build/lib/libvorbisenc.la libtool: install: /usr/bin/install -c .libs/libvorbis.a /root/ffmpeg_build/lib/libvorbis.a libtool: install: chmod 644 /root/ffmpeg_build/lib/libvorbis.a libtool: install: ranlib /root/ffmpeg_build/lib/libvorbis.a libtool: install: /usr/bin/install -c .libs/libvorbisfile.a /root/ffmpeg_build/lib/libvorbisfile.a libtool: install: chmod 644 /root/ffmpeg_build/lib/libvorbisfile.a libtool: install: ranlib /root/ffmpeg_build/lib/libvorbisfile.a libtool: install: /usr/bin/install -c .libs/libvorbisenc.a /root/ffmpeg_build/lib/libvorbisenc.a libtool: install: chmod 644 /root/ffmpeg_build/lib/libvorbisenc.a libtool: install: ranlib /root/ffmpeg_build/lib/libvorbisenc.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre/bin:/root/bento4/bin:/root/bin:/sbin" ldconfig -n /root/ffmpeg_build/lib ---------------------------------------------------------------------- Libraries have been installed in: /root/ffmpeg_build/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib' make[2]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib' make[1]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/lib' Making install in test make[1]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/test' make[2]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/test' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/test' make[1]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/test' Making install in doc make[1]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc' Making install in libvorbis make[2]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc/libvorbis' make[3]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc/libvorbis' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/root/ffmpeg_build/share/doc/libvorbis-1.3.5/libvorbis' /usr/bin/install -c -m 644 index.html reference.html style.css vorbis_comment.html vorbis_info.html vorbis_analysis_blockout.html vorbis_analysis_buffer.html vorbis_analysis_headerout.html vorbis_analysis_init.html vorbis_analysis_wrote.html vorbis_analysis.html vorbis_bitrate_addblock.html vorbis_bitrate_flushpacket.html vorbis_block_init.html vorbis_block_clear.html vorbis_dsp_clear.html vorbis_granule_time.html vorbis_version_string.html vorbis_info_blocksize.html vorbis_info_clear.html vorbis_info_init.html vorbis_comment_add.html vorbis_comment_add_tag.html vorbis_comment_clear.html vorbis_comment_init.html vorbis_comment_query.html vorbis_comment_query_count.html vorbis_commentheader_out.html vorbis_packet_blocksize.html vorbis_synthesis.html vorbis_synthesis_blockin.html vorbis_synthesis_halfrate.html vorbis_synthesis_halfrate_p.html vorbis_synthesis_headerin.html vorbis_synthesis_idheader.html vorbis_synthesis_init.html vorbis_synthesis_lapout.html vorbis_synthesis_pcmout.html vorbis_synthesis_read.html vorbis_synthesis_restart.html '/root/ffmpeg_build/share/doc/libvorbis-1.3.5/libvorbis' /usr/bin/install -c -m 644 vorbis_synthesis_trackonly.html vorbis_block.html vorbis_dsp_state.html return.html overview.html '/root/ffmpeg_build/share/doc/libvorbis-1.3.5/libvorbis' make[3]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc/libvorbis' make[2]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc/libvorbis' Making install in vorbisfile make[2]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc/vorbisfile' make[3]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc/vorbisfile' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/root/ffmpeg_build/share/doc/libvorbis-1.3.5/vorbisfile' /usr/bin/install -c -m 644 OggVorbis_File.html callbacks.html chaining_example_c.html chainingexample.html crosslap.html datastructures.html decoding.html example.html exampleindex.html fileinfo.html index.html initialization.html ov_bitrate.html ov_bitrate_instant.html ov_callbacks.html ov_clear.html ov_comment.html ov_crosslap.html ov_fopen.html ov_info.html ov_open.html ov_open_callbacks.html ov_pcm_seek.html ov_pcm_seek_lap.html ov_pcm_seek_page.html ov_pcm_seek_page_lap.html ov_pcm_tell.html ov_pcm_total.html ov_raw_seek.html ov_raw_seek_lap.html ov_raw_tell.html ov_raw_total.html ov_read.html ov_read_float.html ov_read_filter.html ov_seekable.html ov_serialnumber.html ov_streams.html ov_test.html ov_test_callbacks.html '/root/ffmpeg_build/share/doc/libvorbis-1.3.5/vorbisfile' /usr/bin/install -c -m 644 ov_test_open.html ov_time_seek.html ov_time_seek_lap.html ov_time_seek_page.html ov_time_seek_page_lap.html ov_time_tell.html ov_time_total.html overview.html reference.html seekexample.html seeking.html seeking_example_c.html seeking_test_c.html seekingexample.html style.css threads.html vorbisfile_example_c.html '/root/ffmpeg_build/share/doc/libvorbis-1.3.5/vorbisfile' make[3]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc/vorbisfile' make[2]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc/vorbisfile' Making install in vorbisenc make[2]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc/vorbisenc' make[3]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc/vorbisenc' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/root/ffmpeg_build/share/doc/libvorbis-1.3.5/vorbisenc' /usr/bin/install -c -m 644 changes.html examples.html index.html ovectl_ratemanage2_arg.html ovectl_ratemanage_arg.html overview.html reference.html style.css vorbis_encode_ctl.html vorbis_encode_init.html vorbis_encode_setup_init.html vorbis_encode_setup_managed.html vorbis_encode_setup_vbr.html vorbis_encode_init_vbr.html '/root/ffmpeg_build/share/doc/libvorbis-1.3.5/vorbisenc' make[3]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc/vorbisenc' make[2]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc/vorbisenc' make[2]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc' make[3]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh /root/ffmpeg_sources/libvorbis-1.3.5/install-sh -d /root/ffmpeg_build/share/doc/libvorbis-1.3.5 if test -d vorbis; then \ for dir in vorbis/*; do \ if test -d $dir; then \ b=`basename $dir`; \ /bin/sh /root/ffmpeg_sources/libvorbis-1.3.5/install-sh -d /root/ffmpeg_build/share/doc/libvorbis-1.3.5/$b; \ for f in $dir/*; do \ /usr/bin/install -c -m 644 $f /root/ffmpeg_build/share/doc/libvorbis-1.3.5/$b; \ done \ fi \ done \ fi /usr/bin/mkdir -p '/root/ffmpeg_build/share/doc/libvorbis-1.3.5' /usr/bin/install -c -m 644 rfc5215.xml rfc5215.txt eightphase.png fish_xiph_org.png floor1_inverse_dB_table.html floorval.png fourphase.png framing.html helper.html index.html oggstream.html programming.html squarepolar.png stereo.html stream.png v-comment.html vorbis-clip.txt vorbis-errors.txt vorbis-fidelity.html doxygen-build.stamp '/root/ffmpeg_build/share/doc/libvorbis-1.3.5' make[3]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc' make[2]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc' make[1]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5/doc' make[1]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5' make[2]: Entering directory '/root/ffmpeg_sources/libvorbis-1.3.5' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/root/ffmpeg_build/share/aclocal' /usr/bin/install -c -m 644 vorbis.m4 '/root/ffmpeg_build/share/aclocal' /usr/bin/mkdir -p '/root/ffmpeg_build/lib/pkgconfig' /usr/bin/install -c -m 644 vorbis.pc vorbisenc.pc vorbisfile.pc '/root/ffmpeg_build/lib/pkgconfig' make[2]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5' make[1]: Leaving directory '/root/ffmpeg_sources/libvorbis-1.3.5'
Step 12: Install openssl
cd ~/ffmpeg_sources wget https://www.openssl.org/source/old/1.0.1/openssl-1.0.1j.tar.gz tar -xvf openssl-1.0.1j.tar.gz cd openssl-1.0.1j ./config --prefix="$HOME/ffmpeg_build" make make install
Result:
[root@tutorialspots libvorbis-1.3.5]# cd ~/ffmpeg_sources [root@tutorialspots ffmpeg_sources]# wget https://www.openssl.org/source/old/1.0.1/openssl-1.0.1j.tar.gz --2021-01-09 16:20:27-- https://www.openssl.org/source/old/1.0.1/openssl-1.0.1j.tar.gz Resolving www.openssl.org (www.openssl.org)... 2a02:26f0:6c00:289::c1e, 2a02:26f0:6c00:284::c1e, 184.30.222.86 Connecting to www.openssl.org (www.openssl.org)|2a02:26f0:6c00:289::c1e|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 4432964 (4.2M) [application/x-gzip] Saving to: ‘openssl-1.0.1j.tar.gz’ openssl-1.0.1j.tar. 100%[===================>] 4.23M --.-KB/s in 0.06s 2021-01-09 16:20:28 (70.2 MB/s) - ‘openssl-1.0.1j.tar.gz’ saved [4432964/4432964] ... make[2]: Leaving directory '/root/ffmpeg_sources/openssl-1.0.1j/test' make[1]: Leaving directory '/root/ffmpeg_sources/openssl-1.0.1j/test' making all in tools... make[1]: Entering directory '/root/ffmpeg_sources/openssl-1.0.1j/tools' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/root/ffmpeg_sources/openssl-1.0.1j/tools' ... installing openssl installing CA.sh installing CA.pl installing tsget make[1]: Leaving directory '/root/ffmpeg_sources/openssl-1.0.1j/apps' making install in test... make[1]: Entering directory '/root/ffmpeg_sources/openssl-1.0.1j/test' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/root/ffmpeg_sources/openssl-1.0.1j/test' making install in tools... make[1]: Entering directory '/root/ffmpeg_sources/openssl-1.0.1j/tools' make[1]: Leaving directory '/root/ffmpeg_sources/openssl-1.0.1j/tools' installing libcrypto.a installing libssl.a cp libcrypto.pc /root/ffmpeg_build/lib/pkgconfig chmod 644 /root/ffmpeg_build/lib/pkgconfig/libcrypto.pc cp libssl.pc /root/ffmpeg_build/lib/pkgconfig chmod 644 /root/ffmpeg_build/lib/pkgconfig/libssl.pc cp openssl.pc /root/ffmpeg_build/lib/pkgconfig chmod 644 /root/ffmpeg_build/lib/pkgconfig/openssl.pc
Step 13: install libvpx
cd ~/ffmpeg_sources git clone --depth 1 https://chromium.googlesource.com/webm/libvpx.git cd libvpx CC=c99 ./configure --prefix="$HOME/ffmpeg_build" --disable-examples --disable-unit-tests --enable-vp9-highbitdepth --as=yasm make make install
Result:
[root@tutorialspots openssl-1.0.1j]# cd ~/ffmpeg_sources [root@tutorialspots ffmpeg_sources]# git clone --depth 1 https://chromium.googlesource.com/webm/libvpx.git Cloning into 'libvpx'... remote: Counting objects: 1227, done remote: Finding sources: 100% (1227/1227) remote: Total 1227 (delta 114), reused 537 (delta 114) Receiving objects: 100% (1227/1227), 5.48 MiB | 8.61 MiB/s, done. Resolving deltas: 100% (114/114), done. [root@tutorialspots ffmpeg_sources]# cd libvpx [root@tutorialspots libvpx]# CC=c99 ./configure --prefix="$HOME/ffmpeg_build" --disable-examples --disable-unit-tests --enable-vp9-highbitdepth --as=yasm disabling examples disabling unit_tests enabling vp9_highbitdepth enabling vp8_encoder enabling vp8_decoder enabling vp9_encoder enabling vp9_decoder Configuring for target 'x86_64-linux-gcc' enabling x86_64 enabling runtime_cpu_detect enabling mmx enabling sse enabling sse2 enabling sse3 enabling ssse3 enabling sse4_1 enabling avx enabling avx2 enabling avx512 using yasm enabling postproc enabling webm_io enabling libyuv Creating makefiles for x86_64-linux-gcc libs Creating makefiles for x86_64-linux-gcc tools Creating makefiles for x86_64-linux-gcc docs ... [CXX] vp9/ratectrl_rtc.cc.o [AR] libvp9rc_g.a [STRIP] libvp9rc.a < libvp9rc_g.a [DEP] tools/tiny_ssim.c.d [DEP] y4minput.c.d [CC] y4minput.c.o [CC] tools/tiny_ssim.c.o [LD] tools/tiny_ssim make[1]: Nothing to be done for 'all'. [root@tutorialspots libvpx]# make install [INSTALL] /root/ffmpeg_build/include/vpx/vp8.h [INSTALL] /root/ffmpeg_build/include/vpx/vp8cx.h [INSTALL] /root/ffmpeg_build/include/vpx/vpx_ext_ratectrl.h [INSTALL] /root/ffmpeg_build/include/vpx/vp8dx.h [INSTALL] /root/ffmpeg_build/include/vpx/vpx_codec.h [INSTALL] /root/ffmpeg_build/include/vpx/vpx_frame_buffer.h [INSTALL] /root/ffmpeg_build/include/vpx/vpx_image.h [INSTALL] /root/ffmpeg_build/include/vpx/vpx_integer.h [INSTALL] /root/ffmpeg_build/include/vpx/vpx_decoder.h [INSTALL] /root/ffmpeg_build/include/vpx/vpx_encoder.h [INSTALL] /root/ffmpeg_build/lib/libvpx.a [INSTALL] /root/ffmpeg_build/lib/pkgconfig/vpx.pc make[1]: Nothing to be done for 'install'. make[1]: Nothing to be done for 'install'.
Step 14: install libtheora
cd ~/ffmpeg_sources git clone https://gitlab.xiph.org/xiph/theora.git cd theora git checkout 7288b539c52e99168488dc3a343845c9365617c8 ./autogen.sh -ivh PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" CPPFLAGS="-I/$HOME/ffmpeg_build/include" ./configure --prefix="$HOME/ffmpeg_build" --disable-shared --disable-static make make install
Result:
[root@tutorialspots ffmpeg_sources]# git clone https://gitlab.xiph.org/xiph/theora.git Cloning into 'theora'... remote: Enumerating objects: 8916, done. remote: Counting objects: 100% (8916/8916), done. remote: Compressing objects: 100% (2194/2194), done. remote: Total 8916 (delta 6721), reused 8842 (delta 6657), pack-reused 0 Receiving objects: 100% (8916/8916), 3.67 MiB | 1.08 MiB/s, done. Resolving deltas: 100% (6721/6721), done. [root@tutorialspots ffmpeg_sources]# cd theora [root@tutorialspots theora]# git checkout 7288b539c52e99168488dc3a343845c9365617c8 Note: switching to '7288b539c52e99168488dc3a343845c9365617c8'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c <new-branch-name> Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 7288b53 examples: png_sizeof no longer available (since libpng 1.6) [root@tutorialspots theora]# ./autogen.sh -ivh checking for autoconf... checking for automake 1.11 or later... automake checking for aclocal 1.11 or later... aclocal checking for libtool... libtoolize Generating configuration files for theora, please wait.... aclocal -I m4 libtoolize --automake --force autoheader automake --add-missing configure.ac:56: installing './compile' configure.ac:9: installing './config.guess' configure.ac:9: installing './config.sub' configure.ac:12: installing './install-sh' configure.ac:12: installing './missing' doc/spec/Makefile.am: installing './depcomp' examples/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') lib/Makefile.am:302: warning: '%'-style pattern rules are a GNU make extension lib/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') lib/Makefile.am:170: warning: source file 'c64x/c64xdec.c' is in a subdirectory, lib/Makefile.am:170: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. lib/Makefile.am:170: warning: source file 'c64x/c64xfrag.c' is in a subdirectory, lib/Makefile.am:170: but option 'subdir-objects' is disabled lib/Makefile.am:170: warning: source file 'c64x/c64xidct.c' is in a subdirectory, lib/Makefile.am:170: but option 'subdir-objects' is disabled lib/Makefile.am:170: warning: source file 'c64x/c64xstate.c' is in a subdirectory, lib/Makefile.am:170: but option 'subdir-objects' is disabled lib/Makefile.am:160: warning: source file 'arm/armcpu.c' is in a subdirectory, lib/Makefile.am:160: but option 'subdir-objects' is disabled lib/Makefile.am:160: warning: source file 'arm/armstate.c' is in a subdirectory, lib/Makefile.am:160: but option 'subdir-objects' is disabled lib/Makefile.am:152: warning: source file 'x86/x86cpu.c' is in a subdirectory, lib/Makefile.am:152: but option 'subdir-objects' is disabled lib/Makefile.am:152: warning: source file 'x86/mmxidct.c' is in a subdirectory, lib/Makefile.am:152: but option 'subdir-objects' is disabled lib/Makefile.am:152: warning: source file 'x86/mmxfrag.c' is in a subdirectory, lib/Makefile.am:152: but option 'subdir-objects' is disabled lib/Makefile.am:152: warning: source file 'x86/mmxstate.c' is in a subdirectory, lib/Makefile.am:152: but option 'subdir-objects' is disabled lib/Makefile.am:152: warning: source file 'x86/sse2idct.c' is in a subdirectory, lib/Makefile.am:152: but option 'subdir-objects' is disabled lib/Makefile.am:152: warning: source file 'x86/x86state.c' is in a subdirectory, lib/Makefile.am:152: but option 'subdir-objects' is disabled lib/Makefile.am:47: warning: source file 'x86/mmxencfrag.c' is in a subdirectory, lib/Makefile.am:47: but option 'subdir-objects' is disabled lib/Makefile.am:47: warning: source file 'x86/mmxfdct.c' is in a subdirectory, lib/Makefile.am:47: but option 'subdir-objects' is disabled lib/Makefile.am:47: warning: source file 'x86/sse2encfrag.c' is in a subdirectory, lib/Makefile.am:47: but option 'subdir-objects' is disabled lib/Makefile.am:47: warning: source file 'x86/x86enquant.c' is in a subdirectory, lib/Makefile.am:47: but option 'subdir-objects' is disabled lib/Makefile.am:47: warning: source file 'x86/x86enc.c' is in a subdirectory, lib/Makefile.am:47: but option 'subdir-objects' is disabled lib/Makefile.am:54: warning: source file 'x86/sse2fdct.c' is in a subdirectory, lib/Makefile.am:54: but option 'subdir-objects' is disabled lib/Makefile.am:67: warning: source file 'arm/armenc.c' is in a subdirectory, lib/Makefile.am:67: but option 'subdir-objects' is disabled lib/Makefile.am:57: warning: source file 'x86/x86cpu.c' is in a subdirectory, lib/Makefile.am:57: but option 'subdir-objects' is disabled lib/Makefile.am:57: warning: source file 'x86/mmxfrag.c' is in a subdirectory, lib/Makefile.am:57: but option 'subdir-objects' is disabled lib/Makefile.am:57: warning: source file 'x86/mmxidct.c' is in a subdirectory, lib/Makefile.am:57: but option 'subdir-objects' is disabled lib/Makefile.am:57: warning: source file 'x86/mmxstate.c' is in a subdirectory, lib/Makefile.am:57: but option 'subdir-objects' is disabled lib/Makefile.am:57: warning: source file 'x86/sse2idct.c' is in a subdirectory, lib/Makefile.am:57: but option 'subdir-objects' is disabled lib/Makefile.am:57: warning: source file 'x86/x86state.c' is in a subdirectory, lib/Makefile.am:57: but option 'subdir-objects' is disabled lib/Makefile.am:81: warning: source file 'arm/armcpu.c' is in a subdirectory, lib/Makefile.am:81: but option 'subdir-objects' is disabled lib/Makefile.am:81: warning: source file 'arm/armstate.c' is in a subdirectory, lib/Makefile.am:81: but option 'subdir-objects' is disabled tests/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') parallel-tests: installing './test-driver' autoconf configure: error: unrecognized option: `-ivh' Try `./configure --help' for more information ... config.status: creating theora-uninstalled.pc config.status: creating theoradec.pc config.status: creating theoradec-uninstalled.pc config.status: creating theoraenc.pc config.status: creating theoraenc-uninstalled.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands ------------------------------------------------------------------------ libtheora 1.2.0alpha1+svn: Automatic configuration OK. General configuration: Encoding support: ........... yes Assembly optimization: ...... 64 bit x86 Debugging telemetry: ........ no Build example code: ......... yes API Documentation: .......... no Format Documentation: ....... no Installation paths: libtheora: ................... /root/ffmpeg_build/lib C header files: .............. /root/ffmpeg_build/include/theora Documentation: ............... /root/ffmpeg_build/share/doc/libtheora Building: Type 'make' to compile libtheora. Type 'make install' to install libtheora. Type 'make check' to run test suite (Valgrind testing not enabled) Example programs will be built but not installed. ------------------------------------------------------------------------ [root@tutorialspots theora]# make make all-recursive make[1]: Entering directory '/root/ffmpeg_sources/theora' Making all in lib make[2]: Entering directory '/root/ffmpeg_sources/theora/lib' make all-am make[3]: Entering directory '/root/ffmpeg_sources/theora/lib' CC apiwrapper.lo CC bitpack.lo CC decapiwrapper.lo CC decinfo.lo CC decode.lo CC dequant.lo CC fragment.lo CC huffdec.lo CC idct.lo CC info.lo CC internal.lo CC quant.lo CC state.lo CC x86cpu.lo CC mmxidct.lo CC mmxfrag.lo CC mmxstate.lo CC sse2idct.lo CC x86state.lo x86/x86state.c:24:28: warning: ‘OC_FZIG_ZAG_MMX’ defined but not used [-Wunused-const-variable=] static const unsigned char OC_FZIG_ZAG_MMX[128]={ ^~~~~~~~~~~~~~~ CCLD libtheoradec.la CC analyze.lo CC fdct.lo CC encfrag.lo CC encapiwrapper.lo CC encinfo.lo CC encode.lo CC enquant.lo CC huffenc.lo CC mathops.lo CC mcenc.lo CC rate.lo CC tokenize.lo CC mmxencfrag.lo CC mmxfdct.lo CC sse2encfrag.lo CC x86enquant.lo CC x86enc.lo CC sse2fdct.lo CCLD libtheoraenc.la CCLD libtheora.la make[3]: Leaving directory '/root/ffmpeg_sources/theora/lib' make[2]: Leaving directory '/root/ffmpeg_sources/theora/lib' Making all in include make[2]: Entering directory '/root/ffmpeg_sources/theora/include' Making all in theora make[3]: Entering directory '/root/ffmpeg_sources/theora/include/theora' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/root/ffmpeg_sources/theora/include/theora' make[3]: Entering directory '/root/ffmpeg_sources/theora/include' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/root/ffmpeg_sources/theora/include' make[2]: Leaving directory '/root/ffmpeg_sources/theora/include' Making all in doc make[2]: Entering directory '/root/ffmpeg_sources/theora/doc' Making all in spec make[3]: Entering directory '/root/ffmpeg_sources/theora/doc/spec' CC vp3huff.o CCLD vp3huff make[3]: Leaving directory '/root/ffmpeg_sources/theora/doc/spec' make[3]: Entering directory '/root/ffmpeg_sources/theora/doc' echo "*** Warning: Doxygen not found; documentation will not be built." *** Warning: Doxygen not found; documentation will not be built. touch doxygen-build.stamp make[3]: Leaving directory '/root/ffmpeg_sources/theora/doc' make[2]: Leaving directory '/root/ffmpeg_sources/theora/doc' Making all in tests make[2]: Entering directory '/root/ffmpeg_sources/theora/tests' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/root/ffmpeg_sources/theora/tests' Making all in m4 make[2]: Entering directory '/root/ffmpeg_sources/theora/m4' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/root/ffmpeg_sources/theora/m4' Making all in examples make[2]: Entering directory '/root/ffmpeg_sources/theora/examples' CC dump_video.o CCLD dump_video CC dump_psnr.o CCLD dump_psnr CC libtheora_info.o CCLD libtheora_info CC encoder_example-encoder_example.o CCLD encoder_example CC png2theora-png2theora.o CCLD png2theora CC tiff2theora-tiff2theora.o CCLD tiff2theora make[2]: Leaving directory '/root/ffmpeg_sources/theora/examples' make[2]: Entering directory '/root/ffmpeg_sources/theora' make[2]: Leaving directory '/root/ffmpeg_sources/theora' make[1]: Leaving directory '/root/ffmpeg_sources/theora' [root@tutorialspots theora]# make install Making install in lib make[1]: Entering directory '/root/ffmpeg_sources/theora/lib' make install-am make[2]: Entering directory '/root/ffmpeg_sources/theora/lib' make[3]: Entering directory '/root/ffmpeg_sources/theora/lib' /usr/bin/mkdir -p '/root/ffmpeg_build/lib' /bin/sh ../libtool --mode=install /usr/bin/install -c libtheoradec.la libtheoraenc.la libtheora.la '/root/ffmpeg_build/lib' libtool: install: /usr/bin/install -c .libs/libtheoradec.lai /root/ffmpeg_build/lib/libtheoradec.la libtool: install: /usr/bin/install -c .libs/libtheoraenc.lai /root/ffmpeg_build/lib/libtheoraenc.la libtool: install: /usr/bin/install -c .libs/libtheora.lai /root/ffmpeg_build/lib/libtheora.la libtool: install: /usr/bin/install -c .libs/libtheoradec.a /root/ffmpeg_build/lib/libtheoradec.a libtool: install: chmod 644 /root/ffmpeg_build/lib/libtheoradec.a libtool: install: ranlib /root/ffmpeg_build/lib/libtheoradec.a libtool: install: /usr/bin/install -c .libs/libtheoraenc.a /root/ffmpeg_build/lib/libtheoraenc.a libtool: install: chmod 644 /root/ffmpeg_build/lib/libtheoraenc.a libtool: install: ranlib /root/ffmpeg_build/lib/libtheoraenc.a libtool: install: /usr/bin/install -c .libs/libtheora.a /root/ffmpeg_build/lib/libtheora.a libtool: install: chmod 644 /root/ffmpeg_build/lib/libtheora.a libtool: install: ranlib /root/ffmpeg_build/lib/libtheora.a libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.275.b01-1.el8_3.x86_64/jre/bin:/root/bento4/bin:/root/bin:/sbin" ldconfig -n /root/ffmpeg_build/lib ---------------------------------------------------------------------- Libraries have been installed in: /root/ffmpeg_build/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/root/ffmpeg_sources/theora/lib' make[2]: Leaving directory '/root/ffmpeg_sources/theora/lib' make[1]: Leaving directory '/root/ffmpeg_sources/theora/lib' Making install in include make[1]: Entering directory '/root/ffmpeg_sources/theora/include' Making install in theora make[2]: Entering directory '/root/ffmpeg_sources/theora/include/theora' make[3]: Entering directory '/root/ffmpeg_sources/theora/include/theora' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/root/ffmpeg_build/include/theora' /usr/bin/install -c -m 644 theora.h theoradec.h theoraenc.h codec.h '/root/ffmpeg_build/include/theora' make[3]: Leaving directory '/root/ffmpeg_sources/theora/include/theora' make[2]: Leaving directory '/root/ffmpeg_sources/theora/include/theora' make[2]: Entering directory '/root/ffmpeg_sources/theora/include' make[3]: Entering directory '/root/ffmpeg_sources/theora/include' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/root/ffmpeg_sources/theora/include' make[2]: Leaving directory '/root/ffmpeg_sources/theora/include' make[1]: Leaving directory '/root/ffmpeg_sources/theora/include' Making install in doc make[1]: Entering directory '/root/ffmpeg_sources/theora/doc' Making install in spec make[2]: Entering directory '/root/ffmpeg_sources/theora/doc/spec' make[3]: Entering directory '/root/ffmpeg_sources/theora/doc/spec' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Leaving directory '/root/ffmpeg_sources/theora/doc/spec' make[2]: Leaving directory '/root/ffmpeg_sources/theora/doc/spec' make[2]: Entering directory '/root/ffmpeg_sources/theora/doc' make[3]: Entering directory '/root/ffmpeg_sources/theora/doc' make[3]: Nothing to be done for 'install-exec-am'. /bin/sh /root/ffmpeg_sources/theora/install-sh -d /root/ffmpeg_build/share/doc/libtheora if test -d libtheora; then \ for dir in libtheora/*; do \ if test -d $dir; then \ b=`basename $dir`; \ /bin/sh /root/ffmpeg_sources/theora/install-sh -d /root/ffmpeg_build/share/doc/libtheora/$b; \ for f in $dir/*; do \ /usr/bin/install -c -m 644 $f /root/ffmpeg_build/share/doc/libtheora/$b; \ done \ fi \ done \ fi /usr/bin/mkdir -p '/root/ffmpeg_build/share/doc/libtheora' /usr/bin/install -c -m 644 vp3-format.txt color.html draft-ietf-avt-rtp-theora-00.xml draft-ietf-avt-rtp-theora-00.txt doxygen-build.stamp '/root/ffmpeg_build/share/doc/libtheora' make[3]: Leaving directory '/root/ffmpeg_sources/theora/doc' make[2]: Leaving directory '/root/ffmpeg_sources/theora/doc' make[1]: Leaving directory '/root/ffmpeg_sources/theora/doc' Making install in tests make[1]: Entering directory '/root/ffmpeg_sources/theora/tests' make[2]: Entering directory '/root/ffmpeg_sources/theora/tests' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/root/ffmpeg_sources/theora/tests' make[1]: Leaving directory '/root/ffmpeg_sources/theora/tests' Making install in m4 make[1]: Entering directory '/root/ffmpeg_sources/theora/m4' make[2]: Entering directory '/root/ffmpeg_sources/theora/m4' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/root/ffmpeg_sources/theora/m4' make[1]: Leaving directory '/root/ffmpeg_sources/theora/m4' Making install in examples make[1]: Entering directory '/root/ffmpeg_sources/theora/examples' make[2]: Entering directory '/root/ffmpeg_sources/theora/examples' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/root/ffmpeg_sources/theora/examples' make[1]: Leaving directory '/root/ffmpeg_sources/theora/examples' make[1]: Entering directory '/root/ffmpeg_sources/theora' make[2]: Entering directory '/root/ffmpeg_sources/theora' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/root/ffmpeg_build/lib/pkgconfig' /usr/bin/install -c -m 644 theora.pc theoradec.pc theoraenc.pc '/root/ffmpeg_build/lib/pkgconfig' make[2]: Leaving directory '/root/ffmpeg_sources/theora' make[1]: Leaving directory '/root/ffmpeg_sources/theora'
Step 15: install libspeex
cd ~/ffmpeg_sources git clone https://github.com/xiph/speex.git cd speex autoreconf -fiv ./configure --prefix="$HOME/ffmpeg_build" --disable-shared make make install
Result:
[root@tutorialspots theora]# cd ~/ffmpeg_sources [root@tutorialspots ffmpeg_sources]# git clone https://github.com/xiph/speex.git Cloning into 'speex'... remote: Enumerating objects: 58, done. remote: Counting objects: 100% (58/58), done. remote: Compressing objects: 100% (21/21), done. remote: Total 12261 (delta 23), reused 53 (delta 23), pack-reused 12203 Receiving objects: 100% (12261/12261), 5.72 MiB | 2.64 MiB/s, done. Resolving deltas: 100% (9295/9295), done. [root@tutorialspots ffmpeg_sources]# cd speex [root@tutorialspots speex]# autoreconf -fiv autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:31: installing './compile' configure.ac:29: installing './config.guess' configure.ac:29: installing './config.sub' configure.ac:26: installing './install-sh' configure.ac:26: installing './missing' libspeex/Makefile.am: installing './depcomp' autoreconf: Leaving directory `.' ...
Step 16: install ladspa
yum install ladspa-devel
Result:
[root@tutorialspots speex]# yum install ladspa-devel Last metadata expiration check: 1:09:24 ago on Sat 09 Jan 2021 03:58:01 PM CET. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: ladspa-devel x86_64 1.13-20.el8 PowerTools 24 k Installing dependencies: ladspa x86_64 1.13-20.el8 PowerTools 53 k Transaction Summary ================================================================================ Install 2 Packages Total download size: 77 k Installed size: 175 k Is this ok [y/N]: y Downloading Packages: (1/2): ladspa-devel-1.13-20.el8.x86_64.rpm 892 kB/s | 24 kB 00:00 (2/2): ladspa-1.13-20.el8.x86_64.rpm 1.6 MB/s | 53 kB 00:00 -------------------------------------------------------------------------------- Total 1.2 MB/s | 77 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : ladspa-1.13-20.el8.x86_64 1/2 Installing : ladspa-devel-1.13-20.el8.x86_64 2/2 Running scriptlet: ladspa-devel-1.13-20.el8.x86_64 2/2 Verifying : ladspa-1.13-20.el8.x86_64 1/2 Verifying : ladspa-devel-1.13-20.el8.x86_64 2/2 Installed: ladspa-1.13-20.el8.x86_64 ladspa-devel-1.13-20.el8.x86_64 Complete!
Step 17: install libfreetype
cd ~/ffmpeg_sources wget https://download.savannah.gnu.org/releases/freetype/freetype-2.9.tar.gz tar -xvf freetype-2.9.tar.gz cd freetype-2.9 ./configure --prefix="$HOME/ffmpeg_build" --disable-shared make make install
Result:
[root@tutorialspots speex]# cd ~/ffmpeg_sources [root@tutorialspots ffmpeg_sources]# wget https://download.savannah.gnu.org/releases/freetype/freetype-2.9.tar.gz --2021-01-09 17:08:52-- https://download.savannah.gnu.org/releases/freetype/freetype-2.9.tar.gz Resolving download.savannah.gnu.org (download.savannah.gnu.org)... 2001:470:142:5::200, 209.51.188.200 Connecting to download.savannah.gnu.org (download.savannah.gnu.org)|2001:470:142:5::200|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://bigsearcher.com/mirrors/nongnu/freetype/freetype-2.9.tar.gz [following] --2021-01-09 17:08:52-- https://bigsearcher.com/mirrors/nongnu/freetype/freetype-2.9.tar.gz Resolving bigsearcher.com (bigsearcher.com)... 138.68.47.113 Connecting to bigsearcher.com (bigsearcher.com)|138.68.47.113|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 2546883 (2.4M) [application/x-gzip] Saving to: ‘freetype-2.9.tar.gz’ freetype-2.9.tar.gz 100%[===================>] 2.43M 2.15MB/s in 1.1s 2021-01-09 17:08:54 (2.15 MB/s) - ‘freetype-2.9.tar.gz’ saved [2546883/2546883] ...
Step 18: install ffmpeg
cd ~/ffmpeg_sources curl -O -L https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 tar xjvf ffmpeg-snapshot.tar.bz2 cd ffmpeg PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \ --prefix="$HOME/ffmpeg_build" \ --pkg-config-flags="--static" \ --extra-cflags="-I$HOME/ffmpeg_build/include" \ --extra-ldflags="-L$HOME/ffmpeg_build/lib" \ --extra-libs=-lpthread \ --extra-libs=-lm \ --bindir="$HOME/bin" \ --enable-gpl \ --enable-libfdk_aac \ --enable-libfreetype \ --enable-libmp3lame \ --enable-libopus \ --enable-libvorbis \ --enable-libvpx \ --enable-libx264 \ --enable-libx265 \ --enable-nonfree \ --enable-openssl \ --enable-libspeex \ --enable-libtheora \ --enable-ladspa \ --enable-muxer=segment \ --enable-muxer=stream_segment make make install hash -r
Result:
[root@tutorialspots freetype-2.9]# cd ~/ffmpeg_sources [root@tutorialspots ffmpeg_sources]# curl -O -L https://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 10.8M 100 10.8M 0 0 20.3M 0 --:--:-- --:--:-- --:--:-- 20.3M ... amrnb image_jpeg_pipe pmp amrwb image_jpegls_pipe pp_bnk anm image_pam_pipe pva apc image_pbm_pipe pvf ape image_pcx_pipe qcp apm image_pgm_pipe r3d apng image_pgmyuv_pipe rawvideo aptx image_pgx_pipe realtext aptx_hd image_photocd_pipe redspark aqtitle image_pictor_pipe rl2 argo_asf image_png_pipe rm argo_brp image_ppm_pipe roq asf image_psd_pipe rpl asf_o image_qdraw_pipe rsd ass image_sgi_pipe rso ast image_sunrast_pipe rtp au image_svg_pipe rtsp av1 image_tiff_pipe s337m avi image_webp_pipe sami avr image_xpm_pipe sap avs image_xwd_pipe sbc avs2 ingenient sbg avs3 ipmovie scc bethsoftvid ipu sdp bfi ircam sdr2 bfstm iss sds bink iv8 sdx bintext ivf segafilm bit ivr ser bmv jacosub shorten boa jv siff brstm kux sln c93 kvag smacker caf live_flv smjpeg cavsvideo lmlm4 smush cdg loas sol cdxl lrc sox cine luodat spdif codec2 lvf srt codec2raw lxf stl concat m4v str data matroska subviewer daud mca subviewer1 dcstr mcc sup derf mgsts svag dfa microdvd svs dhav mjpeg swf dirac mjpeg_2000 tak dnxhd mlp tedcaptions dsf mlv thp dsicin mm threedostr dss mmf tiertexseq dts mods tmv dtshd moflex truehd dv mov tta dvbsub mp3 tty dvbtxt mpc txd dxa mpc8 ty ea mpegps v210 ea_cdata mpegts v210x eac3 mpegtsraw vag epaf mpegvideo vc1 ffmetadata mpjpeg vc1t filmstrip mpl2 vividas fits mpsub vivo flac msf vmd flic msnwc_tcp vobsub flv msp voc fourxm mtaf vpk frm mtv vplayer fsb musx vqf fwse mv w64 g722 mvi wav g723_1 mxf wc3 g726 mxg webm_dash_manifest g726le nc webvtt g729 nistsphere wsaud gdv nsp wsd genh nsv wsvqa gif nut wtv gsm nuv wv gxf obu wve h261 ogg xa h263 oma xbin h264 paf xmv hca pcm_alaw xvag hcom pcm_f32be xwma hevc pcm_f32le yop hls pcm_f64be yuv4mpegpipe hnm pcm_f64le Enabled muxers: a64 hash pcm_s24be ac3 hds pcm_s24le adts hevc pcm_s32be adx hls pcm_s32le aiff ico pcm_s8 alp ilbc pcm_u16be amr image2 pcm_u16le amv image2pipe pcm_u24be apm ipod pcm_u24le apng ircam pcm_u32be aptx ismv pcm_u32le aptx_hd ivf pcm_u8 argo_asf jacosub pcm_vidc asf kvag psp asf_stream latm rawvideo ass lrc rm ast m4v roq au matroska rso avi matroska_audio rtp avm2 md5 rtp_mpegts avs2 microdvd rtsp bit mjpeg sap caf mkvtimestamp_v2 sbc cavsvideo mlp scc codec2 mmf segafilm codec2raw mov segment crc mp2 singlejpeg dash mp3 smjpeg data mp4 smoothstreaming daud mpeg1system sox dirac mpeg1vcd spdif dnxhd mpeg1video spx dts mpeg2dvd srt dv mpeg2svcd stream_segment eac3 mpeg2video streamhash f4v mpeg2vob sup ffmetadata mpegts swf fifo mpjpeg tee fifo_test mxf tg2 filmstrip mxf_d10 tgp fits mxf_opatom truehd flac null tta flv nut uncodedframecrc framecrc oga vc1 framehash ogg vc1t framemd5 ogv voc g722 oma w64 g723_1 opus wav g726 pcm_alaw webm g726le pcm_f32be webm_chunk gif pcm_f32le webm_dash_manifest gsm pcm_f64be webp gxf pcm_f64le webvtt h261 pcm_mulaw wtv h263 pcm_s16be wv h264 pcm_s16le yuv4mpegpipe Enabled protocols: async httpproxy rtmpte cache https rtmpts concat icecast rtp crypto md5 srtp data mmsh subfile ffrtmpcrypt mmst tcp ffrtmphttp pipe tee file prompeg tls ftp rtmp udp gopher rtmpe udplite hls rtmps unix http rtmpt Enabled filters: abench deband palettegen abitscope deblock paletteuse acompressor decimate pan acontrast deconvolve perms acopy dedot perspective acrossfade deesser phase acrossover deflate photosensitivity acrusher deflicker pixdesctest acue dejudder pixscope addroi delogo pp adeclick derain pp7 adeclip deshake premultiply adelay despill prewitt adenorm detelecine pseudocolor aderivative dilation psnr adrawgraph displace pullup aecho dnn_processing qp aemphasis doubleweave random aeval drawbox readeia608 aevalsrc drawgraph readvitc afade drawgrid realtime afftdn drawtext remap afftfilt drmeter removegrain afifo dynaudnorm removelogo afir earwax repeatfields afirsrc ebur128 replaygain aformat edgedetect reverse afreqshift elbg rgbashift agate entropy rgbtestsrc agraphmonitor eq roberts ahistogram equalizer rotate aiir erosion sab aintegral extractplanes scale ainterleave extrastereo scale2ref alimiter fade scdet allpass fftdnoiz scroll allrgb fftfilt select allyuv field selectivecolor aloop fieldhint sendcmd alphaextract fieldmatch separatefields alphamerge fieldorder setdar amerge fifo setfield ametadata fillborders setparams amix find_rect setpts amovie firequalizer setrange amplify flanger setsar amultiply floodfill settb anequalizer format showcqt anlmdn fps showfreqs anlms framepack showinfo anoisesrc framerate showpalette anull framestep showspatial anullsink freezedetect showspectrum anullsrc freezeframes showspectrumpic apad fspp showvolume aperms gblur showwaves aphasemeter geq showwavespic aphaser gradfun shuffleframes aphaseshift gradients shufflepixels apulsator graphmonitor shuffleplanes arealtime greyedge sidechaincompress aresample haas sidechaingate areverse haldclut sidedata arnndn haldclutsrc sierpinski aselect hdcd signalstats asendcmd headphone signature asetnsamples hflip silencedetect asetpts highpass silenceremove asetrate highshelf sinc asettb hilbert sine ashowinfo histeq smartblur asidedata histogram smptebars asoftclip hqdn3d smptehdbars asplit hqx sobel astats hstack spectrumsynth astreamselect hue speechnorm asubboost hwdownload split asubcut hwmap spp asupercut hwupload sr asuperpass hysteresis ssim asuperstop idet stereo3d atadenoise il stereotools atempo inflate stereowiden atrim interlace streamselect avectorscope interleave super2xsai avgblur join superequalizer axcorrelate kerndeint surround bandpass ladspa swaprect bandreject lagfun swapuv bass lenscorrection tblend bbox life telecine bench limiter testsrc bilateral loop testsrc2 biquad loudnorm thistogram bitplanenoise lowpass threshold blackdetect lowshelf thumbnail blackframe lumakey tile blend lut tinterlace bm3d lut1d tlut2 boxblur lut2 tmedian bwdif lut3d tmidequalizer cas lutrgb tmix cellauto lutyuv tonemap channelmap mandelbrot tpad channelsplit maskedclamp transpose chorus maskedmax treble chromahold maskedmerge tremolo chromakey maskedmin trim chromanr maskedthreshold unpremultiply chromashift maskfun unsharp ciescope mcdeint untile codecview mcompand uspp color median v360 colorbalance mergeplanes vaguedenoiser colorchannelmixer mestimate vectorscope colorhold metadata vflip colorkey midequalizer vfrdet colorlevels minterpolate vibrance colormatrix mix vibrato colorspace movie vignette compand mpdecimate vmafmotion compensationdelay mptestsrc volume concat negate volumedetect convolution nlmeans vstack convolve nnedi w3fdif copy noformat waveform cover_rect noise weave crop normalize xbr cropdetect null xfade crossfeed nullsink xmedian crystalizer nullsrc xstack cue oscilloscope yadif curves overlay yaepblur datascope owdenoise yuvtestsrc dblur pad zoompan dcshift pal100bars dctdnoiz pal75bars Enabled bsfs: aac_adtstoasc h264_redundant_pps null av1_frame_merge hapqa_extract opus_metadata av1_frame_split hevc_metadata pcm_rechunk av1_metadata hevc_mp4toannexb prores_metadata chomp imx_dump_header remove_extradata dca_core mjpeg2jpeg text2movsub dump_extradata mjpega_dump_header trace_headers eac3_core mov2textsub truehd_core extract_extradata mp3_header_decompress vp9_metadata filter_units mpeg2_metadata vp9_raw_reorder h264_metadata mpeg4_unpack_bframes vp9_superframe h264_mp4toannexb noise vp9_superframe_split Enabled indevs: fbdev oss xcbgrab lavfi v4l2 Enabled outdevs: fbdev oss v4l2 License: nonfree and unredistributable ...
Done!
[root@tutorialspots ffmpeg]# ffmpeg -version ffmpeg version N-100581-ga454a0c Copyright (c) 2000-2021 the FFmpeg developers built with gcc 8 (GCC) configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --extra-libs=-lpthread --extra-libs=-lm --bindir=/root/bin --enable-gpl --enable-libfdk_aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-openssl --enable-libspeex --enable-libtheora --enable-ladspa --enable-muxer=segment --enable-muxer=stream_segment libavutil 56. 63.100 / 56. 63.100 libavcodec 58.115.102 / 58.115.102 libavformat 58. 65.101 / 58. 65.101 libavdevice 58. 11.103 / 58. 11.103 libavfilter 7. 95.100 / 7. 95.100 libswscale 5. 8.100 / 5. 8.100 libswresample 3. 8.100 / 3. 8.100 libpostproc 55. 8.100 / 55. 8.100