FFmpeg-Android
FFmpeg-Android copied to clipboard
error=13, Permission denied in Android Q 10
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
me too, plz help me check it?
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
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.
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?
@L30D3V which command do you have running at this scenario. can you show your command please?
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.
Did you found a solution ?
not use it on pro
Did you find a solution?
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
Bug Fixes : Permission denied in Android Q 1
Try This : implementation 'com.github.Piyushkapadia31:FFmpeg:1.0.0'