On Thursday, 19 September 2019 03:45:59 BST Adam Carter wrote: > On Thu, Sep 19, 2019 at 9:58 AM Walter Dnes <[email protected]> wrote: > > On Wed, Sep 18, 2019 at 09:14:44PM +0100, Mick wrote > > > > > Yes, you only have one card 0. The first device (default) is the > > > > analogue. > > > > > What does 'arecord -l' show? > > > > **** List of CAPTURE Hardware Devices **** > > card 0: PCH [HDA Intel PCH], device 0: CX20641 Analog [CX20641 Analog] > > > > Subdevices: 1/1 > > Subdevice #0: subdevice #0 > > > > card 0: PCH [HDA Intel PCH], device 2: CX20641 Alt Analog [CX20641 Alt > > Analog] > > > > Subdevices: 1/1 > > Subdevice #0: subdevice #0 > > > > I don't run "desktop environments"; I run useful applications > > I think for what you are trying to do, the capture devices/mic are not > relevant - there will be no signal on them. The playback device have the > signal, and ffmpeg needs to capture of those signals. > > > -i hw:0,1 > > > > or > > > > -i hw:0,0,1 > > Both fail with No such file or directory. > > FWIW audacity has a drop down list of the output devices, and on my system > they're all shown as hw:X,Y. There's no hw:X or hw:X,Y,Z. I also notice > that the same hw:X,Y is used for both an playback and capture device, so i > guess that means that '-i hw:0.1' is using the hw:0,1 capture device, which > for you has no signal, and therefore ffmpeg doesnt capture anything. > > Hopefully there's some way to capture the output digitally, but if not, a > cable connecting the analogue out to the analogue in should work.
I'm sorry - I had misunderstood the original requirement! I thought Walter wanted to capture the whole desktop (not a single application window within it) and record voice along with it - not the sound of the application. The command shown does that - records a screencast of the desktop and voice from the microphone. Having read the first email to the list once more, I can confirm the ffmpeg command will work, but only with the audio loopback configured. It should also work nicely with jackd - which along with qjackctl would be my preference. https://qjackctl.sourceforge.io/qjackctl-index.html -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.

