How to get glTexSubImage2D() work?

I can texture map a .bmp file now, but i failed to get the image from the video caption be shown on the screen?