candy8ober
candy8ober

Reputation: 39

Vitamio library makes apk file too big

I'm trying to use Vitamio SDK but when I'm adding the library to my project the apk becomes too big (approximately 20Mb and bigger).

I add the library as a project in Eclipse.

I think, I should add .jar library but when I do I get ExceptionInInitializerError while running LibsChecker.checkVitamioLibs method.

Upvotes: 1

Views: 905

Answers (2)

Crossle Song
Crossle Song

Reputation: 10174

From Vitamio 4.1 has support full version and online version, you can use online version. ChangeLog

Vitamio 4.x support custom ffmpeg, you can recompile ffmpeg.

Upvotes: 1

Vaiden
Vaiden

Reputation: 16122

As I've stated here (https://stackoverflow.com/a/20954179/606351), Vitamio comes bundled with compiled bins for a variety of processors. It unpacks the right one upon initialization.

You can weed out some of these but you would lose cross-platform support. Or you could recompile FFMpeg to contain only the portions you're gonna use.

Upvotes: 0

Related Questions