Hi I'm trying to play 1 video continuously using pyglet, I got success with the audio format, but when trying with video flies I got this error message
NotImplementedError: Static sources not supported for video. this is my code, I would like to know what is missing to do that, thank a lot import pyglet vidPath ='video1.mp4' window= pyglet.window.Window(width=640, height=480) player = pyglet.media.Player() MediaLoad=pyglet.media.StaticSource(pyglet.media.load('video1.mp4')) player.queue(MediaLoad) print(player.loop) player.loop=True print(player.loop) player.play() @window.event def on_draw(): #pyglet.media.loop='True' if player.source and player.source.video_format: player.get_texture().blit(0,0,width=640, height=480) pyglet.app.run() -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pyglet-users/dd1c1538-7768-4830-a251-9411c391ea77o%40googlegroups.com.