[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to record sound being played using arecord




On 10/2/21 9:38 AM, Dan Ritter wrote:
Yes, you want to read 

https://dt.iki.fi/record-system-output-alsa

for an example.

-dsr-


to Dan:

it's not easy to follow instruction at https://dt.iki.fi/record-system-output-alsa

after running "modprobe snd-aloop", i can hear sound being played

no wonder i can hear nothing from recording


to Michael:

why shall i need OSS compatibility module if alsa works?
after loading them, they don't help, i can't hear anything from recording


ffmpeg -f alsa -i hw:1,1 -c:a flac output.flac

command above is from https://dt.iki.fi/record-system-output-alsa
i use it to record, i can't hear anything from recording

~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7
card 1: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7


Reply to: