Video recording from webcam with mic

Opensuse 11.1 sound problems

After i got the webcam Logitech Quickcam Communicate MP/S5500
i could not record a XXXXX.avi with sound

No sound from the webcam

After a hole lot of googling i have the solution

/etc/modprobe/sound

looks now like

options snd-hda-intel model=auto
options snd slots=snd-hda-intel

rKvl.rtAUkvzp909:MCP55 High Definition Audio

alias snd-card-0 snd-hda-intel
alias snd-card-1 snd-usb-audio

See the last line - alias snd-card-1 snd-usb-audio - I added.

Now you have to open the mic with the alsa mixer.

All is set you can record video with sound from the webcam

Have fun

Congratulations on getting this to work.

Thank you for sharing your solution.

create-avi-film

with this script i record the webcam with sound

#! /bin/sh
mencoder tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0:forceaudio:adevice=/dev/dsp1 -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o webcam.avi

Make it with kwrite or so and after saving it sudo chmod a+x create-avi-film
now you can execute it with ./create-avi-film in a console

if the mic off your webcam is on another dsp 2 or 3 depending on the number of soundcards you have than change adevice=/dev/dspx
where x is your webcam mic

I will try to record with vlc
found in a ubuntu forum how to do that but that was with a regular camera
That way you can see your self when making the recording