79727749

Date: 2025-08-06 19:16:00
Score: 1
Natty:
Report link

I used prebuilt aar,
If it is not available you can follow this

https://medium.com/@213maheta/ffmpeg-create-aar-file-add-it-into-android-project-7e069b0fe23f

i) Run below command on terminal

git clone https://github.com/arthenica/ffmpeg-kit.git
or Download source code from below link

https://github.com/arthenica/ffmpeg-kit

ii) Open termial & give path for Android SDK & NDK

export ANDROID_SDK_ROOT=/..your_path../Android/Sdk
export ANDROID_NDK_ROOT=/..your_path../Android/Sdk/ndk/25.1.8937393
iii) Run below command

./android.sh
iv) Go to dir

…./ffmpeg-kit/prebuilt/bundle-android-aar/
v) Copy ffmpeg-kit.aar & put it in to below path

project_name/app/libs/
vi) Add below line in your app gradle

dependencies {
    implementation(files("libs/ffmpeg-kit.aar"))
}
Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Arshad