I use simple as possible code to create a video player:source = pyglet.media.load("some_file.mkv")format = source.video_formatif not format:print 'No video track in this source.'sys.exit(1)player = pyglet.media.Player()player.queue(source)window = pyglet.window.Window(width=format.width, height=format.height)@window.eventdef on_draw():#window.clear()player.get_texture().blit(0, 0)pyglet.app.run()Screen size is adjusted according to video, but texture is empty (or black?) With AVI there is no such problem and everything works fine. MKV contains video which is encoded with h264on_draw() event is handled to. No other warnings or any kind of messages.Any thoughts where to begin?Thanks, T.--
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...@googlegroups.com.
To post to this group, send email to pyglet...@googlegroups.com.
Visit this group at http://groups.google.com/group/pyglet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/pyglet-users.