Re: [Vnc2swf-users] Res: Res: AssertionError limits recording time
Status: Alpha
Brought to you by:
euske
From: Oscar U. <osc...@pr...> - 2008-09-17 17:43:57
|
Folks, Is there a way for us to update the documentation with this and other important information? Also I would like to add source code updates to improve the software, but AFAIK there is no way presently to do this. Thanks, OSC ----- Original Message ----- From: lfk...@ya... To: "General discussion about vnc2swf" Subject: [Vnc2swf-users] Res: Res: AssertionError limits recording time Date: Wed, 27 Aug 2008 05:59:30 -0700 (PDT) Hi. Just for information: -t shape -> creates rectangular objects similar to updates sent by vnc server. Object limit can be a problem. By default mouse pointer movements doesn't create new objects but just moves it. Creates a swf file. -t video -> creates a video stream inside a swf file. Doesn't use rectangular objects. Uses a screen record/playback codec which basically splits the screen in small areas and writes the updates for each area on every frame. Object limit is not a problem since it doesn't create objects. Mouse pointer movements are treated as regular screen updates. Creates a swf file. -t flv -> creates a video stream in a flv file. Same as -t video except that the container is FLV. Sound hasn't been implemented in pvnc2swf for this. Vnc2swf tries to remove updates that get totally covered by other updates between frames (updated rectangle ends up totally behind other rectangles). This is just a basic optimization. Maybe there could be implemented a better optimization that tries to reduce the number of objects created but this could be complex. Regards, Luis Fernando ----- Mensagem original ---- De: Nitin Chandrachoodan <ni...@ee...> Para: General discussion about vnc2swf <vnc...@li...> Enviadas: Domingo, 24 de Agosto de 2008 1:55:09 Assunto: Re: [Vnc2swf-users] Res: AssertionError limits recording time 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 -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com |