wseemann / FFmpegMediaMetadataRetriever

FFmpegMediaMetadataRetriever provides a unified interface for retrieving frame and meta data from an input media file.
1.72k stars 387 forks source link

Pre-build .aar issue #192

Closed HBiSoft closed 5 years ago

HBiSoft commented 6 years ago

I'm not sure if this library is still supported, there was no activity by the owner @wseemann in almost a year.

I hope that someone can please provide me with a explanation on how to use the .aar files to build different apk's based on their ABI. I could not find any documentation or example on how to split the apk with different .aar files. I have seen issues on the library where the owner mentioned that the pre-build .aar's should be used to reduce the apk size, but no explanation on how to actually use it.

Also, the way the pre-builld .aar are named are confusing:

screen shot 2018-09-09 at 15 36 04

I assume the following, please correct me if I'm wrong:

I also posted a question on stackoverflow - https://stackoverflow.com/questions/52253127/generate-apk-for-different-architectures-ffmpegmediametadataretriever

wseemann commented 5 years ago

I'm unclear why you think the prebuilt AAR names to be confusing when you were able to reconcile each ABI architecture based off my naming convention. Regardless, you can generate different APK's using product flavors which specify the desired target ABI. You can then specify which FMMR gradle dependency or standalone AAR file to use depending on each product flavor. See the attached build.gradle file for reference.

build.gradle

HBiSoft commented 5 years ago

Thank you for answering and the great explanation on SO. I will be closing this issue.