From 66e3396bf287e9ff1b9cc16f92568e7352edfff2 Mon Sep 17 00:00:00 2001 From: mattmcw Date: Sun, 9 May 2021 10:46:43 -0400 Subject: [PATCH] Fix audiovideo by re-encoding (try on mac) --- ffmpeg/audio/audiovideo.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ffmpeg/audio/audiovideo.sh b/ffmpeg/audio/audiovideo.sh index 43b2667..00cf17c 100644 --- a/ffmpeg/audio/audiovideo.sh +++ b/ffmpeg/audio/audiovideo.sh @@ -21,8 +21,10 @@ fi ffmpeg -i "${VIDEO}" \ -i "${AUDIO}" \ - -c copy \ -map 0:v:0 \ -map 1:a:0 \ + -c:a aac \ + -c:v libx264 \ + -crf 22 \ -shortest \ "${OUTPUT}" \ No newline at end of file