windows – Using FFmpeg to Record Both Microphone and Earphone Audio

I’m using the following command to record my desktop and audio:

ffmpeg -f gdigrab -i desktop -f dshow -i audio="Microphone (Logitech USB Headset)" output.mp4

It records video and sound, the problem is, it only records what I say on the microphone. I can’t hear what the other people are saying. I’m using a Logitech headset.

If enter the following command:

ffmpeg -list_devices true -f dshow -i dummy

I get:

[dshow @ 00000284ae431d00] “Microphone (Logitech USB Headset)” (audio)

[dshow @ 00000284ae431d00] “Stereo Mix (Realtek(R) Audio)” (audio)

What can I do to record both my microphone AND earphone audio? I also tried setting “Stereo Mix (Realtek(R) Audio)” as my input but no audio is recorded.

Read more here: Source link