Hey, I've just done this. It was pretty easy :)
Now
$ ./edit.py -f 2-4 -o murks.png
should do exactly what you want.
(generated images will be murks-00000.png, murks-00001.png, murks-00002.png)
The latest version is available from sourceforge cvs.
So if you're interested, just check it out.
I am not sure if I should release this as a newer version though.
How do you think?
Yusuke
Yusuke Shinyama <yu...@cs...> wrote:
> Oops, still image extraction is not yet implemented in edit.py.
> Can you use the old version of edit_vnc2swf.py?
> BTW, pygame does not support png saving. You could either save it
> with bmp and then convert it to png, or use PIL.
>
> Thanks
> Yusuke
>
> Michael Will <mic...@gm...> wrote:
> > Hello,
> >
> > Ive tried to extract frames with the 0.6.3 Version of pyvnc.
> >
> > michael@kanobox:~/sr/pyvnc2swf-0.6.3$ ./edit.py -f 2-4 -o murks.png
> > vertont.swf
> > Using pygame 1.6
> > open /dev/sequencer: No such device
> > Scanning source swf file: vertont.swf...
> > Input movie: version=5, size=800x600, framerate=12fps, frames=829,
> > duration=69.1s.
> > Output movie size: 800x600
> > Creating movie: 'murks.png': version=5, clipping=800x600+0+0,
> > framerate=12.0, compression=False
> > ...3 frames written
> > michael@kanobox:~/sr/pyvnc2swf-0.6.3$ ls *png
> > murks.png
> > michael@kanobox:~/sr/pyvnc2swf-0.6.3$
> >
> > I get only one picture (murks.png) and Ive expected 3.
> > What is wrong ?
> > Micha
|