Further to this discussion...
I'm watching a streaming video with sound in Firefox (try this with any YouTube video.. but it can be any number of flash-based streams)... and I can see the video Ok and hear the audio Ok.
Using a derivative of the original script ffmpeg command (and I want to be able to use just ffmpeg for this job), I can capture the video but I can't capture the audio. All that is contained in the audio output stream is silence.
The modified command (to simply try and grab the audio):
Code: Select all
ffmpeg -f alsa -ac 2 -i hw:0,0 test.mp3
To ensure I'm looking at the right audio capture device, I've looked at the output from
arecord -l (small 'ell'), viz:-
Code: Select all
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT1708S Analog [VT1708S Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
card 2: Alpha [Lexicon Alpha], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
Now, if I supply an audio signal into the "mic in" on the PC, the above command works a treat, which is what I'd expect -- hw:0 is a hardware device, so inputs via hardware should work Ok.
...but when a streaming video is playing and I want to capture the audio from THAT, there has to be something 'software-wise' that I can finger into to capture the audio. Maybe there's something I need to look at in
alsamixer or
retrovol...?
Any other thoughts?! I'm using Slacko 5.6.4, BTW...
Once I get the 'audio' component working Ok, I should be able to capture the video AND audio by combining a couple of 'input' streams through ffmpeg, methinks..
Thanks for any forthcoming suggestions.
John