Skip to content

Instantly share code, notes, and snippets.

@szydan
Created January 7, 2023 13:00
Show Gist options
  • Save szydan/26189ab8bff0d3a873b2d8a1d4a96007 to your computer and use it in GitHub Desktop.
Save szydan/26189ab8bff0d3a873b2d8a1d4a96007 to your computer and use it in GitHub Desktop.
record voice with ffmpeg and blackhole audio driver
# Get input channel number for BlackHole device
ffmpeg -f avfoundation -list_devices true -i ""
# Record 2 seconds from i.e. input channel 0
ffmpeg -loglevel debug -f avfoundation -i :0 -t 2 test.mp3
https://github.com/ExistentialAudio/BlackHole
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment