Im trying to make a program that captures a video from the webcam and sound from the microphone but im getting stuck at the part where ive try to make a movie out of still i
I believe AForge.net has video creation utilities built in. It might use DirectShow in the background. But I've used it for capturing a video stream, and I'm 90% sure it can be used for encoding video!
Find your binarys/source at:
http://www.aforgenet.com/
http://code.google.com/p/aforge/
Take a look at DirectShow.NET (Article), which has many samples such as TV capture and encoding.