|
@@ -245,7 +245,6 @@ public class CameraUtil {
|
|
|
ffmpeg -f concat -i mylist.txt -c copy output.flv
|
|
|
* */
|
|
|
|
|
|
- List<String> rspList = new ArrayList<String>();
|
|
|
File file = new File(newfilePath);
|
|
|
boolean flay = false;
|
|
|
if (!file.getParentFile().exists()) {
|
|
@@ -309,11 +308,9 @@ public class CameraUtil {
|
|
|
out.println("exit");// 这个命令必须执行,否则in流不结束。
|
|
|
String rspLine = "";
|
|
|
while ((rspLine = in.readLine()) != null) {
|
|
|
- System.out.println(rspLine);
|
|
|
- rspList.add(rspLine);
|
|
|
+ log.info("*****", rspLine);
|
|
|
}
|
|
|
int i = proc.waitFor();
|
|
|
- log.info("执行结果:{}", i);
|
|
|
//删除生成的ts文件
|
|
|
File file1 = new File(substring);
|
|
|
if (file1.exists()) {
|
|
@@ -326,7 +323,6 @@ public class CameraUtil {
|
|
|
out.close();
|
|
|
proc.destroy();
|
|
|
}
|
|
|
- log.info("返回结果:{}", rspList);
|
|
|
}
|
|
|
|
|
|
|