[FFmpeg-user] Problems Compiling on CentOS 7

Larry Apolonio ffmpeg at apolonio.com
Sat Dec 29 17:46:44 EET 2018


On 12/29/2018 2:29 AM, Carl Eugen Hoyos wrote:
> 2018-12-29 8:50 GMT+01:00, Larry Apolonio <ffmpeg at apolonio.com>:
> 
>> But thanks again, I was able to compile ffmpeg and compare it to a
>> precompiled binary (nux I believe) on the Internet.
> 
> Just to avoid misunderstandings (gains >0.5% are unexpected):
> Which precompiled version did you test against which compiled
> version of FFmpeg (and x264 which you actually tested)?
> 
>> Take all this info with a grain of salt because these tests were
>> certainly not in a highly controlled environment
>>
>> On a Dell Optiplex with an Intel Core 2 Duo CPU E8400  @ 3.00GHz it
>> took 32 minutes,
>>
>> Same file, same parameters, but with the version compiled from source,
>> it took 28 minutes.
> 
> You could also compare with a current precompiled binary from
> https://johnvansickle.com/ffmpeg/
> 
> Please avoid top-posting here, Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
> 

I reconfigured my mail client to bottom post.  I can see how it can get 
annoying.

The instructions to install the precompiled version cam from

https://www.vultr.com/docs/how-to-install-ffmpeg-on-centos

The repository is

http://li.nux.ro/repos.html

Here is the x265 version
Name        : x264-libs
Version     : 0.142
Release     : 11.20141221git6a301b6.el7.nux
Architecture: x86_64
Install Date: (not installed)
Group       : Development/Libraries
Size        : 1909624
License     : GPLv2+
Signature   : RSA/SHA1, Fri 17 Jul 2015 04:27:42 AM PDT, Key ID 
e98bfbe785c6cd8a
Source RPM  : x264-0.142-11.20141221git6a301b6.el7.nux.src.rpm
Build Date  : Fri 17 Jul 2015 01:54:24 AM PDT
Build Host  : rpmbuilder
Relocations : (not relocatable)
Packager    : http://li.nux.ro/
Vendor      : Nux!
URL         : http://developers.videolan.org/x264.html
Summary     : Library for encoding H264/AVC video streams
Description :
x264 is a free library for encoding H264/AVC video streams, written from
scratch.

Here is ffmpeg
Name        : ffmpeg
Version     : 2.8.15
Release     : 1.el7.nux
Architecture: x86_64
Install Date: (not installed)
Group       : Unspecified
Size        : 2093757
License     : GPLv3+
Signature   : RSA/SHA1, Tue 07 Aug 2018 07:06:27 AM PDT, Key ID 
e98bfbe785c6cd8a
Source RPM  : ffmpeg-2.8.15-1.el7.nux.src.rpm
Build Date  : Tue 07 Aug 2018 06:51:30 AM PDT
Build Host  : rpmbuilder
Relocations : (not relocatable)
Packager    : http://li.nux.ro/
Vendor      : Nux!
URL         : http://ffmpeg.org/
Summary     : Digital VCR and streaming server
Description :
FFmpeg is a complete and free Internet live audio and video
broadcasting solution for Linux/Unix. It also includes a digital
VCR. It can encode in real time in many formats including MPEG1 audio
and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.

Here are the compiled from source versions
$ /usr/local/bin/x264 --version
x264 0.157.2935 545de2f
built on Dec 28 2018, gcc: 4.8.5 20150623 (Red Hat 4.8.5-36)
x264 configuration: --chroma-format=all
libx264 configuration: --chroma-format=all
x264 license: GPL version 2 or later

$ /usr/local/bin/ffmpeg -version
ffmpeg version N-92833-gfccba32 Copyright (c) 2000-2018 the FFmpeg 
developers
built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-8)
configuration: --arch=x86_64 --optflags='-O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' 
--extra-ldflags='-Wl,-z,relro ' --enable-libopencore-amrnb 
--enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 
--enable-bzlib --disable-crystalhd --enable-nvenc --enable-gnutls 
--enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 
--disable-indev=jack --enable-libfreetype --enable-libgsm 
--enable-libmp3lame --enable-openal --enable-libopenjpeg 
--enable-libpulse --enable-libsoxr --enable-libspeex --enable-libtheora 
--enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 
--enable-libxvid --enable-libxcb --enable-avfilter --enable-avresample 
--enable-postproc --enable-pthreads --enable-static --disable-shared 
--enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 
--enable-runtime-cpudetect --cc=/usr/bin/gcc44
libavutil      56. 25.100 / 56. 25.100
libavcodec     58. 42.104 / 58. 42.104
libavformat    58. 25.100 / 58. 25.100
libavdevice    58.  6.101 / 58.  6.101
libavfilter     7. 46.101 /  7. 46.101
libavresample   4.  0.  0 /  4.  0.  0
libswscale      5.  4.100 /  5.  4.100
libswresample   3.  4.100 /  3.  4.100
libpostproc    55.  4.100 / 55.  4.100


Will take a look at the johnvansickle versions as well.


More information about the ffmpeg-user mailing list