Skip to content

Instantly share code, notes, and snippets.

@wett1988
Last active September 8, 2021 17:50
Show Gist options
  • Save wett1988/3c229381fdb2fd67bbb2567ddc2e19db to your computer and use it in GitHub Desktop.
Save wett1988/3c229381fdb2fd67bbb2567ddc2e19db to your computer and use it in GitHub Desktop.
Merge video and audio together with ffmpeg
ffmpeg -i "video.mp4" -i "audio.mp3" -c:v copy -c:a aac -map 0:v:0 -map 1:a:0 "output.mp4"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment