Skip to content

Instantly share code, notes, and snippets.

@klanjabrik

klanjabrik/merge.sh

Last active May 14, 2019
Embed
What would you like to do?
Merge multi webm (audio) with FFMPEG
ffmpeg \
-i input1.webm \
-i https://somewhere.com/input2.webm \
-filter_complex "[0:a][1:a]concat=n=2:v=0:a=1[aout]" -map "[aout]" \
-c:a libvorbis -strict experimental \
output.webm
# Notes: [0:a][1:a] and concat=n=2 is depending on number of inputs (-i)
# you can use libvorbis or libopus as codec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.