ehlxr 1 éve
szülő
commit
725f2f1c20

+ 2 - 1
etl-core/src/main/java/com/tzld/crawler/etl/service/impl/EtlServiceImpl.java

@@ -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";
         }