Dev
Dev

Reputation: 3945

ffmpeg library compile for .so files (libavutil.so, libavcore.so, libavcodec.so etc)

I want to use ffmpeg library in my Android Application. I have downloaded the source from here

And I followed the steps INSTALL.md file to build the library. (Compilation Environment is OSX) Unfortunately I'm getting only the .a files (like libavutil.a, libavcore.a, libavcodec.a etc).

How can I compile the library to produce the .so files. Is there any configuration option to change?

Upvotes: 9

Views: 6147

Answers (1)

Dev
Dev

Reputation: 3945

I have compiled the source in Linux machine and successfully got the .so files.

While compiling you need to specify the configuration option:

./configure --enable-shared --disable-static

This will give only the shared library files (.so files).

Upvotes: 14

Related Questions