ffmpeg-android-java
ffmpeg-android-java copied to clipboard
Permission Denied Exception
E/FFmpeg: Exception while trying to run: [Ljava.lang.String;@426024e
java.io.IOException: Cannot run program "/data/user/0/PACKAGE NAME/files/ffmpeg": error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1050)
at java.lang.Runtime.exec(Runtime.java:698)
at java.lang.Runtime.exec(Runtime.java:563)
at com.github.kohiyadav.libffmpeg.ShellCommand.run(ShellCommand.java:10)
at com.github.kohiyadav.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:38)
at com.github.kohiyadav.libffmpeg.FFmpegExecuteAsyncTask.doInBackground(FFmpegExecuteAsyncTask.java:10)
at android.os.AsyncTask$3.call(AsyncTask.java:378)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Caused by: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.
getting the same issue
WritingMinds ffmpeg-android library is obsolete and outdated. It does not support Android Q. Therefore its recommended to switch to different new ffmpeg library. Here's one you might find helpful. https://github.com/tanersener/mobile-ffmpeg/
#361 A similar issue
A similar issue
WritingMinds ffmpeg-android library is obsolete and outdated. It does not support Android Q. Therefore its recommended to switch to different new ffmpeg library. Here's one you might find helpful. https://github.com/tanersener/mobile-ffmpeg/
Thanks solved the problem.