Can you point me to documentation / sample c code for implementing a streaming video capture application with OpenGL graphics overlay?

Thanks,

Sid