|
@@ -695,6 +695,7 @@ ffmpeg -i "concat:1.ts|2.ts" -c copy output.mp4
|
|
|
if (StringUtils.isBlank(channel)
|
|
|
|| ObjectUtils.isEmpty(startTm)
|
|
|
|| ObjectUtils.isEmpty(endTm)) {
|
|
|
+ log.info("channel-----"+channel+"----startTm"+startTm+"-----endTm"+endTm);
|
|
|
return null;
|
|
|
}
|
|
|
Map<Date, Map<String, Object>> m = new HashMap<>();
|
|
@@ -706,9 +707,11 @@ ffmpeg -i "concat:1.ts|2.ts" -c copy output.mp4
|
|
|
// /api/record/flv/list
|
|
|
String s = HttpUtils.sendGet(webUrl + "/recordpro/api/list", param);
|
|
|
// 视频拼接
|
|
|
+ log.info("视频拼接s-----"+s);
|
|
|
if (!StringUtils.isBlank(s) || "null".equals(s)) {
|
|
|
List<Map<String, Object>> maps = JSON.parseArray(s, Map.class);
|
|
|
if (ObjectUtils.isEmpty(maps)) {
|
|
|
+ log.info("maps-----"+maps);
|
|
|
return null;
|
|
|
}
|
|
|
for (Map<String, Object> map : maps) {
|