2
2
I am trying to record what's playing on my soundcard in Windows 8.1
I ran the following to determine what devices I have:
ffmpeg -list_devices true -f dshow -i dummy
The output listed:
DirectShow video devices (some may be both video and audio devices)
"Built-in iSight"
DirectShow audio devices
"Microphone (Cirrus Logic CS4206A (AB 71))"
"Digital Audio (S/PDIF) (Cirrus Logic CS4206A (AB 71))"
From this I am assuming that Digital Audio (S/PDIF) (Cirrus Logic CS4206A (AB 71))
is my one and only output soundcard.
So I put on some random youtube video with sound and run the following to record an mp3 for duration of 10 seconds.
ffmpeg -f dshow -i audio="Digital Audio (S/PDIF) (Cirrus Logic CS4206A (AB 71))" -acodec libmp3lame -t 10 out.mp3
It does record a 10 second clip but its silent.
When I look at playback devices, I see that the device through which audio is actually playing is Speakers
, not Digital Audio (S/PDIF)
.
I tried replacing Digital Audio (S/PDIF)
with Speakers
in the ffmpeg command line, but it obviously couldn't recognize the device.
I've seen in a similar question, that people suggested "Stereo Mix" - I do not see it on my computer at all. Downloading the latest drivers didn't add it to the list of devices.
So what am I missing? How can I record the audio off my sound card
1
either stereo mix (doesn't exist typically in windows > XP) or some type of virtual audio capturer like https://github.com/rdp/virtual-audio-capture-grabber-device or VAC or VB net or what not
– rogerdpack – 2015-11-03T22:05:44.100@rogerdpack Thank you for the advice. I grabbed the github package and was recording in no time. – AngryHacker – 2015-11-04T16:41:22.680