[Libav-user] reduce dll size

YIRAN LI mrfun.china at gmail.com
Tue Mar 4 02:22:49 CET 2014


Great thanks Carl,

Could you also let me know how to strip the Windows dll, I have no
experience on this :D. Of course I'll also try to work it out myself.

Thanks


2014-03-04 11:14 GMT+11:00 Carl Eugen Hoyos <cehoyos at ag.or.at>:

> YIRAN LI <mrfun.china at ...> writes:
>
> > I'm building ffmpeg dlls for Windows using MingW, and
> > the dlls I got seems quite large. libavcodec 8 MB and
> > libavformat 1.5 MB.
>
> This sounds like unstripped sizes, as explained you
> normally want stripped libraries (that are significantly
> smaller).
> If you don't need all decoders, use the configure option
> --disable-everything and enable the parts of FFmpeg you
> need (there are also --disable-encoders and friends, see
> configure --help).
>
> You may want to test the result of your configure line,
> note that for example some demuxers have dependencies
> that are not immediately obvious, and parsers are often
> needed.
>
> Note that combining libavcodec and libavformat into one
> library is not supported here, if you do it, please do
> not ask for support;-)
>
> (You may of course ask for support if your particular
> configure line does not work the way you need it: Just
> post it and tell us what doesn't work.)
>
> Carl Eugen
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20140304/1941f827/attachment.html>


More information about the Libav-user mailing list