Because I got tired of my hacky solution with saving my file before loading it with pyglet.media.load(), I wrote this. Basically, it creates a ffmpeg protocol that loads data from a Python file object. It will automagically hook into AVbinSource when imported, so you can use the file keyword with media.load().
It can be downloaded here: http://ledev.org/~math/mem_load.py I would love to integrate this with pyglet trunk, but I can't be bothered with getting commit permissions, etc. Mathias -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
