Animated texture from an imported video

hello. I wanted to know what format I need to import video to make animated texture. And what procedure do I have to do to fulfill the function. Thank you