[Ffmpeg-devel] Compilation Issue
Thu Sep 22 15:31:46 CEST 2005
only problem I have is that --enable-shared does not work as expected
anymore when building with mingw.
before libavutil was added ffmpeg.exe for example was about 150k,
libavformat 400k and libavcodec 2500k. After libavutil was added (and
current cvs) ffmpeg.exe results in 3200k, libavutil 35k, libavcodec 2500k,
libavformat 3000k. It seems that it is all staticly linked.
On 9/22/05, Michel Bardiaux <mbardiaux at mediaxim.be> wrote:
> Usman Bashir wrote:
> > Hi fellow!
> > I am new at ffmpeg as well as Linux, so do not know much about
> > make and other things. I am able to compile ffmpeg using MINGW32 on
> > windows though.
> > But when I build a file replacing ffmpeg.c with my own and targeting it
> > as dll rather then exe, I am failed. Although dll is seem to be building
> > from make, but when I try to access it from java app it denied loading.
> > Is there any other thing that I need to add in make files or how can I
> > change the make files to build a actual dll instead of exe.
> > I ll really appreciate the help from any one
> > Regards,
> > Usman
> ffmpeg is not the appropriate prototype to build your own dll. You
> should mimic libavformat instead (and of course use --enable-shared).
> Michel Bardiaux
> R&D Director
> T +32  2 790 29 41
> F +32  2 790 29 02
> E mailto:mbardiaux at mediaxim.be
> Mediaxim NV/SA
> Vorstlaan 191 Boulevard du Souverain
> Brussel 1160 Bruxelles
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
More information about the ffmpeg-devel