'How to reduce apk size when using FFmpeg

App is developed it's size is hardly 30MB and when integrated FFmpeg Library its size goes to 135MB which is Too much.

Anyone know anything?



Solution 1:[1]

It's not possible do very much improvements.

FFMPEG is made by binary and libraries that are necessarie to let it work.

You can:

  • use a Mobile version of FFMPEG, but it could lack some codes for obliviously reasons: https://github.com/tanersener/ffmpeg-kit
  • create a separated APK each for one CPU Architecture: ARM7, ARM8, X86, X64, etc... In this way only 25-30Mb are included in final APK

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 emandt