Commit a0aaf5abfcad729097045cd50facabd6c14d4a81
1 parent
3191d0c6
优化录像合并
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/top/panll/assist/service/FFmpegExecUtils.java
| @@ -121,7 +121,7 @@ public class FFmpegExecUtils implements InitializingBean{ | @@ -121,7 +121,7 @@ public class FFmpegExecUtils implements InitializingBean{ | ||
| 121 | .addExtraArgs("-threads", userSettings.getThreads() + "") | 121 | .addExtraArgs("-threads", userSettings.getThreads() + "") |
| 122 | .addOutput(recordFileResultPath) | 122 | .addOutput(recordFileResultPath) |
| 123 | .setVideoCodec("copy") | 123 | .setVideoCodec("copy") |
| 124 | - .setAudioCodec("copy") | 124 | + .setAudioCodec("aac") |
| 125 | .setFormat("mp4") | 125 | .setFormat("mp4") |
| 126 | .done(); | 126 | .done(); |
| 127 | 127 |