Thread: [Vnc2swf-users] Res: AssertionError limits recording time
Status: Alpha
Brought to you by:
euske
From: <lfk...@ya...> - 2008-08-21 14:05:57
|
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. http://br.new.mail.yahoo.com/addresses |
From: <lfk...@ya...> - 2008-08-21 14:06:34
|
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. http://br.new.mail.yahoo.com/addresses |
From: Ian W. <ia...@ex...> - 2008-08-21 14:34:07
|
If the flv recording mode gets around the object limit you might be able use the method that worked for me: http://excess.org/article/2008/07/creating-high-resolution-screencasts-vnc2swf/ Maybe change the "vnc2swf -n -o tutorial.swf .." to "vnc2swf -n -o tutorial.flv .." instead of converting in the next step? I record audio separately and use the flv format because the flash player I use requires flv. When I used this method (unmodified) I was able to record more than 80 minutes. However, it might have worked for me because of the really basic window manager that the presenter used (less rectangles). Ian 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=/ > <http://moblin-contest.org/redirect.php?banner_id=100&url=/> > _______________________________________________ > Vnc2swf-users mailing list > Vnc...@li... > <mailto:Vnc...@li...> > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > > ------------------------------------------------------------------------ > Novos endereços, o Yahoo! que você conhece. Crie um email novo > <http://br.rd.yahoo.com/mail/taglines/mail/*http://br.new.mail.yahoo.com/addresses> > 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 |
From: <lfk...@ya...> - 2008-08-21 17:15:31
|
It won't help. This is a SWF format limitation. ----- Mensagem original ---- De: Oscar Usifer <osc...@pr...> Para: General discussion about vnc2swf <vnc...@li...> Enviadas: Quinta-feira, 21 de Agosto de 2008 12:57:47 Assunto: Re: [Vnc2swf-users] AssertionError limits recording time does increasing this number in the source to say 131072 help? > ----- Original Message ----- > From: "Nitin Chandrachoodan" <ni...@ee...> > To: vnc...@li... > Date: Thu, 21 Aug 2008 09:49:54 +0530 > > 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! > -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.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 Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com. http://br.new.mail.yahoo.com/addresses |
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 > > |