@@ -48,8 +48,10 @@ public class RtspToMP4 {
command.add("-y");
command.add("-i");
command.add(streamUrl);
- command.add("-c");
- command.add("copy");
+ command.add("-c:a");
+ command.add("aac");
+ command.add("-strict");
+ command.add("experimental");
command.add("-f");
command.add("mp4");
command.add(FilePath);
@@ -19,7 +19,7 @@ base:
dbname: vehicle #数据库名
#图片路径前缀
imgUrl: http://10.48.36.43:18801/picbucket
- ffmpegPath: /usr/local/ffmpeg/bin/ffmpeg
+ ffmpegPath: /usr/bin/ffmpeg
filePath: /opt/streams/record/flv/
webUrl: http://10.48.36.47:18812
bakUrl: http://10.48.36.47:18891