VideoCompress
use jitpack with media-for-mobile
RxCompress.Compress(FileUri, outFile, outHeight, outWidth, rateInKib)
.subscribe(new Subscriber<Double>() {
@Override
public void onCompleted() {
// todo
}
@Override
public void onError(Throwable e) {
// todo
}
@Override
public void onNext(Double progress) {
// todo
}
read javadoc in jitpack