Video in OpenGL?

How can I use a AVI-file as a Texture?

One way can be to load your avi into memory as different pictures (each frame is one separate picture), then create one texture for each picture. When you render your polygon(s), you just loop the textures.
I dont think there is support for animating textures.