FFmpeg-Android icon indicating copy to clipboard operation
FFmpeg-Android copied to clipboard

Would you mind to upload dynamic(.so) & static(.a) libraries also?

Open DastanIqbal opened this issue 7 years ago • 5 comments

I asked because when I am executing binary with cmds. Its working fine till, I am not closing screen. but when I press poweroff button, then process stopped suddenly. I was thinking may be I load .so file & execute cmd from JNI, then may be it will work. or may be you can fix poweroff process kill issue.

DastanIqbal avatar Jun 08 '18 08:06 DastanIqbal

Does the ffmpeg command stop when pausing the app/activity? This should not happen.

In Android developer settings, did you enable Don't keep activities. Destroy activity as soon as the user leaves it?

Brianvdb avatar Jun 08 '18 16:06 Brianvdb

Ya its working when phone is On, on Pause/Stop state. but when I turnoff screen, then its suddenly stopped .

Its disabled Don't keep activities. Destroy activity as soon as the user leaves it

Its happening on certain devices, Tested on these Asus T00J(4.4), Huawei P10 Plus (8.0)

DastanIqbal avatar Jun 11 '18 02:06 DastanIqbal

What if you run it in a foreground service?

Brianvdb avatar Jun 11 '18 08:06 Brianvdb

Ya I have tried service, bind service, thread, Async task, RxJava thread too. In all these cases its same, Let me know if anyting else I can try,

DastanIqbal avatar Jun 11 '18 10:06 DastanIqbal

only difference I found in other similar kind of app is they are using dynamic library & using JNI to call ffmpeg method,

and I tried to execute binary from JNI also, by generating .so file for calling & loading ffmpeg binary. but It didn't work.

DastanIqbal avatar Jun 11 '18 10:06 DastanIqbal