Thread: RE: [Vnc2swf-users] pyvnc2swf 0.7.1 released!
Status: Alpha
Brought to you by:
euske
From: Bill S. <bil...@ly...> - 2005-10-28 07:32:49
|
Excellent! This version works for me. I can now record on my laptop at the full screen size (1900x1600) if I want. Thanks to you both. 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.=20 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 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Vnc2swf-users mailing list Vnc...@li... https://lists.sourceforge.net/lists/listinfo/vnc2swf-users |
From: Bill S. <bil...@ly...> - 2005-10-28 09:09:07
|
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!). =20 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=3D(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=3D1920x1200, name=3D'INSPIRON9300-1' Output movie size: 1024x768 Creating movie: 'test.swf': version=3D7, size=3D1024x768, framerate=3D5, compression=3DNone Traceback (most recent call last): File "C:\Program Files\vnc2swf-0.71\vnc2swf.py", line 363, in ? if __name__ =3D=3D "__main__": main(sys.argv[1:]) File "vnc2swf-0.71\vnc2swf.py", line 356, in main debug=3Ddebug) 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.=20 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 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ Vnc2swf-users mailing list Vnc...@li... https://lists.sourceforge.net/lists/listinfo/vnc2swf-users |
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 |
From: <db...@br...> - 2005-10-31 13:22:52
|
vnc2swf can handle the control-c manually. In python it would look like: import signal stop =3D 0 def INThandler(signum, frame): stop =3D 1 prevsighandler =3D signal.signal(signal.SIGINT, INThandler) In this manner you can control when the program stops when a control-c is encountered (or prevent it from stopping at all). -Doug > 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 |
From: Yusuke S. <yu...@cs...> - 2005-11-10 05:40:27
|
Doug, I'll put this in the next release. Thanks. Yusuke db...@br... wrote: > vnc2swf can handle the control-c manually. In python it would look like: > > import signal > stop = 0 > def INThandler(signum, frame): > stop = 1 > prevsighandler = signal.signal(signal.SIGINT, INThandler) > > In this manner you can control when the program stops when a control-c is > encountered (or prevent it from stopping at all). > > -Doug > > > 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 > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > Vnc2swf-users mailing list > Vnc...@li... > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > |