91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 38.13M
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2020-12-22
  • 語言: Java
  • 標簽: 視頻??d??sd??編輯??sdk??

資源簡介

【實例簡介】

包含視頻編輯,剪輯,濾鏡,添加文字,Logo

【核心代碼】

if(videoUrl != null && !"".equals(videoUrl)){
EpVideo epVideo = new EpVideo(videoUrl);
if(cb_clip.isChecked())
epVideo.clip(Float.parseFloat(et_clip_start.getText().toString().trim()),Float.parseFloat(et_clip_end.getText().toString().trim()));
if(cb_crop.isChecked())
epVideo.crop(Integer.parseInt(et_crop_w.getText().toString().trim()),Integer.parseInt(et_crop_h.getText().toString().trim()),Integer.parseInt(et_crop_x.getText().toString().trim()),Integer.parseInt(et_crop_y.getText().toString().trim()));
if(cb_rotation.isChecked())
epVideo.rotation(Integer.parseInt(et_rotation.getText().toString().trim()),cb_mirror.isChecked());
if(cb_text.isChecked())
epVideo.addText(Integer.parseInt(et_text_x.getText().toString().trim()),Integer.parseInt(et_text_y.getText().toString().trim()),30,"red",MyApplication.getSavePath() "msyh.ttf",et_text.getText().toString().trim());
mProgressDialog.show();
new EpEditor(this).exec(epVideo, new EpEditor.OutputOption(MyApplication.getSavePath() "out.mp4"), new OnEditorListener() {
@Override
public void onSuccess() {
Toast.makeText(EditActivity.this, "編輯完成", Toast.LENGTH_SHORT).show();
mProgressDialog.dismiss();
}

@Override
public void onFailure() {
Toast.makeText(EditActivity.this, "編輯失敗", Toast.LENGTH_SHORT).show();
mProgressDialog.dismiss();
}

@Override
public void onProgress(float v) {
mProgressDialog.setProgress((int) (v * 100));
}
});

資源截圖

代碼片段和文件信息

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄????????????0??2017-09-11?14:08??EpMediaDemo-master\
?????文件??????????118??2017-08-31?16:36??EpMediaDemo-master\.gitignore
?????目錄????????????0??2017-09-11?14:07??EpMediaDemo-master\.gradle\
?????目錄????????????0??2017-09-11?14:15??EpMediaDemo-master\.gradle\3.3\
?????目錄????????????0??2017-09-11?14:14??EpMediaDemo-master\.gradle\3.3\taskArtifacts\
?????文件???????270569??2017-09-13?14:44??EpMediaDemo-master\.gradle\3.3\taskArtifacts\fileHashes.bin
?????文件??????1967095??2017-09-13?14:44??EpMediaDemo-master\.gradle\3.3\taskArtifacts\fileSnapshots.bin
?????文件????????85263??2017-09-13?14:44??EpMediaDemo-master\.gradle\3.3\taskArtifacts\taskArtifacts.bin
?????文件???????????17??2017-09-13?15:05??EpMediaDemo-master\.gradle\3.3\taskArtifacts\taskArtifacts.lock
?????目錄????????????0??2017-09-11?14:15??EpMediaDemo-master\.gradle\3.3\tasks\
?????目錄????????????0??2017-09-11?14:15??EpMediaDemo-master\.gradle\3.3\tasks\_app_compileDebugJavaWithJavac\
?????目錄????????????0??2017-09-11?14:15??EpMediaDemo-master\.gradle\3.3\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\
?????文件????????27558??2017-09-11?14:15??EpMediaDemo-master\.gradle\3.3\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.bin
?????文件???????????17??2017-09-11?14:15??EpMediaDemo-master\.gradle\3.3\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.lock
?????目錄????????????0??2017-09-11?14:15??EpMediaDemo-master\.gradle\3.3\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\
?????文件????????20192??2017-09-11?14:15??EpMediaDemo-master\.gradle\3.3\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.bin
?????文件???????????17??2017-09-11?14:15??EpMediaDemo-master\.gradle\3.3\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.lock
?????目錄????????????0??2017-09-13?15:17??EpMediaDemo-master\.idea\
?????文件??????????686??2017-09-11?14:07??EpMediaDemo-master\.idea\compiler.xml
?????目錄????????????0??2017-09-11?14:07??EpMediaDemo-master\.idea\copyright\
?????文件???????????76??2017-09-11?14:07??EpMediaDemo-master\.idea\copyright\profiles_settings.xml
?????文件??????????626??2017-09-11?14:07??EpMediaDemo-master\.idea\gradle.xml
?????目錄????????????0??2017-09-12?17:56??EpMediaDemo-master\.idea\libraries\
?????文件??????????637??2017-09-11?14:08??EpMediaDemo-master\.idea\libraries\animated_vector_drawable_25_1_0.xml
?????文件??????????601??2017-09-11?14:08??EpMediaDemo-master\.idea\libraries\appcompat_v7_25_1_0.xml
?????文件??????????410??2017-09-11?14:08??EpMediaDemo-master\.idea\libraries\constraint_layout_1_0_2.xml
?????文件??????????373??2017-09-11?14:08??EpMediaDemo-master\.idea\libraries\constraint_layout_solver_1_0_2.xml
?????文件??????????399??2017-09-12?17:56??EpMediaDemo-master\.idea\libraries\EpMedia_v0_7.xml
?????文件??????????526??2017-09-11?14:08??EpMediaDemo-master\.idea\libraries\hamcrest_core_1_3.xml
?????文件??????????477??2017-09-11?14:08??EpMediaDemo-master\.idea\libraries\junit_4_12.xml
?????文件??????????567??2017-09-11?14:08??EpMediaDemo-master\.idea\libraries\support_annotations_25_1_0.xml
............此處省略3105個文件信息

評論

共有 條評論