[FFmpeg-user] install on centos fail

jacky renaux renaux.jacky at orange.fr
Tue Aug 4 20:50:07 EEST 2020



Le 04/08/2020 à 11:26, Reindl Harald a écrit :
> 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

many thanks Karl , I am a low level unix user but you gave correct me a lot

here is my new shell based on your advices still nor succeed on a 
temporary install rep

yum install autoconf automake bzip2 bzip2-devel cmake freetype-devel gcc 
gcc-c++ git libtool make mercurial pkgconfig zlib-devel
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


then I for before make one error  see     extract .....

ffmpeg/presets/libvpx-1080p.ffpreset
ffmpeg/presets/libvpx-1080p50_60.ffpreset
ffmpeg/presets/libvpx-720p.ffpreset
ffmpeg/presets/libvpx-720p50_60.ffpreset
ffmpeg/presets/libvpx-360p.ffpreset
ffmpeg/VERSION
ffmpeg/libpostproc/
ffmpeg/libpostproc/Makefile
ffmpeg/libpostproc/libpostproc.v
ffmpeg/libpostproc/postprocess_altivec_template.c
ffmpeg/libpostproc/postprocess_internal.h
ffmpeg/libpostproc/postprocess.c
ffmpeg/libpostproc/postprocess_template.c
ffmpeg/libpostproc/postprocess.h
ffmpeg/libpostproc/postprocres.rc
ffmpeg/libpostproc/version.h
libvpx enabled but no supported decoders found

seem   not decoder libs not yet functionam

regards
Jacky

> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-user mailing list