[Libav-user] reduce dll size

YIRAN LI mrfun.china at gmail.com
Tue Mar 4 02:45:27 CET 2014


I did a strip in MingW and sizes only got a bit smaller.

[image: 内嵌图片 1]


2014-03-04 12:22 GMT+11:00 YIRAN LI <mrfun.china at gmail.com>:

> 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/31be3c1a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture.JPG
Type: image/jpeg
Size: 74516 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20140304/31be3c1a/attachment.jpe>


More information about the Libav-user mailing list