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