[FFmpeg-user] install on centos fail
Reindl Harald
h.reindl at thelounge.net
Tue Aug 4 12:26:49 EEST 2020
Am 04.08.20 um 10:56 schrieb jacky renaux:
> I try to install full ffmpeg on centos and using this guide
> https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
>
> I made the following shell
>
> 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-libvpx \
> --enable-libx264 \
> --enable-libx265 \
> --enable-nonfree
> make
> make install
> #hash -d ffmpeg
>
>
> --- I am getting errors and install stops see console details
>
> ERROR: freetype2 not found using pkg-config
and why don't you ust type "yum install freetype-devel"?
https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
Get the Dependencies
Note: The # indicates that the command should be executed as superuser
or root and is only required in this guide for the yum command.
Get the dependencies. These are required for compiling, but you can
remove them when you are done if you prefer (except make; it should be
installed by default and many things depend on it).
# yum install autoconf automake bzip2 bzip2-devel cmake freetype-devel
gcc gcc-c++ git libtool make mercurial pkgconfig zlib-devel
More information about the ffmpeg-user
mailing list