tanersener / react-native-ffmpeg

FFmpeg for react-native. Not maintained anymore. Superseded by FFmpegKit.
GNU General Public License v3.0
400 stars 51 forks source link

Working only on debug mode in Android #257

Closed shahanshah87 closed 3 years ago

shahanshah87 commented 3 years ago

Description I am using full-gpl and command is -y -i ${inputVideo} -c:v libx264 -crf 28 -preset ultrafast ${finalVideo}

Expected behavior It should also work in development mode(while debug is not on) and release mode in Android.

Current behavior Working only on development(while debug is on)

Environment

shahanshah87 commented 3 years ago

@tanersener @DaleWebb please help as I need this to be fixed asap. Please help if you get time.

DaleWebb commented 3 years ago

@tanersener @DaleWebb please help as I need this to be fixed asap. Please help if you get time.

Hello,

I don't work on this project.

Given the number of open issues without response from the maintainer and lack of recent commits, this project looks abandoned and it seems unlikely that this issue will be resolved.

I'd advise either:

tanersener commented 3 years ago

This project is maintained. I read all the messages. Unfortunately, I don't have time to respond to all of them. I'm mostly responding to critical issues about the library.

We also have some rules in place, see #62. It is pinned at the top. Issues that don't follow that guideline are ignored as it is said in it.

If you have an urgent issue see the sponsorship options. I helped a lot of people who reached out to me through them.

Regarding this issue, it was reported many times before and it was fixed. So, if you use the search option you can find the solution in the previous issues. Additionally, the solution is added to the Tips as well.

k1195453766 commented 3 years ago

I also encountered this problem. Has it been solved?

zchwyng commented 3 years ago

I initially had the same problem. Not entirely sure what solved it, but I added write permissions to the Android manifest, and copied the temp file to the OS temp dir. Hope it helps!

k1195453766 commented 3 years ago

my project is solved; modify file:android/app/build.gradle => def enableProguardInReleaseBuilds = false

tanersener commented 3 years ago

I suggest reading all messages in this thread. The solution was already given. Disabling proguard is just a workaround.