|
@@ -336,7 +336,8 @@ public class MaterialInfoServiceImpl extends ServiceImpl<MaterialInfoMapper, Mat
|
|
|
log.info("获取素材基本信息,code:{}", materialInfo.getCode());
|
|
|
if (!Check.isNull(materialInfo)) {
|
|
|
long l = System.currentTimeMillis();
|
|
|
- String url = materialInfo.getUrl().replace(replaceOldValue, replaceValue);
|
|
|
+ String videoUrl = materialInfo.getUrl();
|
|
|
+ String url = videoUrl.replace(replaceOldValue, replaceValue);
|
|
|
log.info("replaceUrl:{}", url);
|
|
|
String localUrl = null;
|
|
|
it.sauronsoftware.jave.MultimediaInfo m = null;
|
|
@@ -383,7 +384,7 @@ public class MaterialInfoServiceImpl extends ServiceImpl<MaterialInfoMapper, Mat
|
|
|
public void run() {
|
|
|
try {
|
|
|
log.info("开始抽帧");
|
|
|
- materialCutFrameService.getCutFrame(url, materialInfo.getCode(), secondDuration, height, width);
|
|
|
+ materialCutFrameService.getCutFrame(videoUrl, materialInfo.getCode(), secondDuration, height, width);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|