FBO video render example

As OpenGL newbie, I am looking for one FBO video render example to render RGB video frames. I have read about FBO and how to render video frame but now, I want one example to take a look and modify.

Thanks in advance.