Vitamio ffmpeg version
Requirements
Vitamio 3.0 is built with Android NDK r8b, so it is recommended to use NDK r8b to create custom FFmpeg. According to developer feedback, there are many issues and glitches if other versions of the NDK are used.
Building FFmpeg
First, a clone of the FFmpeg-Android library from our GitHub http://github.com/yixia/FFmpeg-Android . Then customize FFmpeg-Android.sh according to your needs.
The most common scenarios are when you want to compile several specific FFmpeg modules in your application without any other masses. In this situation, all you have to do is change FFMPEG_FLAGS
in the shell script. All available options are well documented in the FFmpeg configure script configure --help
.
On rare occasions if you want to change FFmpeg you need more work, I just think you might have all the knowledge to do this. Indeed, you just need to understand FFmpeg-Android.sh or create your own assembly script.
Finally, run FFmpeg-Android.sh in bash. This is a bash script that can work in zsh too.
Libarm.so package
Find file res / raw / libarm.so in VitamioBundle
=> file res/raw/libarm.so
res/raw/libarm.so: 7-zip archive data, version 0.3
Yes you will find magic, it's a 7-zip file, so unzip it anyway and replace each libffmpeg.so with your own assemblies.
60 <=> armv6
61 <=> vfp
70 <=> armv7
71 <=> neon
Finally, re-save all data to libarm.so.
Source: https://www.vitamio.org/en/2013/Tutorial_0509/13.html
source to share