On 2/23/21 1:00 PM, Jonathan Ryshpan wrote:
On Tue, 2021-02-23 at 13:09 -0500, Tom Horsley wrote:
> I'm playing a video in firefox and want to capture the audio.
I've explained the details below about how to capture local audio, but
as Jack mentioned, it might be easier to download the source video and
extract the audio directly from that.
> There are a maze of web pages about audio capture, all
different.
> None of the ones I've tried work. They all give the impression they
> are capturing audio, but the resulting audio files are nothing
> but silence.
>
> Has anyone successfully captured audio from firefox on fedora 33?
Assuming you run PulseAudio, the tools that you want are Pavucontrol
and Audacity. Pavucontrol controls the paths through which sound moves
in the PulseAudio system. Audacity records it. Both are pretty
intuitive. When you start Firefox it will show up as a source in
Pavucontrol, similarly Audacity will show up as a sink.
In audacity, click the record monitor so it opens a connection. Then in
pavucontrol, go to the recording tab. Beside the entry for audacity
will be a dropdown. The actual text depends on your audio device, but
you want to select the "monitor of" entry. If you have something
playing, you should see the volume monitor bar moving.