Record what you hear with pulseaudio attachment
Last update
2019-07-22
2019-07-22
« — »
1 2 3 4 5 6 7 8 | # identify your speakers monitor pacmd list-sources | grep "name.*monitor" # record audio to RAW WAV file parec --format=s24le -d alsa_output.pci-xxxx_yy_zz.w.analog-stereo.monitor raw.wav # encode output with opus opusenc --raw --raw-bits 24 --raw-rate 44100 --bitrate 24 raw.wav out.opus |
See attached script for a pipe-file solution that integrates above commands.
Source: askubuntu.com