Open jiajv opened 2 years ago
机型 小米4 lte 安卓 6.01 miui 9.8.4.28 代码如下: VideoProcessor.processor(mContext.getApplicationContext()) .input(lp.getPath()) .output(dest.getAbsolutePath()) .outWidth(576) .outHeight(720) .frameRate(24) .bitrate(15361024)//1.5m .progressListener(new VideoProgressListener() { @Override public void onProgress(float progress) { Log.i(TAG, "选取视频文件 压缩中 progress=" + progress100+"%");
} }) .process();
机型 小米4 lte 安卓 6.01 miui 9.8.4.28 代码如下: VideoProcessor.processor(mContext.getApplicationContext()) .input(lp.getPath()) .output(dest.getAbsolutePath()) .outWidth(576) .outHeight(720) .frameRate(24) .bitrate(15361024)//1.5m .progressListener(new VideoProgressListener() { @Override public void onProgress(float progress) { Log.i(TAG, "选取视频文件 压缩中 progress=" + progress100+"%");