I’m having an issue where I am trying to set a movie texture. It ends up just flashing weirdly on the screen of my model. Python 3.7.9
Image of model prior to setting texture:
GIF of when I play the movie:
tv = loader.loadModel('phase_4/models/events/election_tv.bam') tv.reparentTo(render) tv.setPos(-35,6,14) tv.setH(90) tv.setScale(.7) #print(tv.ls()) screen = tv.find("**/screen") myMovieTexture = loader.loadTexture("wizardmovie.mpg") screen.setTexture(myMovieTexture) myMovieTexture.play()
The file appears to play fine on my machine. It is only 2 MB 720p. Is there perhaps something I’m missing to play MPG files in Panda? I did have to install a codec to play the video on my computer.
I also tried AVI format, and it also doesn’t play correctly. TIA!