GL is only about displaying. It would be really cool if, for example Ati would provide an extension to get video from camera the vid’card video input - however, I don’t think you can actually do it with GL alone.
directX surely got what you need - you may also check out another thing called OpenML (not sure about the name however).
After you read the input, it should just become a texture and here you go.