历史视频分段下载及合并
This commit is contained in:
parent
c51d353e21
commit
b955abc852
@ -146,7 +146,9 @@ public class VideoCacheManager {
|
||||
try(FileWriter fileWriter = new FileWriter(concatFile)){
|
||||
for (CompletableFuture<JsonResponse<String>> result : completableFutures) {
|
||||
String splitFilePath = result.get().getData();
|
||||
fileWriter.write(String.format("file \"%s\"\n", splitFilePath));
|
||||
String config = String.format("file '%s'\n", splitFilePath);
|
||||
fileWriter.write(config);
|
||||
log.debug("{}", config);
|
||||
}
|
||||
}
|
||||
log.info("生成临时合并配置文件 {}", concatFile.getAbsolutePath());
|
||||
|
Loading…
Reference in New Issue
Block a user