-
Notifications
You must be signed in to change notification settings - Fork 34
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
how to get Progress while compressing a Video File #26
Comments
@3llomi how did you managed to compress a video? |
@FranciscoNin this is the best result i got after many attempts to get best Quality with minimum Size String compressParam = " -b 6507k ";
final VideoKit videoKit = new VideoKit();
final Command command = videoKit.createCommand()
.overwriteOutput()
.inputPath(input)
.outputPath(output)
.customCommand(compressParam)
.experimentalFlag()
.build(); |
Great! Really helped me there. And you managed to find a way to get the progress? I was trying to get some kind of listener when it's finished compressing. |
until now i did not figure out how to get the progress :( new AsyncCommandExecutor(command, new ProcessingListener() {
@Override
public void onSuccess(String path) {
}
@Override
public void onFailure(int returnCode) {
}
}).execute(); |
Hi @3llomi I am using your compress parameter |
@alexzhaobin take a look at this |
Hi 3llomi any update on onProgress ? I need it desperately to show progress bar. |
is there any way to get a Progress while compressing the Video using AsyncCommandExecutor?
The text was updated successfully, but these errors were encountered: