Re: Re: [Ffmpeg-devel] How to reduce the ffmpeg avcodec.dll, avformat.dllsize
Jimmy Zha
zhajm
Mon Mar 20 05:22:59 CET 2006
Hi,Inc.
>That results if you enable all or most supported codec libs while
>compiling like --enable-xvid etc.
>Imho its also possible to --disable- a specific codec or even disabling
>the demuxers/decoders/muxers individually.
>So first, do --enable- only whats needed and add maybe a --disable-debug
>reduces it even more.
>Finally an upx'ing of the resulted dlls could end up in a size which
>fits your purposes.
>
>Also you could just link your code with avcodec.lib avformat.lib and
>avutil.lib and not using the dlls outside your appl.
>If you do not initialize all codecs but only the needed ones, the final
>linked resulted binary will be much less in its size.
The MinGW compiled DLLs/Libs. I use the libs in VS.net, but when the application runs, it must be depends the DLLs.How to do it which is on your words above.
>
>>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.
>>
>> 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
>>
>>
>
>_______________________________________________
>ffmpeg-devel mailing list
>ffmpeg-devel at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>.
Jimmy Zha
zhajm at 56.com
2006-03-20
More information about the ffmpeg-devel
mailing list