Open msroid opened 5 years ago
Nobody knows?!
ffmpeg.execute(command1, new ExecuteBinaryResponseHandler() {
@Override
public void onSuccess(String s) {
ffmpeg.execute(command2, new ExecuteBinaryResponseHandler() {
@Override
public void onSuccess(String s) {
//finished command 2
}
});
}
});
Like this.
Thanks for your help, I did exactly what you said but I got an error:
Unable to find a suitable output format for '&&'
as you see in the example the first command ends with: "/dev/null && \"
but in android it doesn't know "&&" as an argument!
@msroid This is how you can use two-pass encoding #129
According to documentation for using this method we have to run ffmpeg twice like this:
Example:
But I don't know how to run ffmpeg twice in android!