Use webcam

Add yourself to the video group:

# gpasswd -a <user> video

To use it with mplayer type the following command:

$ mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 -fps 15