Fix audiovideo by re-encoding (try on mac)

This commit is contained in:
Matt McWilliams 2021-05-09 10:46:43 -04:00
parent 830300df3c
commit 66e3396bf2
1 changed files with 3 additions and 1 deletions

View File

@ -21,8 +21,10 @@ fi
ffmpeg -i "${VIDEO}" \ ffmpeg -i "${VIDEO}" \
-i "${AUDIO}" \ -i "${AUDIO}" \
-c copy \
-map 0:v:0 \ -map 0:v:0 \
-map 1:a:0 \ -map 1:a:0 \
-c:a aac \
-c:v libx264 \
-crf 22 \
-shortest \ -shortest \
"${OUTPUT}" "${OUTPUT}"