|
@@ -54,6 +54,7 @@ public class MaterialInfoServiceImpl extends ServiceImpl<MaterialInfoMapper, Mat
|
|
|
MaterialInfo materialInfo = this.getById(materialId);
|
|
|
MpsUtils mpsUtils = new MpsUtils();
|
|
|
String path = materialInfo.getUrl().substring(materialInfo.getUrl().indexOf("/",10)+1,materialInfo.getUrl().length());
|
|
|
+ System.out.println(path);
|
|
|
String jobId = mpsUtils.videoWaterMark(path,videoWatermarkTemplate.getTemplatePath(),videoWatermarkTemplate.getTemplateId(),videoWatermarkTemplate.getHeight());
|
|
|
QueryJobListResponse.Job job = mpsUtils.getJobStatus(jobId);
|
|
|
VideoWatermarkTask videoWatermarkTask = new VideoWatermarkTask();
|