Skip to content

Instantly share code, notes, and snippets.

@Bioblaze
Forked from rileyjshaw/ffmpeg-add-voiceover.sh
Created June 26, 2020 05:25
Show Gist options
  • Save Bioblaze/a902819d7727937f96c7de78a5c2424d to your computer and use it in GitHub Desktop.
Save Bioblaze/a902819d7727937f96c7de78a5c2424d to your computer and use it in GitHub Desktop.
Quick one-liner to merge audio narration with a video
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