ffmpeg-android-java icon indicating copy to clipboard operation
ffmpeg-android-java copied to clipboard

APK size - Google note

Open lucazin opened this issue 5 years ago • 5 comments

Hi !

i have this import in mu project and nothing more..and everything is ok!

compile 'com.writingminds:FFmpegAndroid:0.3.2'

but my apk increase 20mb... how google said im publish app bundle.... so i have one question.. when i publish a new bundle now with ffmpeg.. they give the right apk for the right user?

because the libs is in assets..

If you publish your app to Google Play, you should build and upload an Android App Bundle. When you do so, Google Play automatically generates and serves optimized APKs for each user’s device configuration, so they download only the code and resources they need to run your app. Publishing multiple APKs is useful if you are not publishing to Google Play, but you must build, sign, and manage each APK yourself.

lucazin avatar Sep 27 '19 14:09 lucazin

Maybe you need this

equationl avatar Oct 08 '19 14:10 equationl

@equationl I have used your repo but I am unable to figure out how to download FFMPEG and how to set the download file. Your document shows ffmpeg.setFFmpegFile(downfile); but I am unable to find the method.

kartikj07 avatar Nov 13 '19 08:11 kartikj07

@equationl I have used your repo but I am unable to figure out how to download FFMPEG and how to set the download file. Your document shows ffmpeg.setFFmpegFile(downfile); but I am unable to find the method.

You need to implement the download ffmpeg file by yourself. Then set ffmpeg file by call ffmpeg.setFFmpegFile(yourOwnFfmpegFile). You can find all ffmpeg file at https://github.com/formatBCE/FFmpeg-Android/tree/master/android-ffmpeg/src/main/assets

equationl avatar Nov 13 '19 08:11 equationl

Thanks, @equationl your library was very much useful and I owe you a cup of coffee. Thank you so much.

kartikj07 avatar Dec 04 '19 11:12 kartikj07