[gst-devel] Retrieving sound from sound card

Miguel Luis mluis at av.it.pt
Tue Jun 19 02:01:46 CEST 2007


Hi!

I have the need to extract audio when the only source I can get it is 
from sound card directly.
Well, I tried this:

gst-launch-0.10 -v alsasrc ! audio/x-raw-int, 
endianness=\(int\)1234,signed=\(boolean\)true,width=\(int\)32,depth=\(int\)32,rate=\(int\)44100 
,channels=\(int\)2! audioconvert ! volume volume=6 ! lame ! filesink 
location=sound.mp3

but all I've got was the noise my microphone was able to capture.
Does anyone knows how can I read the sound directly from the sound card 
when I have no other option?

Cheers,
Miguel Luis.




More information about the gstreamer-devel mailing list