Closed nicoyip closed 6 years ago
I am not understart what you want ,can u give me a example?
I would like to compress few video clips one by one and finally get a callback function.
try this:
Observable.concat(
GiraffeCompressor.create().input("video file1").bitRate(400*300).ready(),
GiraffeCompressor.create().input("video file2").bitRate(400*300).ready(),
GiraffeCompressor.create().input("video file3").bitRate(400*300).ready()
).observeOn(AndroidSchedulers.mainThread())
.subscribe(new Subscriber<GiraffeCompressor.Result>(){
@Override
public void onCompleted() {
}
@Override
public void onError(Throwable e) {
}
@Override
public void onNext(GiraffeCompressor.Result result) {
}
});
Thank you for your kind cooperation
how can i do this, thx