Skip to content

Instantly share code, notes, and snippets.

@cskonopka
Last active April 17, 2019 21:10
Show Gist options
  • Save cskonopka/4969e87f0defadfe711f5a4471243a23 to your computer and use it in GitHub Desktop.
Save cskonopka/4969e87f0defadfe711f5a4471243a23 to your computer and use it in GitHub Desktop.
ffmpeg: Overlay 2 audio files
#!/bin/bash
ffmpeg -y -i FILE1 -i FILE2 -filter_complex "[0:0][1:0] amix=inputs=2:duration=longest" -c:a libmp3lame OUTPUTFILE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment