video issue

hello,

I am trying to load a video with the code below:

cm = CardMaker('Movie')
cm.setFrameFullscreenQuad()
self.movieCard = render2d.attachNewNode(cm.generate())
        
#set movie texture
self.myMovieTexture=loader.loadTexture("models/avi.avi")
self.movieCard.setTexture(self.myMovieTexture)
self.myMovieTexture.setLoop(False)
        
self.sound=loader.loadSfx("models/avi.avi")
self.myMovieTexture.synchronizeTo(self.sound)   
self.sound.play()
self.myMovieTexture.play()

With some videos this is ok. With others I have the problem below.

Does anyone knows why the black area appears in the MovieTexture?
Is this a codec issue?

thank you

panda3d.org/manual/index.php/P … _AVI_files

Talks about what your seeing.

Check out how the Media Player sample does it.