[Ffmpeg-devel] FFMpeg as shared library

Francesco Comi frankk.ml
Fri Jun 17 16:14:49 CEST 2005

I wrote a small program that makes use of ffmpeg libavcodec and libavformat.

I compiled ffmpeg with

./configure --enable-shared
make lib
make installlib

but when I compile my program I get an executable around 8-9 MB in
size. If I compile ffmpeg with --disable-shared I get the same size
for my program.

I compile my prog with this flags: -lavcodec -lavformat

How can I solve this? do I have to compile ffmpeg with some other flag?


More information about the ffmpeg-devel mailing list