[Vnc2swf-users] Re: assertion error problem
Status: Alpha
Brought to you by:
euske
From: Yusuke S. <yu...@cs...> - 2005-10-31 04:18:34
|
Bill, This assertion error occurs when the flash file is not finished properly. Usually this should never happen, because when you hit Ctrl-C vnc2swf.py captures the signal and take a proper action to close the movie. But when you hit a bad timing, it might end up in the middle of something (probably image transfer/conversion routine) and just jumps out from it without doing the job. I experienced this a couple of times, and I think the probability gets higher when you have a larger screen, because the duration of this "critical section" gets longer. And it is even higher when you're using "Video" type encoding, because it is known to be slower so you more likely will get a bad timing. So, the answer I can propose is to use "shape" encoding instead of "video" and convert it into "video" swf after recording. Yusuke Bill Seddon <bil...@ly...> wrote: > With 0.71 I'm able to record on my WindowsXP laptop. So far I've been > using the VNC record option and then using edit.py to convert the movies > into clipped SWFs (and this works!). > > So I thought I'd try to record direct to SWF because then I can record > and clip the movie at the same time. I'm using the command: > > vnc2swf.py -n -o test.swf -t video -C 1024x768+0+100 -r 5 localhost 5900 > > The recording appears to work and I see: > > Using pygame 1.7.1release > Connected: localhost:5900, preferred_encoding=(0,) > Password for localhost:5900: > > But when I end the session, I get the message(s) below. A .SWF file is > created but it is not playable. What could I be doing wrong? > > VNC Screen: size=1920x1200, name='INSPIRON9300-1' > Output movie size: 1024x768 > Creating movie: 'test.swf': version=7, size=1024x768, framerate=5, > compression=None > Traceback (most recent call last): > File "C:\Program Files\vnc2swf-0.71\vnc2swf.py", line 363, in ? > if __name__ == "__main__": main(sys.argv[1:]) > File "vnc2swf-0.71\vnc2swf.py", line 356, in main > debug=debug) > File "vnc2swf.py", line 265, in vnc2swf > client.close() > File "vnc2swf-0.71\rfb.py", line 423, in close > RFBProxy.close(self) > File "vnc2swf-0.71\rfb.py", line 372, in close > self.fb.close() > File "vnc2swf-0.71\rfb.py", line 693, in close > self.stream.close() > File "vnc2swf-0.71\output.py", line 603, in close > assert not self.writer.fpstack > AssertionError > > Regards > > Bill Seddon > > > > -----Original Message----- > From: vnc...@li... > [mailto:vnc...@li...] On Behalf Of Yusuke > Shinyama > Sent: 28 October 2005 06:39 > To: vnc...@li... > Cc: Radoslaw Grzanka > Subject: [Vnc2swf-users] pyvnc2swf 0.7.1 released! > > I released pyvnc2swf-0.7.1. > > Radoslaw Grzanka sent me a patch for the MemoryError bug. (Thanks!) > So now this version (hopefully) works fine in Windows XP... > For those who are interested in, please grab and test it! > > http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf-0.7.1.tar.gz > > Thank you, > Yusuke |