As promised in my last post, here is a quick demo of the eCAM32 3.2 megapixel camera connected to the Gumstix Overo Water. I am presenting two videos, one showing the setup where the eCAM32 camera board is mounted on top of the Gumstix Overo Water, the other one being a screen cast demonstrating some of the most common settings of the camera. I am using the Tobi expansion board because it has Ethernet interface allowing me to stream H.264 encoded video to a host PC running linux.
Recording audio with gstreamer is easy:
gst-launch -e pulsesrc ! audioconvert ! \
lamemp3enc target=1 bitrate=64 cbr=true ! \
The pulsesrc element here refers to the pulseaudio input (pulseaudio is AFAIK the default sound system in all linux distributions nowadays). This is good and will capture audio from the default sound input, which can be microphone or line-in depending on the hardware and the pulseaudio configuration.
But what if I plug in my USB webcam with built-in microphone and I want to capture audio from that?