[FFmpeg-user] How to "prettify" FFmpeg binary like the pre-compiled Windows build

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Apr 5 03:49:13 EEST 2019

2019-04-05 0:52 GMT+02:00, Hashim Aziz <hashaziz at hotmail.com>:
> Hi,
> I managed to successfully compile a version of FFmpeg with a MinGW-w64
> toolchain on Cygwin, but the resulting binary doesn't look as good as I'd
> like it to, especially compared with the pre-compiled builds for Windows
> offered by Zeranoe. Here's an image comparing the two (first run is the
> pre-compiled Zeranoe build, second is my own binary):
> [cid:5d96e204-eb73-4e81-816a-768c3b14fab0]
> How did the compilers of this build manage to:
>   1.  Remove all configuration options from the banner
> except the --enable-library options?

He is using native instead of cross-compilation, therefore he
doesn't use the cross-compilation specific options that are
(nearly) the only difference, he also has only static
libraries in his linking path and therefore has not reason
to pass additional options to the linker.

>   1.  Append the date that the binary was compiled on
> after the GCC version?

This date is printed by his gcc binary when doing "gcc -v" (or similar),
we removed the building date from the binary some time ago to
make the builds reproducible (iirc).

Carl Eugen

More information about the ffmpeg-user mailing list