load movie frames in python?

Brian Blais bblais at bryant.edu
Tue Jan 29 17:55:18 EST 2008


Hello,

Is there a way to read frames of a movie in python?  Ideally,  
something as simple as:

for frame in movie('mymovie.mov'):
     pass


where frame is either a 2-D list, or a numpy array?  The movie format  
can be anything, because I can probably convert things, but most  
convenient would be avi, mov, and flv (for youtube videos).


		thanks,


			Brian Blais

-- 
Brian Blais
bblais at bryant.edu
http://web.bryant.edu/~bblais



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080129/5a1bf5d7/attachment.html>


More information about the Python-list mailing list