Android Question How to use external .aar

noeleon

Active Member
Licensed User
My app is an audio player for mp3 and ogg that displays synchronized lyrics. And since seek function is not accurate on mp3 encoded with variable bitrate (VBR) I'd like to give the user an option to convert mp3 to ogg or convert to mp3 using constant bitrate, but first the user must download an ffmpeg .aar file, so that my apk will not be unnecessarily huge.

Similar approach to this app https://play.google.com/store/apps/details?id=org.ffmpeg.gui

How do I do it?

Basically a "detached aar" version of this sample project https://www.b4x.com/android/forum/threads/ffmpeg-library-for-b4x-with-inline-java-only.108905/
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

noeleon

Active Member
Licensed User
Yikes! too complicated me. No to ffmpeg then.

I will just offer to convert mp3 to wav. Unfortunately liblame by warwound won't work if targetsdk > 22.
 
Upvote 0
Top