# rk_ffmpeg_android **Repository Path**: lingner/rk_ffmpeg_android ## Basic Information - **Project Name**: rk_ffmpeg_android - **Description**: No description available - **Primary Language**: C - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-07-15 - **Last Updated**: 2024-06-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README FFmpeg README ------------- 1) Documentation * Read the documentation in the doc/ directory in git. You can also view it online at http://ffmpeg.org/documentation.html 2) Licensing * See the LICENSE file. 3) Build and Install * See the INSTALL file. 4) How to build ffmepg for Android * Download Android NDK(android-ndk-r9d-linux-x86_64.tar.bz2) from http://www.androiddevtools.cn/ * Unzip android-ndk-r9d-linux-x86_64.tar.bz2 to Your Path (eg. /home/androd_ndk/android-ndk-r9d). * Modify build_32.sh, Config your NDK path (eg. NDK=/home/androd_ndk/android-ndk-r9d) * Move this project to Your_SDK_Root/external/ffmpeg * Change Permissions of configure and build_32bit_5.0.sh/build_32bit_6.0.sh #chmod 766 configure #chmod 766 build_32bit_5.0.sh #chmod 766 build_32bit_6.0.sh #chmod 766 version.sh * execute ./build_32bit_5.0.sh for android5.0; execute ./build_32bit_6.0.sh for android6.0, then you will find libffmpeg.so in directory(./android/armv7-a/) 4) You Can Use Precompiled Library(libffmpeg.so) * You Can find libffmpeg.so in android/arm32/5.0/libffmpeg.so for android5.0 You Can find libffmpeg.so in android/arm32/6.0/libffmpeg.so for android6.0 5) How to Use libffmpeg.so in Your SDK * REPLACE vendor//common/vpu/lib/arm//libffmpeg.so in your sdk note: is vender name : such as amlgic allwinner rockchip note: is chip name : such as a20, s905,rk3368 * MODIFIED frameworks/av/media/libmediaplayerservice/Android.mk : MODIFIED [BUILD_FF_PLAYER := false] TO [BUILD_FF_PLAYER := true] * make your android sdk