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

error=13, Permission denied in Android Q 10 #168

Open
khushalvaghasiya opened this issue Sep 22, 2020 · 10 comments
Open

error=13, Permission denied in Android Q 10 #168

khushalvaghasiya opened this issue Sep 22, 2020 · 10 comments

Comments

@khushalvaghasiya
Copy link

Caused by: java.io.IOException: error=13, Permission denied

java.io.IOException: Cannot run program "/data/user/0/com.xyz.video/files/ffmpeg": error=13, Permission denied

@hamaianh
Copy link

me too, plz help me check it?

@BilalAsif25
Copy link

Check this pull by scmfaria, as its fixed the error library is working fine with android 29, but i am not sure about its working on play store 64 bit requirements if anyone check this up will be a great help!

https://github.com/scmfaria/FFmpeg-Android/tree/bug_fix

@Yousaf128
Copy link

i have face this issue but in my case the issue was in command. i was using wrong command for video speed up and slow motion after placing this command issue was resolved:
"-i", videoInputPath, "-filter:v", "setpts=0.25*PTS", VideoOutPutPath
you can cahnge setpts(set presentation time stamp) as per your requirments.

@L30D3V
Copy link

L30D3V commented Nov 25, 2020

I'm also having this problem. Does anyone have a solution, even if it's a workaround?
@BilalAsif25 is there a way to use this fix already?

@Yousaf128
Copy link

@L30D3V which command do you have running at this scenario. can you show your command please?

@L30D3V
Copy link

L30D3V commented Nov 25, 2020

arrayOf("-i", videoPath, "-r", "10", "-qscale:v", "${configuration.jpegCompression}", "${fileDir.absolutePath}/frames_%03d.jpg")

I'm extracting image frames from a video. The variable videoPath is from a video either selected from a user dialog or a video recorded with the camera. All the data is being saved inside my own app storage, so it shouldn't have any permission problems, but I still requested WRITE_STORAGE and READ_STORAGE permissions.

On my tests, I also added android:requestLegacyExternalStorage="true" even though I rather not use it on production.

@L30D3V L30D3V mentioned this issue Nov 30, 2020
@walidatef
Copy link

Did you found a solution ?

@walidatef
Copy link

not use it on pro

Did you find a solution?

@VineshChauhan24
Copy link

bravobit/FFmpeg-Android-- this library support only build verstion upto 28 , this will be working fine when your sdk version is 28. try below answer

https://stackoverflow.com/a/59683008/8416317

@Piyushkapadia31
Copy link

Bug Fixes : Permission denied in Android Q 1

Try This : implementation 'com.github.Piyushkapadia31:FFmpeg:1.0.0'

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

8 participants