SDL/examples/camera/01-read-and-draw
..
read-and-draw.c
README.txt

This reads from a webcam and draws frames of video to the screen.