|
@@ -546,7 +546,7 @@ public class MaterialInfoServiceImpl extends ServiceImpl<MaterialInfoMapper, Mat
|
|
String loadImage = "cutFrame/" + code + "/zero.jpg";
|
|
String loadImage = "cutFrame/" + code + "/zero.jpg";
|
|
String coverUrl = CloudVideoProcessUtil.videoCutPictureHandle(videoUrl, loadImage);
|
|
String coverUrl = CloudVideoProcessUtil.videoCutPictureHandle(videoUrl, loadImage);
|
|
info.setCoverUrl(coverUrl);
|
|
info.setCoverUrl(coverUrl);
|
|
- Thread thread = new Thread() {
|
|
|
|
|
|
+ /* Thread thread = new Thread() {
|
|
@Override
|
|
@Override
|
|
public void run() {
|
|
public void run() {
|
|
try {
|
|
try {
|
|
@@ -557,7 +557,7 @@ public class MaterialInfoServiceImpl extends ServiceImpl<MaterialInfoMapper, Mat
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|
|
- thread.start();
|
|
|
|
|
|
+ thread.start();*/
|
|
} else {
|
|
} else {
|
|
info.setCoverUrl(cutFrame.getUrl());
|
|
info.setCoverUrl(cutFrame.getUrl());
|
|
}
|
|
}
|
|
@@ -719,7 +719,7 @@ public class MaterialInfoServiceImpl extends ServiceImpl<MaterialInfoMapper, Mat
|
|
String loadImage = "cutFrame/" + code + "/zero.jpg";
|
|
String loadImage = "cutFrame/" + code + "/zero.jpg";
|
|
String coverUrl = CloudVideoProcessUtil.videoCutPictureHandle(videoUrl, loadImage);
|
|
String coverUrl = CloudVideoProcessUtil.videoCutPictureHandle(videoUrl, loadImage);
|
|
info.setCoverUrl(coverUrl);
|
|
info.setCoverUrl(coverUrl);
|
|
- Thread thread = new Thread() {
|
|
|
|
|
|
+ /* Thread thread = new Thread() {
|
|
@Override
|
|
@Override
|
|
public void run() {
|
|
public void run() {
|
|
try {
|
|
try {
|
|
@@ -730,7 +730,7 @@ public class MaterialInfoServiceImpl extends ServiceImpl<MaterialInfoMapper, Mat
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|
|
- thread.start();
|
|
|
|
|
|
+ thread.start();*/
|
|
} else {
|
|
} else {
|
|
info.setCoverUrl(cutFrame.getUrl());
|
|
info.setCoverUrl(cutFrame.getUrl());
|
|
}
|
|
}
|
|
@@ -841,7 +841,7 @@ public class MaterialInfoServiceImpl extends ServiceImpl<MaterialInfoMapper, Mat
|
|
String loadImage = "cutFrame/" + code + "/zero.jpg";
|
|
String loadImage = "cutFrame/" + code + "/zero.jpg";
|
|
String coverUrl = CloudVideoProcessUtil.videoCutPictureHandle(videoUrl, loadImage);
|
|
String coverUrl = CloudVideoProcessUtil.videoCutPictureHandle(videoUrl, loadImage);
|
|
info.setCoverUrl(coverUrl);
|
|
info.setCoverUrl(coverUrl);
|
|
- Thread thread = new Thread() {
|
|
|
|
|
|
+ /* Thread thread = new Thread() {
|
|
@Override
|
|
@Override
|
|
public void run() {
|
|
public void run() {
|
|
try {
|
|
try {
|
|
@@ -852,7 +852,7 @@ public class MaterialInfoServiceImpl extends ServiceImpl<MaterialInfoMapper, Mat
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|
|
- thread.start();
|
|
|
|
|
|
+ thread.start();*/
|
|
} else {
|
|
} else {
|
|
info.setCoverUrl(cutFrame.getUrl());
|
|
info.setCoverUrl(cutFrame.getUrl());
|
|
}
|
|
}
|