Try this command for merge two audio files, but its not working in Android 10.0(Q) while targeting sdk 29.
But, this command is completely working on
Now If You Guys Looking For FFMPEG for ANDROID Q Here is link use below FFMPEG Build. Include this to your app/build.gradle
Min SDK 24
dependencies {
implementation 'com.arthenica:mobile-ffmpeg-full:4.3'
}
Min SDK 16
dependencies {
implementation 'com.arthenica:mobile-ffmpeg-full:4.2.2.LTS'
}
tested in OnePlus 7T
Android Q
For this library is only support maximum sdk 28 see the below link:
https://github.com/bravobit/FFmpeg-Android/blob/master/android-ffmpeg/build.gradle
So,In this library not run in SDK 29 because the targetSdkVersion 28
and compileSdkVersion 28
. If you want to change this thing, it'll work for you. I hope it will help you..!
There is No Official Documentation.
https://www.reddit.com/r/androiddev/comments/b2inbu/psa_android_q_blocks_executing_binaries_in_your/
But You Can Use Below Method to Test You App
It looks like both linux DAC and SE-Android are blocking your application's process from accessing the 'su' executable.
Check if your system is running in enforced mode, meaning that SE-Android is enabled. If this is indeed the case, you can temporarily disable it by running:
adb root
adb shell setenforce 0
This will disable SE-Android and will not block the apps process from executing 'su'.
So you can execute ffmpeg
Additionally, your app might not have the DAC permissions necessary to launch 'su' as root. You can execute the following command:
adb shell ps
For a list of all running processes on your device. locate your app (by searching for its package name), and check its group and uid. Most probably neither are root.
Please note that building a custom userdebug image is not quite like rooting a standard Android device. The debug version is meant to allow access to the device's internals while still simulating a real functioning device with all of its default security mechanisms enabled.