|
@@ -249,8 +249,9 @@ public class EtlServiceImpl implements EtlService {
|
|
|
String auditPath = urlDownload(data.getAudioUrl(), "longvideo/crawler_local/audit", title);
|
|
|
VideoUtils.videoCompose(ffmpegPath, downloadPath + File.separator + videoPath,
|
|
|
downloadPath + File.separator + auditPath, downloadPath + File.separator + videoPath + "_comp.mp4");
|
|
|
- // 清理未合成音频的视频文件
|
|
|
+ // 清理合成音频之前的文件
|
|
|
Files.deleteIfExists(Paths.get(new File(downloadPath + File.separator + videoPath).getPath()));
|
|
|
+ Files.deleteIfExists(Paths.get(new File(downloadPath + File.separator + auditPath).getPath()));
|
|
|
videoPath += "_comp.mp4";
|
|
|
}
|
|
|
|