I don't know about web cameras, but I use mencoder (part of the mplayer package) to record video from my TV tuner. I have tried other apps, but mencoder seems to work best. Read the mplayer documentation carefully for examples on how to capture and encode video from a video4linux device.
|