-
-
Save Bioblaze/a902819d7727937f96c7de78a5c2424d to your computer and use it in GitHub Desktop.
Quick one-liner to merge audio narration with a video
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i narration.mp3 -i original.mp4 -filter_complex "[0:a][1:a]amerge,pan=stereo|c0<c0+c2|c1<c1+c3[a]" -map 1:v -map "[a]" -c:v copy -c:a aac -shortest output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment