bravobit / FFmpeg-Android

FFMpeg/FFprobe compiled for Android
https://bravobit.nl/
MIT License
733 stars 172 forks source link

Reduce APK File Size #155

Open sureapps opened 4 years ago

sureapps commented 4 years ago

can we manage in one .aab verion in manage both file. so can you help me reduced aab file size. My aab file size is 27 MB .But when i use

aaptOptions {
    ignoreAssetsPattern "!arm"
}

OR

aaptOptions {
    ignoreAssetsPattern "!x86"
}

My aab file size is 18MB so thats working fine but this solution is only one supported cpu architecture but when i live on google play store so how to manage 64-bit or 32- bit supported cpu architecture in single aab file on android

Thank you

alexcohn commented 4 years ago

This project is not AAB friendly. I strongly suggest that you switch to https://github.com/tanersener/mobile-ffmpeg which is also compatible with Android 10 and provides true 64-bit support.

usmanrana07 commented 4 years ago

@alexcohn I tried mobile-ffmpeg library but if apk size was 60MB with this library then it got raised to 139MB with mobile-ffmpeg. Besides that it has only execute command method. No listener is there to observe progress,sucess,failure etc,

sahujaunpuri commented 3 years ago

I have also created 1 app using this library. The size of the debug apk is 37 mb and the size of the release apk is 71 mb. I don't understand what to do.

sureapps commented 3 years ago

No listener is there to observe progress,sucess,failure etc,

yes that is the issue we have also progress method in retrieve to fps or frame so we have set progress dialog in percentage. so we need to listener is there to observe progress,sucess,failure etc,