Re: Python Video processing.

2006-06-13 Thread Ant
> im = Image.fromstring("RGB", dd.size, dd.data) > > instead of doing that pygame.image call (not that the argument order is > different). > > for details, see the pygame tostring/fromstring docs, and the corresponding > PIL > methods: That's starting to look promising, yes - thanks! I'll gi

Re: Python Video processing.

2006-06-13 Thread Fredrik Lundh
"Ant" <[EMAIL PROTECTED]> wrote: > In particular, does anyone know whether the data obtained from decoding > the video frame as in the following snippet from > http://pymedia.org/tut/src/dump_video.py.html: > > dd= d.convert( fmt ) > img= pygame.image.fromstring( dd.data, dd.size

Python Video processing.

2006-06-13 Thread Ant
Hi all, I have a specific task I want to automate - rotating a video file through 90 degrees. I've used the PIL library quite a bit to perform batch processing on images, and would like to do similar on video. Can anyone see a problem with the following: 1) Use pymedia to convert the video into