<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.17063" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>>From: YIRAN LI <BR>>To: This list is about 
using libavcodec, libavformat, libavutil,libavdevice and libavfilter. 
<BR>>Sent: Monday, March 03, 2014 5:58 PM<BR>>Subject: [Libav-user] reduce 
dll size</FONT></DIV>
<DIV> </DIV><FONT face=Arial size=2>
<DIV>>Hi,</DIV>
<DIV><BR>>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.</DIV>
<DIV><BR>>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 </DIV>
<DIV>>some unnecessary waste? Is it possible to build all code into one 
dll?</DIV>
<DIV> </DIV>
<DIV>>Second, is there any option I can use to reduce the size of the 
dlls?</DIV>
<DIV> </DIV>
<DIV>Use UPX. Works very well.</DIV>
<DIV> </DIV>
<DIV><A 
href="http://upx.sourceforge.net/">http://upx.sourceforge.net/</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>