Last active
January 16, 2021 21:23
-
-
Save AndreVallestero/33ec912eb8dcdcf507a2639a846b0302 to your computer and use it in GitHub Desktop.
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
@echo off | |
REM Install Virtual Audio Cable https://vb-audio.com/Cable/ | |
REM Enable go to VAC recording device and enable listening on default playback device | |
REM Have anything you want recorded set to output to VAC Input (playback device) | |
REM To find out your microphone device name use the following: | |
REM ffmpeg -list_devices true -f dshow -i dummy | |
set microphone="Microphone (Yeti Stereo Microphone)" | |
echo Press q to stop | |
ffmpeg -v 0 -stats ^ | |
-f dshow -i audio=%microphone% ^ | |
-f dshow -i audio="CABLE Output (VB-Audio Virtual Cable)" ^ | |
-filter_complex amix=inputs=2:duration=longest ^ | |
-rtbufsize 128M -c:a libopus -vbr on -b:a 32k -ac 1 -vn -sn ^ | |
%date%-%time:~0,2%-%time:~3,2%-%time:~6,2%.opus | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment