Use Windows ffmpeg to record audio output without using StereoMix

I am looking for a way to record audio output (speakers) using windows ffmpeg. I need to do this WITHOUT installing any additional dshow filters and without enabling the StereoMix input (as this is not possible on many computers).

I read in the ffmpeg documentation that -map will redirect the audio output so that ffmpeg treats it as audio input, but I can't find any example on how to do this.

On Linux, I managed to do it like this:

ffmpeg -f pulse -ac 2 -ar 44100 -i alsa_output.pci-0000_00_1f.4.analog-stereo.monitor -f pulse -ac 2 -ar 44100 -i alsa_input.pci-0000_00_1f.4.analog-stereo -filter_complex amix=inputs=2 test.mp4

      

However, I cannot find a similar way to do this on Windows and MacOSX.

So, is it possible with ffmpeg Windows to record audio from speakers without additional dshow filters (out of the box)? The same question applies to MacOSX.

Thank!

+3


source to share





All Articles