[Libav-user] reduce dll size

YIRAN LI mrfun.china at gmail.com
Fri Mar 7 02:58:28 CET 2014

Hi All,

I had a try on ffmpeg 2.0.1 with this options


and the dlls size are

5547801 Mar  7 10:19 ./ffmpeg/libavcodec/avcodec.dll
1397577 Mar  7 10:20 ./ffmpeg/libavformat/avformat.dll

I manually striped them in MinGW and then size changed to
4804110 Mar  7 10:35 ./ffmpeg/libavcodec/avcodec.dll
1036814 Mar  7 10:36 ./ffmpeg/libavformat/avformat.dll

I found that strip for libraries will only be called when 'make install' (I
used to call make
only, because I only need the dlls to run on Windows). So I called make
and then dlls were installed into /mingw/bin and they are exactly the same
size as that achieved
when I manually can strip.

So, I guess 4804110 for avcodec and 1036814 for avformat may be
the best we can get.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20140307/370650f3/attachment.html>

More information about the Libav-user mailing list