[Image-SIG] How can I grab the first frame of movi file?

Dinu Gherman gherman at darwin.in-berlin.de
Mon Feb 23 14:11:41 EST 2004


James Lockley <safricanjames at y:

> I want to do some pretty basic AVI processing.
> To begin with all I want to do is grab the first frame of an AVI and  
> save as a jpg.
>  
> Eventually I'm hoping to be able to save in other formats, and rotate,  
> resize etc...
>  
> Are there any modules available (for Win32) ?

Pitty, I did just that on a Mac for QuickTime movies by adapting
some sample code in the standard library, plat-mac/videoreader.py.
See also the following posting for an initial version of it, if
you also have a Mac around... ;-)

    
http://mail.python.org/pipermail/pythonmac-sig/2004-February/010282.html

Dinu

--
Dinu C. Gherman - http://python.net/~gherman
......................................................................
"The best way to predict the future is to invent it." (Alan Kay)




More information about the Image-SIG mailing list