Created
August 18, 2016 00:10
-
-
Save ali5h/0541913b220ca09571102a8cd165916c to your computer and use it in GitHub Desktop.
record audio in osx using 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
#!/bin/bash | |
OUT=${1-output.aac} | |
ffmpeg -f avfoundation -ac 2 -i :0 -c:a aac -ab 96k $OUT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment