How to record PC sound to a file with ffmpeg and Pulseaudio.

Recording sound from your computer to a file is pretty easy with Pulseaudio. Assuming you know what device you are using to listen to audio, then it may be selected and recorded from. Use this command to find the device name. ~$ pacmd list-sources~$ pacmd list-sources Then you may get the device string. alsa_output.usb-Cosair_Corsair_VOID_PRO_Surround_USB_Adapter_00000000-00.analog-stereo.monitoralsa_output.usb-Cosair_Corsair_VOID_PRO_Surround_USB_Adapter_00000000-00.analog-stereo.monitor Make … Read more