Re: [Vnc2swf-users] Re: assertion error problem
Status: Alpha
Brought to you by:
euske
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 |