

However, the only things that I personally miss in FFmpeg_b4a are support for subtitles and multiple audio tracks. well, Vitamio is very mature and exposes more methods and attributes than FFmpeg_b4a. However, personally I feel more confident to include this library in commercial projects compared to Vitamio.Īny disadvantages with FFMpeg_b4a compared to Vitamio? Please note that I am not a lawyer so I cannot be certain about this so don't blame me if you run into any licensing problems. I think the important thing here is that the author wrote the C++ code and the JAVA wrapper code himself and that his work may be used also in commercial projects. Please refer to the "read-me" in the link I cited above for IJKPlayer where the author of IJKPlayer explains licensing issues. With the FFmpeg_b4a wrapper I believe the license costs are not any longer necessary. However, when I contacted Vitamio asking for license costs, I was informed the license costs were in thousands USD per app and per year! Well, this may be OK for larger companies but for a hobby programmer like myself (and probably others here on the forum), it is far too expensive. However, if you publish a pay app, an app with ads or develop an app for a third party where Vitamio is integrated, then you need a license which of course is fair enough. As long as you develop personal and free apps (and with no ads) with Vitamio integrated, you can use Vitamio for free if I have understood things correctly. Good question! I wrote this library mainly due to licensing costs.

Why this new FFmpeg_b4a wrapper when there is already Vitamio? They include a collection of media demuxers, decoders, filters - with FFmpeg you can decode many formats which are not supported natively by Android. Well, these libraries work like Android's default MediaPlayer and VideoView (see b4a's Audio-library) except that they include much more powerful features.

What is so special with FFmpeg and these libraries? My library for Vitamio was later enhanced by warwound to support more recent versions of Vitamio - see here. Before FFmpeg_b4a, the only FFmpeg library available for B4A was Vitamio (for which I wrote a wrapper library back in 2012 - see here).

Alternatively, you can use my Vitamio5 library/wrapper which is compliant with Google Play store's latest requirements.įFmpeg_b4a wraps the IJKPlayer library. Personally I would probably use the ExoPlayer (search the forum) these days unless you have codec-issues. It is still useable for apps not being distributed on Google Play Store though. EDIT: As of August 2019, this library is not compliant with Google Play store's latest requirements which require native 64bits libs.
