How to fucking build FFmpeg using VPlayer?
Question: How to fucking build FFmpeg using VPlayer?
Answer: For FFMPEG v3.0.2 and NDK r11c
Install Ubuntu (16.04) in VirtualBox (building on Windows is a NIGHTMARE, don't even try)
Download and uncompress Android NDK (v11c) to a folder in your home directory (
/home/viet/Android in my case or
Since the ffmpeg (v2.6) coming with VPlayer has an annoying text relocation issue, we will build ffmpeg from scratch (FFMPEG v3.0.2 and NDK r11c).
Open a terminal in Ubuntu and do this:
sudo apt-get install autoconf autoconf-archive automake pkg-config git libtool
git clone https://github.com/matthewn4444/VPlayer_lib.git
.bashrcunder your home directory (
/home/vietin my case), need to enable hidden file to see. Add the following at the top of the file (every single dash and slash need to be exactly like this so TRIPLE CHECK IT, I've already done the hard part so dont be lazy):
export NDK=~/Android/android-ndk-r11c export PATH=$PATH:$NDK
You can check to see if this path is set correctly with
APP_ABIfor which architectures to build for (in this case we only build for
APP_PLATFORMfor which platform to build with (if you use a higher number, it will choose the next lower version; e.g you choose android-10, it will choose android-9 if 10 doesn't exist) (in this case we use
sudo chmod -R 0777 /home/viet/Desktop/VPlayer_lib
build_android.sh(you do not need to configure again).
TO DO: Need update to custom build without subtitles.