Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 650
Dev Avatar asked Apr 18 '16 11:04

Dev


1 Answers

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).

like image 118
Dev Avatar answered Nov 12 '22 22:11

Dev