Created
October 19, 2021 17:41
-
-
Save Riebart/94c3b8e20a534305669b3eb4351fe0db to your computer and use it in GitHub Desktop.
ffmpeg Record multichannel audio from multiple sources to a single file
This file contains 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
#!/bin/bash | |
# get device names from: ffmpeg -list_devices true -f dshow -i dummy | |
ffmpeg \ | |
-f dshow -ac 1 -i audio="Audio Input Device A" \ | |
-f dshow -ac 1 -i audio="Audio Input Device B" \ | |
-ac 2 -filter_complex "[0:a][1:a]amerge[outA]" -map "[outA]:a" multitrack_out.wav |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment