[Libav-user] reduce dll size

Don Moir donmoir at comcast.net
Tue Mar 4 00:18:47 CET 2014


>From: YIRAN LI 
>To: This list is about using libavcodec, libavformat, libavutil,libavdevice and libavfilter. 
>Sent: Monday, March 03, 2014 5:58 PM
>Subject: [Libav-user] reduce dll size

>Hi,

>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.

>Firstly may I know, since ffmpeg is built into several dlls, is it possible that same code got built into each dll so that there're 
>some unnecessary waste? Is it possible to build all code into one dll?

>Second, is there any option I can use to reduce the size of the dlls?

Use UPX. Works very well.

http://upx.sourceforge.net/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20140303/2ca3b114/attachment.html>


More information about the Libav-user mailing list