|
@@ -745,8 +745,8 @@ ffmpeg -i "concat:1.ts|2.ts" -c copy output.mp4
|
|
|
* RTSP流下载
|
|
|
*/
|
|
|
public static void streamUrlDownload(String url, String code) {
|
|
|
- log.info(ffmpegPath + " -i " + url + " -c copy /opt/streams/map/" + code);
|
|
|
- cUtil.cmd(ffmpegPath + " -i " + url + " -c copy /opt/streams/map/" + code);
|
|
|
+ log.info(ffmpegPath + " -i " + url + " -c copy /opt/streams/map/" + code+".mp4");
|
|
|
+ cUtil.cmd(ffmpegPath + " -i " + url + " -c copy /opt/streams/map/" + code+".mp4");
|
|
|
}
|
|
|
|
|
|
|