[Numpy-discussion] load movie frames in python?

Andrew Straw strawman at astraw.com
Tue Jan 29 21:25:55 EST 2008


I'm pretty sure there's code floating around the pyglet mailing list.
I'd be happy to add it to
http://code.astraw.com/projects/motmot/wiki/pygarrayimage if it seems
reasonable. (pygarrayimage goes from numpy array to pyglet texture).

Brian Blais wrote:
> On Jan 29, 2008, at Jan 29:8:24 PM, Andrew Straw wrote:
>
>> I'd suggest pyglet's avbin library.
>>
>
>
> great suggestion!  I never would have thought to do that.  Do you
> happen to know how to convert a 
>
> player.texture  into a numpy.array?
>
> there is ImageData, but I can't seem to figure out how to do the
> conversion.
>
>
> bb
> -- 
> Brian Blais
> bblais at bryant.edu <mailto:bblais at bryant.edu>
> http://web.bryant.edu/~bblais <http://web.bryant.edu/%7Ebblais>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>   




More information about the NumPy-Discussion mailing list