Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission Denied Exception #365

Open
digiholicinfotech opened this issue Aug 28, 2020 · 5 comments
Open

Permission Denied Exception #365

digiholicinfotech opened this issue Aug 28, 2020 · 5 comments

Comments

@digiholicinfotech
Copy link

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.(UNIXProcess.java:133)
at java.lang.ProcessImpl.start(ProcessImpl.java:141)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
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) 

@SuryaChundawat
Copy link

getting the same issue

@ghost
Copy link

ghost commented Sep 5, 2020

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/

@ghost
Copy link

ghost commented Sep 5, 2020

#361
A similar issue

@yxwandroid
Copy link

A similar issue

@yyms3275
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants