视频保存正常

兰州-麒麟
LAPTOP-S9HJSOEB\昊天 1 year ago
parent 35427e6d22
commit 82e4f55d48

@ -23,7 +23,7 @@ public class Encryptor {
public static void main(String[] args) public static void main(String[] args)
{ {
String noEncrypt = "BFEBFBFF000B06710025_38BC_21C3_A29D."; String noEncrypt = "BFEBFBFF000906EAWD-WXA2D632LLYX";
String encrypt = Encryptor.encryptStr(noEncrypt); String encrypt = Encryptor.encryptStr(noEncrypt);
System.out.println(encrypt); System.out.println(encrypt);
} }

@ -357,9 +357,9 @@ public class HikCameraControlModuleImpl implements CameraControlModule {
log.info("download over,cameraId:{}",cameraId); log.info("download over,cameraId:{}",cameraId);
String ffmpegFile = path+"ffmpeg.mp4"; String ffmpegFile = path+"ffmpeg.mp4";
convetor(path,ffmpegFile); convetor(path,ffmpegFile);
//PathUtil.deleteFile(path); PathUtil.deleteFile(path);
File file = new File(ffmpegFile); File file = new File(ffmpegFile);
//file.renameTo(new File(path)); file.renameTo(new File(path));
}else { }else {
log.debug("cameraId:{},progress:{}",cameraId,nPos.getValue()); log.debug("cameraId:{},progress:{}",cameraId,nPos.getValue());
} }

Loading…
Cancel
Save