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

Michel Bardiaux mbardiaux
Tue Mar 14 18:36:18 CET 2006


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/




More information about the ffmpeg-devel mailing list