|
@@ -1042,7 +1042,7 @@ ffmpeg -i "concat:1.ts|2.ts" -c copy output.mp4
|
|
|
String FilePath = "/opt/streams/map/"+code+".mp4";
|
|
|
// String FilePath = "/opt/streams/map/01ea43e6676f4e47bd6c5cd9e02aa006.mp4";
|
|
|
// try {
|
|
|
-// TimeUnit.SECONDS.sleep(62*Integer.valueOf(alarmPlayTimeValue));
|
|
|
+// TimeUnit.SECONDS.sleep(62*Integer.parseInt(alarmPlayTimeValue));
|
|
|
// } catch (InterruptedException e) {
|
|
|
// e.printStackTrace();
|
|
|
// }
|
|
@@ -1052,7 +1052,7 @@ ffmpeg -i "concat:1.ts|2.ts" -c copy output.mp4
|
|
|
map.put(code, process);
|
|
|
}
|
|
|
try {
|
|
|
- TimeUnit.SECONDS.sleep(120);
|
|
|
+ TimeUnit.SECONDS.sleep(70*Integer.parseInt(alarmPlayTimeValue));
|
|
|
} catch (InterruptedException e) {
|
|
|
e.printStackTrace();
|
|
|
}
|