madhavanmalolan / ffmpegandroidlibrary

One line integration for FFMPEG Library in Android
MIT License
90 stars 15 forks source link

How to compile ffmpeg with custom codecs #1

Closed gulzar1996 closed 6 years ago

gulzar1996 commented 6 years ago

My app size is around 20mb. I dont need most of the codec. How do generate so file for the codec I need ? Thanks for the awesome library

madhavanmalolan commented 6 years ago

Hi Gulzar, Yes the app size does get bloated, since i have tried to compile all the frequently used codecs. You can follow instructions here (Exactly what i did to build this library).

https://medium.com/madhavanmalolan/ffmpeg-for-android-b307f2613c82

You can edit the "Build Script" and disable the codecs you don't want.