I'd break this down into steps if I were you. The first thing I'd try to get working would be streaming from the web cam, and then simply use a VLC instance to view the stream on your computer. To stream from a webcam you need to do two things: capture the webcam output, then stream it to a location...