Re: [Vnc2swf-users] Res: AssertionError limits recording time
Status: Alpha
Brought to you by:
euske
From: Nitin C. <ni...@ee...> - 2008-08-24 04:55:00
|
Thanks for the informative replies. As pointed out by you, I think the problem was that writing using a tablet creates too many small objects, causing the limit to be exceeded independent of the frames. I then tried recording to .vnc format and then converting to .swf with vnc2swf-edit, and when I use the -V option (video) it seems to work well. I had not realized that the -t video would still result in .swf, I thought it meant it would create .flv. I assume this means that directly recording to .swf with -t video will give the same effect - namely size limited by number of frames, not objects? Thanks very much, Nitin On Thu, Aug 21, 2008 at 7:35 PM, <lfk...@ya...> wrote: > Hi, > > VNC protocol uses rectangles to send screen updates to the client. > When you record or transform into shape format (not video), vnc2swf creates > a swf object for each rectangle. Usually there are many rectangles in each > screen update when the screen changes often but there may be none when the > screen is not updated. > One thing many people don't realize is that any icon or label that changes > very often (such as network connection icon or even the clock with seconds > or even msn) and is not related to the recording may be increasing the size > of the recording and the number of objects created. > So anything that changes on screen causes a rectangle update. The size of > the rectangle depends on the area changed. It the small areas far apart > change, there will be two rectangle updates. If they are close, there may > be just one. > I suggest removing icons that are not necessary while recording. > What I want to say is that frame count is not the only limiting factor. > I think that object count is even more important and it is probably what's > been limiting the recordings. > You could try converting to video format, or even to flv (audio not > supported yet). > They won't have the object count limit (I think). > Good luck! > > Luis Fernando > > > ----- Mensagem original ---- > De: Nitin Chandrachoodan <ni...@ee...> > Para: vnc...@li... > Enviadas: Quinta-feira, 21 de Agosto de 2008 1:19:54 > Assunto: [Vnc2swf-users] AssertionError limits recording time > > Hello, > > I am using pyvnc2swf 0.9.2 (from Debian testing) to record lectures in > class (I write on a tablet using Xournal in VNC and record the VNC > session along with audio using the -S option). > > After about 30-45 minutes, the program crashes with an error > > File "/usr/share/pyvnc2swf/swf.py", line 784, in newid > assert self.objid < 65536, 'the number of objects exceeded the limit!' > AssertionError: the number of objects exceeded the limit! > > I tried reducing the framerate as suggested in other messages, but > even with a framerate of 3 it still crashed before the end of the > lecture (<50 minutes). > > I then tried recording to .vnc format, and it records the whole > lecture, but if I try converting to swf with vnc2swf-edit.py, it again > crashes with the same AssertionError. > > One of the previous messages mentioned a maximum of 16000 frames, > which should still give > 5000s at 3fps. Is the above error to do with > frames, or are the VNC changes recorded as objects, which would maybe > make it crash if I wrote too much in one session? > > Thanks, > > Nitin > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Vnc2swf-users mailing list > Vnc...@li... > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > > ________________________________ > Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua > cara @ymail.com ou @rocketmail.com. > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Vnc2swf-users mailing list > Vnc...@li... > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > > |