Last active
May 14, 2019 09:25
-
-
Save klanjabrik/900d9261397ae9989a23e7b7bd84815f to your computer and use it in GitHub Desktop.
Merge multi webm (audio) with FFMPEG
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 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