[Libav-user] reduce dll size

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Mar 26 10:53:28 CET 2014


Michael Chisholm <chisholm at ...> writes:

> It seems to me, what you may gain by linking to a static 
> lib, is that only that library code which is actually 
> used by the app is pulled in to the exe

This is true but it (mostly) does not apply to FFmpeg:
All the encoders, decoders, demuxers, muxers, parsers etc. 
are linked into your static executable no matter if you 
need them or not.
If you need smaller binaries, use --disable-everything (or 
--disable-all) and enable the features you need.

Carl Eugen



More information about the Libav-user mailing list