[Ffmpeg-devel] How to reduce the ffmpeg avcodec.dll, avformat.dll size

yj yunjnz
Wed Mar 15 01:31:49 CET 2006


it seems that the ffmpeg in cvs is compiled with debug
information default,
did you try with removing the -g flag while compiling
ffmpeg?
hope this helps you.


--- Michel Bardiaux <mbardiaux at mediaxim.be> wrote:

> Jimmy Zha wrote:
> > Hi,
> > 
> > 	I compiled the FFmpeg with MinGW on Windows,and
> got 3 dlls: avcodec.dll, avformat.dll, avutil.dll.
> > 
> > 	I am do some work on Microsoft Visual Studio with
> the FFMpeg lib/dlls. 
> > 
> >     avcodec.dll(8.31mb),avformat.dll(9.16mb) is
> too big to my program. How can i reduce them.
> 
> After a build under MingW using a CVS as of 20060213
> (I should use 
> latest but for some reason I cant update now!) I
> obtain:
> 
> $ ls -al */*.dll
> -rwxr-xr-x    1 michel   Administ  8222457 Mar 14
> 18:25 
> libavcodec/avcodec.dll
> -rwxr-xr-x    1 michel   Administ  1272016 Mar 14
> 18:26 
> libavformat/avformat.dll
> -rwxr-xr-x    1 michel   Administ    55106 Feb 13
> 16:21 libavutil/avutil.dll
> 
> So, I suspect you're using an even older version of
> the build system, in 
> which avformat *contains* avcodec. Do *you* have cvs
> access now?
> 
> 
> > 
> >     I think i can cut of some encoder/decoder
> which i do not use them. I just use the flv encoder
> and lame mp3 en coder only.
> > 
> > 
> > Best regards!
> > 
> > ????????????????????????Jimmy Zha
> > ????????????????????????zhajm at 56.com
> > ??????????????????????????????2006-03-14
> > 
> > 
> >
>
------------------------------------------------------------------------
> > 
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at mplayerhq.hu
> > http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel
> 
> 
> -- 
> Michel Bardiaux
> R&D Director
> T +32 [0] 2 790 29 41
> F +32 [0] 2 790 29 02
> E mailto:mbardiaux at mediaxim.be
> 
> Mediaxim NV/SA
> Vorstlaan 191 Boulevard du Souverain
> Brussel 1160 Bruxelles
> http://www.mediaxim.com/
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 





More information about the ffmpeg-devel mailing list