Comments (2)
You have to build an APK for each architecture and exlude the unnecessary files for each architecture.
You can accomplish this with productFlavors. Checkout this gradle sample:
apply plugin: 'com.android.application'
android {
compileSdkVersion 27
defaultConfig {
applicationId "nl.bravobit.ffmpeg.test"
minSdkVersion 16
targetSdkVersion 27
versionCode 1
versionName "1.0.1"
}
flavorDimensions "abi"
productFlavors {
x86 {
dimension "abi"
versionCode 1001 // you need different version codes to support multiple APK's in Play Store
ndk {
abiFilter "x86"
}
aaptOptions {
ignoreAssetsPattern "!arm"
}
}
armv7a {
dimension "abi"
versionCode 2001 // you need different version codes to support multiple APK's in Play Store
ndk {
abiFilter "armeabi-v7a"
}
aaptOptions {
ignoreAssetsPattern "!x86"
}
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.0.2'
implementation 'nl.bravobit:android-ffmpeg:1.1.0'
}
from ffmpeg-android.
thx, I'll try it. Happy new year, bro. (^_^)
from ffmpeg-android.
Related Issues (20)
- Live transcoding from H265 to H264 on Mobile HOT 1
- Video not playing in Exoplayer
- App uses FFMpeg version used in older lib until uninstall app from device and then install new app version
- this is LGPL ?or GPL? HOT 1
- not support -show_packets? -show_frames?
- java.io.IOException, Permission denied HOT 9
- is there a build available with -openssl HOT 3
- ffmpeg concat throws a response with "" instead of onFinished or OnSuccess. I've verified onFailure works, and so does onStart.
- error=13, Permission denied in Android Q 10 HOT 10
- Which one is working these days? bravobit? mobile-ffmpeg? EpMedia? HOT 8
- Not working HOT 4
- Delay between onStart and first onProgress
- I want a little help with FFmpeg and FFprobe files
- About Dolby AC-4
- How to get ffprobe result as a string or something like that ?
- lauch app Show white screen
- java.io.FileNotFoundException: arm/ffmpeg
- FFmpeg: Error running FFmpeg binary java.lang.NullPointerException
- command for adding audio(mp3) to video(mp4)
- java.io.IOException: ffmpeg": error=13, Permission denied HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffmpeg-android.