vnc2swf-users Mailing List for vnc2swf (Page 18)
Status: Alpha
Brought to you by:
euske
You can subscribe to this list here.
2005 |
Jan
|
Feb
(1) |
Mar
(11) |
Apr
(9) |
May
(2) |
Jun
(2) |
Jul
(7) |
Aug
(32) |
Sep
(22) |
Oct
(31) |
Nov
(54) |
Dec
(8) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(11) |
Feb
(14) |
Mar
(2) |
Apr
(6) |
May
(13) |
Jun
(10) |
Jul
(14) |
Aug
(12) |
Sep
(13) |
Oct
(62) |
Nov
(18) |
Dec
(12) |
2007 |
Jan
(13) |
Feb
(10) |
Mar
(27) |
Apr
(1) |
May
(10) |
Jun
(1) |
Jul
|
Aug
(10) |
Sep
(21) |
Oct
(15) |
Nov
(3) |
Dec
(4) |
2008 |
Jan
(4) |
Feb
(24) |
Mar
(1) |
Apr
(9) |
May
(7) |
Jun
(11) |
Jul
(10) |
Aug
(11) |
Sep
(4) |
Oct
|
Nov
(13) |
Dec
|
2009 |
Jan
(3) |
Feb
(4) |
Mar
(6) |
Apr
(37) |
May
|
Jun
(5) |
Jul
(1) |
Aug
(2) |
Sep
(1) |
Oct
|
Nov
(20) |
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
From: Andrea F. <ak...@be...> - 2006-04-14 19:58:09
|
Thanks, Doug. I appreciate the after hours support. Once again, you've steered me in the right direction. I do not have any trouble recording a blank session or a session where I'm opening other memory-intensive programs. I have a newer computer running FC4. Interestingly I downloaded pyvnc2swf 0.7.0 and got a different error: Traceback (most recent call last): File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__ return self.func(*args) File "vnc2swf.py", line 217, in record self.client.loop() File "vnc2swf.py", line 84, in loop if not self.loop1(): break File "/home/andrea/pyro/pyvnc2swf-0.7.0/rfb.py", line 341, in loop1 self.finish_update() File "/home/andrea/pyro/pyvnc2swf-0.7.0/rfb.py", line 113, in finish_update self.fb.update_screen(time.time()) File "/home/andrea/pyro/pyvnc2swf-0.7.0/rfb.py", line 689, in update_screen self.stream.next_frame() File "/home/andrea/pyro/pyvnc2swf-0.7.0/output.py", line 482, in next_frame self.add_object(self.screen.get_image(x0, y0, w, h), depth, x0, y0) File "/home/andrea/pyro/pyvnc2swf-0.7.0/output.py", line 426, in add_object shape_id = self.writer.newid() File "/home/andrea/pyro/pyvnc2swf-0.7.0/swf.py", line 426, in newid assert self.objid < 65536, 'the number of objects exceeded the limit!' AssertionError: the number of objects exceeded the limit! There are several references to this problem in the vnc2swf archives; using video mode is recommended. I was able to use video mode to make the recording in 0.7.0 and 0.8.2. Andrea >-----Original Message----- >From: db...@br... [mailto:db...@br...] >Sent: Friday, April 14, 2006 12:20 AM >To: Andrea Kirsten Fey >Cc: pyr...@em...; vnc...@li... >Subject: Re: [Pyro-users] trouble with pyvnc2swf/pyrobot combination > >Andrea, > >I just tried this, and it worked for me under Fedora Core 4, pyvnc2swf >0.7.0, with the standard vnc 4.1.1-10.1. I notice that I am using an older >pyvnc2swf than you. I'll try the new version and report back if it fails. >I followed the directions at (which I assume that you did too): > >http://pyrorobotics.org/?page=PyroHowtoVideo > >Here is how I ran vnc2swf: > >$ python vnc2swf.py >Using pygame 1.6.2 >Connected: 127.0.0.1:5901, preferred_encoding=(0,) >VNC Screen: size=1024x768, name='saliva.brynmawr.edu:1 (dblank)' >Output movie size: 1024x768 >Creating movie: '/home/dblank/pyvnc2swf-0.7.0/test.swf': version=5, >size=1024x768, framerate=12.0, compression=None > >$ ls -al test.swf >-rw-rw-r-- 1 dblank dblank 4876006 Apr 14 00:04 test.swf > >Do you get this same error if you just record nothing for a few minutes >(eg, without running Pyro?) My CPU was pegged at 100% running a simulation >with camera, sonar, etc. with a 1024x768 VNC, but it worked. I didn't >capture the sound, though. My computer is about 5 years old, so it isn't a >very powerful computer, and has a single CPU. > >I suspect that the error doesn't have anything to do with the Python-based >robot software, but I could be wrong. Let us know under what situations it >works, and when it doesn't. > >-Doug > > > >>I am trying to make a video recording a Pyro simulation using >>pyvnc2swf. It always stalls between the first and second minute, and I >>get the following trace: >> >>Exception in Tkinter callback >>Traceback (most recent call last): >> File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__ >> return self.func(*args) >> File "vnc2swf.py", line 225, in record >> self.client.close() >> File "/home/andrea/pyro/pyvnc2swf-0.8.2/rfb.py", line 525, in close >> RFBProxy.close(self) >> File "/home/andrea/pyro/pyvnc2swf-0.8.2/rfb.py", line 463, in close >> self.fb.close() >> File "/home/andrea/pyro/pyvnc2swf-0.8.2/rfb.py", line 814, in close >> self.stream.close() >> File "/home/andrea/pyro/pyvnc2swf-0.8.2/output.py", line 482, in close >> self.writer.write_file(self.output_frames) >> File "/home/andrea/pyro/pyvnc2swf-0.8.2/swf.py", line 708, in >>write_file >> assert not self.fpstack, 'nonempty fpstack: %r' % self.fpstack >>AssertionError: nonempty fpstack: [<open file 'output.swf', mode 'wb' >>at 0xb7c732f0>] >> >>I can stop recording before this happens and create .swf and html >>files, although the second time through the loop the graphics don't >>refresh properly. I can record the session without starting pyro. I >>thought it might be a permission problem and added full r/w permissions >>to any file and directory related to my pyro session (did not help), >>but since I can create the files if they're very short, this should not >>be related. I'm using the default shape mode to record, and have set up >>the session exactly as in the instructions. Running pyro with a simple >>brain, such as the included FSM square traverser, causes failure as >>well. >> >>I ran it with the debug option, but couldn't discern anything from the >>log files. >> >>Has anyone seen this problem? I've searched the pyrobot, python, and >>pyvnc2swf archives/websites and have had no luck on Google - I'm not >>really sure what I'm looking for, though. I'm going to drop a line to >>the pyvnc2swf users as well, but I was not sure where to start. >> >>Thanks. >>Andrea >> >> > > > > > |
From: Miguel A. F. G. <wik...@gm...> - 2006-04-14 15:58:27
|
hi there anybody that Speak Spanish? because i like install vnc2swf but this have errors 2006/4/13, vnc...@li... < vnc...@li...>: > > Send Vnc2swf-users mailing list submissions to > vnc...@li... > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > or, via email, send a message with subject or body 'help' to > vnc...@li... > > You can reach the person managing the list at > vnc...@li... > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Vnc2swf-users digest..." > > > Today's Topics: > > 1. pyvnc2swf fpstack assertion error (Andrea Fey) > > --__--__-- > > Message: 1 > Date: Thu, 13 Apr 2006 21:23:58 -0400 > From: Andrea Fey <ak...@be...> > To: vnc...@li... > Subject: [Vnc2swf-users] pyvnc2swf fpstack assertion error > > I am trying to make a video recording a Pyro robotics simulation using > pyvnc2swf. It always stalls between the first and second minute, and I > get the following trace: > > Exception in Tkinter callback > Traceback (most recent call last): > File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__ > return self.func(*args) > File "vnc2swf.py", line 225, in record > self.client.close() > File "/home/andrea/pyro/pyvnc2swf-0.8.2/rfb.py", line 525, in close > RFBProxy.close(self) > File "/home/andrea/pyro/pyvnc2swf-0.8.2/rfb.py", line 463, in close > self.fb.close() > File "/home/andrea/pyro/pyvnc2swf-0.8.2/rfb.py", line 814, in close > self.stream.close() > File "/home/andrea/pyro/pyvnc2swf-0.8.2/output.py", line 482, in close > self.writer.write_file(self.output_frames) > File "/home/andrea/pyro/pyvnc2swf-0.8.2/swf.py", line 708, in write_fil= e > assert not self.fpstack, 'nonempty fpstack: %r' % self.fpstack > AssertionError: nonempty fpstack: [<open file 'output.swf', mode 'wb' at > 0xb7c732f0>] > > I can stop recording before this happens and create .swf and html files, > although the second time through the loop the graphics don't refresh > properly. I can record the session without starting Pyro. I thought it > might be a permission problem and added full r/w permissions to any file > and directory related to my Pyro session (did not help), but since I can > create the files if they're very short, this should not be related. I'm > using the default shape mode to record, and have set up the session > exactly as in the instructions. > > I ran it with the debug option, but couldn't discern anything from the > log files. > > Has anyone seen this problem? I've searched the Pyrobot, python, and > pyvnc2swf archives/websites and have had no luck on Google - I'm not > really sure what I'm looking for, though. I have also dropped a note to > Pyrobot users. > > Thanks. > Andrea > > > > --__--__-- > > _______________________________________________ > Vnc2swf-users mailing list > Vnc...@li... > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > > > End of Vnc2swf-users Digest > |
From: <db...@br...> - 2006-04-14 04:20:16
|
Andrea, I just tried this, and it worked for me under Fedora Core 4, pyvnc2swf 0.7.0, with the standard vnc 4.1.1-10.1. I notice that I am using an olde= r pyvnc2swf than you. I'll try the new version and report back if it fails. I followed the directions at (which I assume that you did too): http://pyrorobotics.org/?page=3DPyroHowtoVideo Here is how I ran vnc2swf: $ python vnc2swf.py Using pygame 1.6.2 Connected: 127.0.0.1:5901, preferred_encoding=3D(0,) VNC Screen: size=3D1024x768, name=3D'saliva.brynmawr.edu:1 (dblank)' Output movie size: 1024x768 Creating movie: '/home/dblank/pyvnc2swf-0.7.0/test.swf': version=3D5, size=3D1024x768, framerate=3D12.0, compression=3DNone $ ls -al test.swf -rw-rw-r-- 1 dblank dblank 4876006 Apr 14 00:04 test.swf Do you get this same error if you just record nothing for a few minutes (eg, without running Pyro?) My CPU was pegged at 100% running a simulatio= n with camera, sonar, etc. with a 1024x768 VNC, but it worked. I didn't capture the sound, though. My computer is about 5 years old, so it isn't = a very powerful computer, and has a single CPU. I suspect that the error doesn't have anything to do with the Python-base= d robot software, but I could be wrong. Let us know under what situations i= t works, and when it doesn't. -Doug > I am trying to make a video recording a Pyro simulation using > pyvnc2swf. It always stalls between the first and second minute, and I > get the following trace: > > Exception in Tkinter callback > Traceback (most recent call last): > File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__ > return self.func(*args) > File "vnc2swf.py", line 225, in record > self.client.close() > File "/home/andrea/pyro/pyvnc2swf-0.8.2/rfb.py", line 525, in close > RFBProxy.close(self) > File "/home/andrea/pyro/pyvnc2swf-0.8.2/rfb.py", line 463, in close > self.fb.close() > File "/home/andrea/pyro/pyvnc2swf-0.8.2/rfb.py", line 814, in close > self.stream.close() > File "/home/andrea/pyro/pyvnc2swf-0.8.2/output.py", line 482, in clos= e > self.writer.write_file(self.output_frames) > File "/home/andrea/pyro/pyvnc2swf-0.8.2/swf.py", line 708, in > write_file > assert not self.fpstack, 'nonempty fpstack: %r' % self.fpstack > AssertionError: nonempty fpstack: [<open file 'output.swf', mode 'wb' > at 0xb7c732f0>] > > I can stop recording before this happens and create .swf and html > files, although the second time through the loop the graphics don't > refresh properly. I can record the session without starting pyro. I > thought it might be a permission problem and added full r/w permissions > to any file and directory related to my pyro session (did not help), > but since I can create the files if they're very short, this should not > be related. I'm using the default shape mode to record, and have set up > the session exactly as in the instructions. Running pyro with a simple > brain, such as the included FSM square traverser, causes failure as > well. > > I ran it with the debug option, but couldn't discern anything from the > log files. > > Has anyone seen this problem? I've searched the pyrobot, python, and > pyvnc2swf archives/websites and have had no luck on Google - I'm not > really sure what I'm looking for, though. I'm going to drop a line to > the pyvnc2swf users as well, but I was not sure where to start. > > Thanks. > Andrea |
From: Andrea F. <ak...@be...> - 2006-04-14 01:23:58
|
I am trying to make a video recording a Pyro robotics simulation using pyvnc2swf. It always stalls between the first and second minute, and I get the following trace: Exception in Tkinter callback Traceback (most recent call last): File "/usr/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__ return self.func(*args) File "vnc2swf.py", line 225, in record self.client.close() File "/home/andrea/pyro/pyvnc2swf-0.8.2/rfb.py", line 525, in close RFBProxy.close(self) File "/home/andrea/pyro/pyvnc2swf-0.8.2/rfb.py", line 463, in close self.fb.close() File "/home/andrea/pyro/pyvnc2swf-0.8.2/rfb.py", line 814, in close self.stream.close() File "/home/andrea/pyro/pyvnc2swf-0.8.2/output.py", line 482, in close self.writer.write_file(self.output_frames) File "/home/andrea/pyro/pyvnc2swf-0.8.2/swf.py", line 708, in write_file assert not self.fpstack, 'nonempty fpstack: %r' % self.fpstack AssertionError: nonempty fpstack: [<open file 'output.swf', mode 'wb' at 0xb7c732f0>] I can stop recording before this happens and create .swf and html files, although the second time through the loop the graphics don't refresh properly. I can record the session without starting Pyro. I thought it might be a permission problem and added full r/w permissions to any file and directory related to my Pyro session (did not help), but since I can create the files if they're very short, this should not be related. I'm using the default shape mode to record, and have set up the session exactly as in the instructions. I ran it with the debug option, but couldn't discern anything from the log files. Has anyone seen this problem? I've searched the Pyrobot, python, and pyvnc2swf archives/websites and have had no luck on Google - I'm not really sure what I'm looking for, though. I have also dropped a note to Pyrobot users. Thanks. Andrea |
From: <lfk...@ya...> - 2006-03-27 16:34:37
|
When the screen changes alot the video format may be a better alternative. SWF has that limit for the number of available object ids. A solution for this might be to reset the object ids on keyframes (when all objects are removed from the stage and the ones visible are inserted back in). Yusuke, is this possible and how hard would it be to implement this? Luis Fernando richard zatorski <ric...@gm...> escreveu: Good news, I was trying to save you failing MP3 files when I decided to try an ID3 tag editor. Sure enough, removing the ID3 tags cleared up my failures. Very good call! BTW, I'm using "audacity" to capture and convert audio to MP3. Turns out that it stuffs the id3 tags into the MP3. I hadn't found a way to disable the tag generation in that tool, so I just used "easytag" freeware utility to strip it. So, the only issue I have is the # assert self.objid < 65537, 'the number of objects exceeded the limit!' Any chance of changing this as it restricts one from creating a long webcast. Even though .swf has limitations, your vnc editting tools seem to do fine and run really well through the browser even on 1 hour webcasts. (RAZ) On 2/14/06, richard zatorski <ric...@gm...> wrote: On 2/12/06, Yusuke Shinyama < yu...@cs...> wrote: richard zatorski <ric...@gm...> wrote: > On 2/10/06, Yusuke Shinyama < yu...@cs...> wrote: > > > > richard zatorski <ric...@gm...> wrote: > > > I gave 0.8.2 a shot but still have a lot of problems: > > > > > > Line 428 of swf.pyc > > > I always hit this assertion when I'm recording a long meeting ~ 1hour. > > > # assert self.objid < 65537, 'the number of objects exceeded the > > limit!' > > > > This is the current limitation of vnc2swf. > > I might provide some workaround in future. > > I commented out the assertion. You might just want to do that. Maybe. But now we start reusing object ids that exceed 65536, which might cause an unexpected effect. Once you convert the movie to SWFVideo format (via edit.py), it may be okay though... The best luck I've had with recording long webcasts (1+hour meetings) is using the swf recorder. If I record the vnc format I usually run into the editor problems below. > > I recorded a vnc version of a session with audio, when I try to edit the > > > audio in I get: > > > > > > [razl@davey pyvnc2swf-0.8.2]$ ./edit.py -o /home/razl/test.swf -a > > > /home/razl/test.mp3 /home/razl/test.vnc > > > Using pygame 1.6.2 > > > Reading mp3 file: /home/razl/test.mp3... > > > Traceback (most recent call last): > > > File "./edit.py", line 234, in ? > > > if __name__ == "__main__": main( sys.argv[1:]) > > > File "./edit.py", line 155, in main > > > info.reg_mp3blocks(fp) > > > File "/home/downloads/pyvnc2swf-0.8.2/movie.py", line 106, in > > > reg_mp3blocks > > > MP3Reader(self.mp3).read_mp3file(fp, length, nsamples, seeksamples) > > > File "/home/downloads/pyvnc2swf-0.8.2/mp3.py", line 174, in > > read_mp3file > > > assert (h & 0x00060000L) == 0x00020000L, '!Layer3' > > > AssertionError: !Layer3 > > > > I'm wondering if there's any ID3 tag in the mp3 file. > > Remove them first and then retry. > > How do you edit MP3's. BTW, I think this might have something to do with > the length of the MP3. I think if the MP3 is slightly longer than the > video, this causes problems. There's a bunch of ID3 tag editors. But probably it's easier for us if you can send that mp3 file off the list, so that I can figure out the problem. No, the mp3 should be trimmed if it's longer than the video. I didn't save the MP3, but I can try to regenerate one using Audacity. I have seen this failure before. I'll ship you a copy once I reproduce it. > > If I try just converting to SWF without the MP# I get: > > > [ razl@davey pyvnc2swf-0.8.2]$ ./edit.py -o /home/razl/test.swf > > > /home/razl/test.vnc > > > Using pygame 1.6.2 > > > Reading vncrec file: /home/razl/test.vnc, version='vncLog0.0'... > > > VNC Screen: size=1228x996, name="razl's razl-shared desktop > > (dtsrs2-90:99)" > > > Output movie size: 1228x996 > > > Traceback (most recent call last): > > > File "./edit.py", line 234, in ? > > > if __name__ == "__main__": main(sys.argv[1:]) > > > File "./edit.py", line 229, in main > > > mp3seek=mp3seek, mp3skip=mp3skip) > > > File "./edit.py", line 77, in reorganize > > > movie.parse_vncrec(fname) > > > File "/home/downloads/pyvnc2swf-0.8.2/movie.py", line 161, in > > parse_vncrec > > > parser.open(fname) > > > File "/home/downloads/pyvnc2swf- 0.8.2/rfb.py", line 766, in open > > > self.rfbparser.loop() > > > File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 672, in loop > > > while self.loop1(): > > > File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 451, in loop1 > > > raise RFBProtocolError('Unsupported msg: %d' % ord(c)) > > > rfb.RFBProtocolError: Unsupported msg: 4 > > > > Ok, this is weird, because msg 4 is not defined in > > the RFB protocol manual I currently have. > > Which VNC server did you use? (and its version?) > > > tightvnc-1.3dev5-1 I failed to replay this error. Does this occur every time? Not sure about this exact error. I have had problems when i tried using vnc format. I can create another webcast and see if I can reproduce it. If I do, I'll try and send it your way. (RAZ) Yusuke --------------------------------- Yahoo! Search Dê uma espiadinha e saiba tudo sobre o Big Brother Brasil. |
From: richard z. <ric...@gm...> - 2006-03-25 01:05:53
|
Good news, I was trying to save you failing MP3 files when I decided to try an ID3 tag editor. Sure enough, removing the ID3 tags cleared up my failures. Very good call! BTW, I'm using "audacity" to capture and conver= t audio to MP3. Turns out that it stuffs the id3 tags into the MP3. I hadn'= t found a way to disable the tag generation in that tool, so I just used "easytag" freeware utility to strip it. So, the only issue I have is the # assert self.objid < 65537, 'the numbe= r of objects exceeded the limit!' Any chance of changing this as it restricts one from creating a long webcast. Even though .swf has limitations, your vnc editting tools seem to do fine and run really well through the browser even on 1 hour webcasts. (RAZ) On 2/14/06, richard zatorski <ric...@gm...> wrote: > > > > On 2/12/06, Yusuke Shinyama <yu...@cs...> wrote: > > > > richard zatorski <ric...@gm...> wrote: > > > On 2/10/06, Yusuke Shinyama <yu...@cs...> wrote: > > > > > > > > richard zatorski <ric...@gm...> wrote: > > > > > I gave 0.8.2 a shot but still have a lot of problems: > > > > > > > > > > Line 428 of swf.pyc > > > > > I always hit this assertion when I'm recording a long meeting ~ > > 1hour. > > > > > # assert self.objid < 65537, 'the number of objects exceeded > > the > > > > limit!' > > > > > > > > This is the current limitation of vnc2swf. > > > > I might provide some workaround in future. > > > > > > I commented out the assertion. You might just want to do that. > > > > Maybe. But now we start reusing object ids that exceed 65536, > > which might cause an unexpected effect. Once you convert the movie to > > SWFVideo format (via edit.py), it may be okay though... > > > The best luck I've had with recording long webcasts (1+hour meetings) i= s > using the swf recorder. If I record the vnc format I usually run into th= e > editor problems below. > > > I recorded a vnc version of a session with audio, when I try to edit th= e > > > > > > > audio in I get: > > > > > > > > > > [razl@davey pyvnc2swf-0.8.2]$ ./edit.py -o /home/razl/test.swf -a > > > > > /home/razl/test.mp3 /home/razl/test.vnc > > > > > Using pygame 1.6.2 > > > > > Reading mp3 file: /home/razl/test.mp3... > > > > > Traceback (most recent call last): > > > > > File "./edit.py", line 234, in ? > > > > > if __name__ =3D=3D "__main__": main( sys.argv[1:]) > > > > > File "./edit.py", line 155, in main > > > > > info.reg_mp3blocks(fp) > > > > > File "/home/downloads/pyvnc2swf-0.8.2/movie.py", line 106, in > > > > > reg_mp3blocks > > > > > MP3Reader(self.mp3).read_mp3file(fp, length, nsamples, > > seeksamples) > > > > > File "/home/downloads/pyvnc2swf-0.8.2/mp3.py", line 174, in > > > > read_mp3file > > > > > assert (h & 0x00060000L) =3D=3D 0x00020000L, '!Layer3' > > > > > AssertionError: !Layer3 > > > > > > > > I'm wondering if there's any ID3 tag in the mp3 file. > > > > Remove them first and then retry. > > > > > > How do you edit MP3's. BTW, I think this might have something to do > > with > > > the length of the MP3. I think if the MP3 is slightly longer than th= e > > > video, this causes problems. > > > > There's a bunch of ID3 tag editors. > > But probably it's easier for us if you can send that mp3 file off the > > list, > > so that I can figure out the problem. > > No, the mp3 should be trimmed if it's longer than the video. > > > I didn't save the MP3, but I can try to regenerate one using Audacity. I > have seen this failure before. I'll ship you a copy once I reproduce it. > > > > If I try just converting to SWF without the MP# I get: > > > > > [ razl@davey pyvnc2swf-0.8.2]$ ./edit.py -o /home/razl/test.swf > > > > > /home/razl/test.vnc > > > > > Using pygame 1.6.2 > > > > > Reading vncrec file: /home/razl/test.vnc, version=3D'vncLog0.0'..= . > > > > > VNC Screen: size=3D1228x996, name=3D"razl's razl-shared desktop > > > > (dtsrs2-90:99)" > > > > > Output movie size: 1228x996 > > > > > Traceback (most recent call last): > > > > > File "./edit.py", line 234, in ? > > > > > if __name__ =3D=3D "__main__": main(sys.argv[1:]) > > > > > File "./edit.py", line 229, in main > > > > > mp3seek=3Dmp3seek, mp3skip=3Dmp3skip) > > > > > File "./edit.py", line 77, in reorganize > > > > > movie.parse_vncrec(fname) > > > > > File "/home/downloads/pyvnc2swf-0.8.2/movie.py", line 161, in > > > > parse_vncrec > > > > > parser.open(fname) > > > > > File "/home/downloads/pyvnc2swf- 0.8.2/rfb.py", line 766, in > > open > > > > > self.rfbparser.loop() > > > > > File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 672, in loo= p > > > > > while self.loop1(): > > > > > File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 451, in > > loop1 > > > > > raise RFBProtocolError('Unsupported msg: %d' % ord(c)) > > > > > rfb.RFBProtocolError: Unsupported msg: 4 > > > > > > > > Ok, this is weird, because msg 4 is not defined in > > > > the RFB protocol manual I currently have. > > > > Which VNC server did you use? (and its version?) > > > > > > > > > tightvnc-1.3dev5-1 > > > > I failed to replay this error. > > Does this occur every time? > > > Not sure about this exact error. I have had problems when i tried using > vnc format. I can create another webcast and see if I can reproduce it. = If > I do, I'll try and send it your way. > > (RAZ) > > Yusuke > > > > |
From: richard z. <ric...@gm...> - 2006-02-14 17:18:28
|
On 2/12/06, Yusuke Shinyama <yu...@cs...> wrote: > > richard zatorski <ric...@gm...> wrote: > > On 2/10/06, Yusuke Shinyama <yu...@cs...> wrote: > > > > > > richard zatorski <ric...@gm...> wrote: > > > > I gave 0.8.2 a shot but still have a lot of problems: > > > > > > > > Line 428 of swf.pyc > > > > I always hit this assertion when I'm recording a long meeting ~ > 1hour. > > > > # assert self.objid < 65537, 'the number of objects exceeded the > > > limit!' > > > > > > This is the current limitation of vnc2swf. > > > I might provide some workaround in future. > > > > I commented out the assertion. You might just want to do that. > > Maybe. But now we start reusing object ids that exceed 65536, > which might cause an unexpected effect. Once you convert the movie to > SWFVideo format (via edit.py), it may be okay though... The best luck I've had with recording long webcasts (1+hour meetings) is using the swf recorder. If I record the vnc format I usually run into the editor problems below. > > I recorded a vnc version of a session with audio, when I try to edit th= e > > > > audio in I get: > > > > > > > > [razl@davey pyvnc2swf-0.8.2]$ ./edit.py -o /home/razl/test.swf -a > > > > /home/razl/test.mp3 /home/razl/test.vnc > > > > Using pygame 1.6.2 > > > > Reading mp3 file: /home/razl/test.mp3... > > > > Traceback (most recent call last): > > > > File "./edit.py", line 234, in ? > > > > if __name__ =3D=3D "__main__": main(sys.argv[1:]) > > > > File "./edit.py", line 155, in main > > > > info.reg_mp3blocks(fp) > > > > File "/home/downloads/pyvnc2swf-0.8.2/movie.py", line 106, in > > > > reg_mp3blocks > > > > MP3Reader(self.mp3).read_mp3file(fp, length, nsamples, > seeksamples) > > > > File "/home/downloads/pyvnc2swf-0.8.2/mp3.py", line 174, in > > > read_mp3file > > > > assert (h & 0x00060000L) =3D=3D 0x00020000L, '!Layer3' > > > > AssertionError: !Layer3 > > > > > > I'm wondering if there's any ID3 tag in the mp3 file. > > > Remove them first and then retry. > > > > How do you edit MP3's. BTW, I think this might have something to do > with > > the length of the MP3. I think if the MP3 is slightly longer than the > > video, this causes problems. > > There's a bunch of ID3 tag editors. > But probably it's easier for us if you can send that mp3 file off the > list, > so that I can figure out the problem. > No, the mp3 should be trimmed if it's longer than the video. I didn't save the MP3, but I can try to regenerate one using Audacity. I have seen this failure before. I'll ship you a copy once I reproduce it. > > If I try just converting to SWF without the MP# I get: > > > > [razl@davey pyvnc2swf-0.8.2]$ ./edit.py -o /home/razl/test.swf > > > > /home/razl/test.vnc > > > > Using pygame 1.6.2 > > > > Reading vncrec file: /home/razl/test.vnc, version=3D'vncLog0.0'... > > > > VNC Screen: size=3D1228x996, name=3D"razl's razl-shared desktop > > > (dtsrs2-90:99)" > > > > Output movie size: 1228x996 > > > > Traceback (most recent call last): > > > > File "./edit.py", line 234, in ? > > > > if __name__ =3D=3D "__main__": main(sys.argv[1:]) > > > > File "./edit.py", line 229, in main > > > > mp3seek=3Dmp3seek, mp3skip=3Dmp3skip) > > > > File "./edit.py", line 77, in reorganize > > > > movie.parse_vncrec(fname) > > > > File "/home/downloads/pyvnc2swf-0.8.2/movie.py", line 161, in > > > parse_vncrec > > > > parser.open(fname) > > > > File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 766, in open > > > > self.rfbparser.loop() > > > > File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 672, in loop > > > > while self.loop1(): > > > > File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 451, in loop1 > > > > raise RFBProtocolError('Unsupported msg: %d' % ord(c)) > > > > rfb.RFBProtocolError: Unsupported msg: 4 > > > > > > Ok, this is weird, because msg 4 is not defined in > > > the RFB protocol manual I currently have. > > > Which VNC server did you use? (and its version?) > > > > > > tightvnc-1.3dev5-1 > > I failed to replay this error. > Does this occur every time? Not sure about this exact error. I have had problems when i tried using vn= c format. I can create another webcast and see if I can reproduce it. If I do, I'll try and send it your way. (RAZ) Yusuke > |
From: horace <hor...@gm...> - 2006-02-13 07:02:59
|
On 2/13/06, Yusuke Shinyama <yu...@cs...> wrote: > > horace <hor...@gm...> wrote: > > > > i have some questions... > > > > i use it on windows. when i converted the swf to mpg with edit.py the > mouse > > cursor was missing in the mpg. is this normal? > > Currently, yes. But I'll try to make it in future. When I have a time... ok, thanks! :) > would there be a way to reduce the swf sizes some more? i don't really > know > > how the generated swfs work but wouldn't it be possible to add an optio= n > for > > some lossy jpg compression or something like that? what compression do > the > > video type swfs currently use? > > Did you try adding -Vc option in edit.py command? > It should reduce the file size a lot. > It's hard to control the compression ratio of swf in a way that jpg or mp= g > do, > because a swf file is more like a programming language for animation. yes i tried -Vc (it's the same as -t video -c i guess?). it's still pretty big. i don't find the swf specification anywhere but i could imagine the shape encoded swfs simply store rectangular bitmap areas which get drawn where something has changed on the screen. couldn't shape encoded swfs use some aggressive jpg compression then for these bitmaps? or are they already compressed with something like rle and jpg wouldn't make much difference? could video encoded swfs use sorensen or something like that? horace Yusuke > |
From: Yusuke S. <yu...@cs...> - 2006-02-13 06:22:36
|
horace <hor...@gm...> wrote: > > i have some questions... > > i use it on windows. when i converted the swf to mpg with edit.py the mouse > cursor was missing in the mpg. is this normal? Currently, yes. But I'll try to make it in future. When I have a time... > would there be a way to reduce the swf sizes some more? i don't really know > how the generated swfs work but wouldn't it be possible to add an option for > some lossy jpg compression or something like that? what compression do the > video type swfs currently use? Did you try adding -Vc option in edit.py command? It should reduce the file size a lot. It's hard to control the compression ratio of swf in a way that jpg or mpg do, because a swf file is more like a programming language for animation. Yusuke |
From: Yusuke S. <yu...@cs...> - 2006-02-13 06:14:26
|
richard zatorski <ric...@gm...> wrote: > On 2/10/06, Yusuke Shinyama <yu...@cs...> wrote: > > > > richard zatorski <ric...@gm...> wrote: > > > I gave 0.8.2 a shot but still have a lot of problems: > > > > > > Line 428 of swf.pyc > > > I always hit this assertion when I'm recording a long meeting ~ 1hour. > > > # assert self.objid < 65537, 'the number of objects exceeded the > > limit!' > > > > This is the current limitation of vnc2swf. > > I might provide some workaround in future. > > I commented out the assertion. You might just want to do that. Maybe. But now we start reusing object ids that exceed 65536, which might cause an unexpected effect. Once you convert the movie to SWFVideo format (via edit.py), it may be okay though... > > I recorded a vnc version of a session with audio, when I try to edit the > > > audio in I get: > > > > > > [razl@davey pyvnc2swf-0.8.2]$ ./edit.py -o /home/razl/test.swf -a > > > /home/razl/test.mp3 /home/razl/test.vnc > > > Using pygame 1.6.2 > > > Reading mp3 file: /home/razl/test.mp3... > > > Traceback (most recent call last): > > > File "./edit.py", line 234, in ? > > > if __name__ == "__main__": main(sys.argv[1:]) > > > File "./edit.py", line 155, in main > > > info.reg_mp3blocks(fp) > > > File "/home/downloads/pyvnc2swf-0.8.2/movie.py", line 106, in > > > reg_mp3blocks > > > MP3Reader(self.mp3).read_mp3file(fp, length, nsamples, seeksamples) > > > File "/home/downloads/pyvnc2swf-0.8.2/mp3.py", line 174, in > > read_mp3file > > > assert (h & 0x00060000L) == 0x00020000L, '!Layer3' > > > AssertionError: !Layer3 > > > > I'm wondering if there's any ID3 tag in the mp3 file. > > Remove them first and then retry. > > How do you edit MP3's. BTW, I think this might have something to do with > the length of the MP3. I think if the MP3 is slightly longer than the > video, this causes problems. There's a bunch of ID3 tag editors. But probably it's easier for us if you can send that mp3 file off the list, so that I can figure out the problem. No, the mp3 should be trimmed if it's longer than the video. > > If I try just converting to SWF without the MP# I get: > > > [razl@davey pyvnc2swf-0.8.2]$ ./edit.py -o /home/razl/test.swf > > > /home/razl/test.vnc > > > Using pygame 1.6.2 > > > Reading vncrec file: /home/razl/test.vnc, version='vncLog0.0'... > > > VNC Screen: size=1228x996, name="razl's razl-shared desktop > > (dtsrs2-90:99)" > > > Output movie size: 1228x996 > > > Traceback (most recent call last): > > > File "./edit.py", line 234, in ? > > > if __name__ == "__main__": main(sys.argv[1:]) > > > File "./edit.py", line 229, in main > > > mp3seek=mp3seek, mp3skip=mp3skip) > > > File "./edit.py", line 77, in reorganize > > > movie.parse_vncrec(fname) > > > File "/home/downloads/pyvnc2swf-0.8.2/movie.py", line 161, in > > parse_vncrec > > > parser.open(fname) > > > File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 766, in open > > > self.rfbparser.loop() > > > File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 672, in loop > > > while self.loop1(): > > > File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 451, in loop1 > > > raise RFBProtocolError('Unsupported msg: %d' % ord(c)) > > > rfb.RFBProtocolError: Unsupported msg: 4 > > > > Ok, this is weird, because msg 4 is not defined in > > the RFB protocol manual I currently have. > > Which VNC server did you use? (and its version?) > > > tightvnc-1.3dev5-1 I failed to replay this error. Does this occur every time? Yusuke |
From: richard z. <ric...@gm...> - 2006-02-12 03:50:25
|
On 2/10/06, Yusuke Shinyama <yu...@cs...> wrote: > > richard zatorski <ric...@gm...> wrote: > > I gave 0.8.2 a shot but still have a lot of problems: > > > > Line 428 of swf.pyc > > I always hit this assertion when I'm recording a long meeting ~ 1hour. > > # assert self.objid < 65537, 'the number of objects exceeded the > limit!' > > This is the current limitation of vnc2swf. > I might provide some workaround in future. I commented out the assertion. You might just want to do that. > I recorded a vnc version of a session with audio, when I try to edit the > > audio in I get: > > > > [razl@davey pyvnc2swf-0.8.2]$ ./edit.py -o /home/razl/test.swf -a > > /home/razl/test.mp3 /home/razl/test.vnc > > Using pygame 1.6.2 > > Reading mp3 file: /home/razl/test.mp3... > > Traceback (most recent call last): > > File "./edit.py", line 234, in ? > > if __name__ =3D=3D "__main__": main(sys.argv[1:]) > > File "./edit.py", line 155, in main > > info.reg_mp3blocks(fp) > > File "/home/downloads/pyvnc2swf-0.8.2/movie.py", line 106, in > > reg_mp3blocks > > MP3Reader(self.mp3).read_mp3file(fp, length, nsamples, seeksamples) > > File "/home/downloads/pyvnc2swf-0.8.2/mp3.py", line 174, in > read_mp3file > > assert (h & 0x00060000L) =3D=3D 0x00020000L, '!Layer3' > > AssertionError: !Layer3 > > I'm wondering if there's any ID3 tag in the mp3 file. > Remove them first and then retry. How do you edit MP3's. BTW, I think this might have something to do with the length of the MP3. I think if the MP3 is slightly longer than the video, this causes problems. > If I try just converting to SWF without the MP# I get: > > [razl@davey pyvnc2swf-0.8.2]$ ./edit.py -o /home/razl/test.swf > > /home/razl/test.vnc > > Using pygame 1.6.2 > > Reading vncrec file: /home/razl/test.vnc, version=3D'vncLog0.0'... > > VNC Screen: size=3D1228x996, name=3D"razl's razl-shared desktop > (dtsrs2-90:99)" > > Output movie size: 1228x996 > > Traceback (most recent call last): > > File "./edit.py", line 234, in ? > > if __name__ =3D=3D "__main__": main(sys.argv[1:]) > > File "./edit.py", line 229, in main > > mp3seek=3Dmp3seek, mp3skip=3Dmp3skip) > > File "./edit.py", line 77, in reorganize > > movie.parse_vncrec(fname) > > File "/home/downloads/pyvnc2swf-0.8.2/movie.py", line 161, in > parse_vncrec > > parser.open(fname) > > File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 766, in open > > self.rfbparser.loop() > > File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 672, in loop > > while self.loop1(): > > File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 451, in loop1 > > raise RFBProtocolError('Unsupported msg: %d' % ord(c)) > > rfb.RFBProtocolError: Unsupported msg: 4 > > Ok, this is weird, because msg 4 is not defined in > the RFB protocol manual I currently have. > Which VNC server did you use? (and its version?) tightvnc-1.3dev5-1 (RAZ) Yusuke > |
From: horace <hor...@gm...> - 2006-02-12 00:12:13
|
hello, i came across this tool yesterday and find it awesome! great job! i have some questions... i use it on windows. when i converted the swf to mpg with edit.py the mouse cursor was missing in the mpg. is this normal? would there be a way to reduce the swf sizes some more? i don't really know how the generated swfs work but wouldn't it be possible to add an option fo= r some lossy jpg compression or something like that? what compression do the video type swfs currently use? i noticed that much smaller sizes can be achieved by converting the swf to mpg and then to mpg4 but swf would be much superior for web based tutorials if the filesize could be optimized better. horace |
From: Yusuke S. <yu...@cs...> - 2006-02-10 20:58:23
|
richard zatorski <ric...@gm...> wrote: > I gave 0.8.2 a shot but still have a lot of problems: > > Line 428 of swf.pyc > I always hit this assertion when I'm recording a long meeting ~ 1hour. > # assert self.objid < 65537, 'the number of objects exceeded the limit!' This is the current limitation of vnc2swf. I might provide some workaround in future. > I recorded a vnc version of a session with audio, when I try to edit the > audio in I get: > > [razl@davey pyvnc2swf-0.8.2]$ ./edit.py -o /home/razl/test.swf -a > /home/razl/test.mp3 /home/razl/test.vnc > Using pygame 1.6.2 > Reading mp3 file: /home/razl/test.mp3... > Traceback (most recent call last): > File "./edit.py", line 234, in ? > if __name__ == "__main__": main(sys.argv[1:]) > File "./edit.py", line 155, in main > info.reg_mp3blocks(fp) > File "/home/downloads/pyvnc2swf-0.8.2/movie.py", line 106, in > reg_mp3blocks > MP3Reader(self.mp3).read_mp3file(fp, length, nsamples, seeksamples) > File "/home/downloads/pyvnc2swf-0.8.2/mp3.py", line 174, in read_mp3file > assert (h & 0x00060000L) == 0x00020000L, '!Layer3' > AssertionError: !Layer3 I'm wondering if there's any ID3 tag in the mp3 file. Remove them first and then retry. > If I try just converting to SWF without the MP# I get: > [razl@davey pyvnc2swf-0.8.2]$ ./edit.py -o /home/razl/test.swf > /home/razl/test.vnc > Using pygame 1.6.2 > Reading vncrec file: /home/razl/test.vnc, version='vncLog0.0'... > VNC Screen: size=1228x996, name="razl's razl-shared desktop (dtsrs2-90:99)" > Output movie size: 1228x996 > Traceback (most recent call last): > File "./edit.py", line 234, in ? > if __name__ == "__main__": main(sys.argv[1:]) > File "./edit.py", line 229, in main > mp3seek=mp3seek, mp3skip=mp3skip) > File "./edit.py", line 77, in reorganize > movie.parse_vncrec(fname) > File "/home/downloads/pyvnc2swf-0.8.2/movie.py", line 161, in parse_vncrec > parser.open(fname) > File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 766, in open > self.rfbparser.loop() > File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 672, in loop > while self.loop1(): > File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 451, in loop1 > raise RFBProtocolError('Unsupported msg: %d' % ord(c)) > rfb.RFBProtocolError: Unsupported msg: 4 Ok, this is weird, because msg 4 is not defined in the RFB protocol manual I currently have. Which VNC server did you use? (and its version?) Yusuke |
From: richard z. <ric...@gm...> - 2006-02-10 20:42:00
|
I gave 0.8.2 a shot but still have a lot of problems: Line 428 of swf.pyc I always hit this assertion when I'm recording a long meeting ~ 1hour. # assert self.objid < 65537, 'the number of objects exceeded the limit!' I recorded a vnc version of a session with audio, when I try to edit the audio in I get: [razl@davey pyvnc2swf-0.8.2]$ ./edit.py -o /home/razl/test.swf -a /home/razl/test.mp3 /home/razl/test.vnc Using pygame 1.6.2 Reading mp3 file: /home/razl/test.mp3... Traceback (most recent call last): File "./edit.py", line 234, in ? if __name__ =3D=3D "__main__": main(sys.argv[1:]) File "./edit.py", line 155, in main info.reg_mp3blocks(fp) File "/home/downloads/pyvnc2swf-0.8.2/movie.py", line 106, in reg_mp3blocks MP3Reader(self.mp3).read_mp3file(fp, length, nsamples, seeksamples) File "/home/downloads/pyvnc2swf-0.8.2/mp3.py", line 174, in read_mp3file assert (h & 0x00060000L) =3D=3D 0x00020000L, '!Layer3' AssertionError: !Layer3 If I try just converting to SWF without the MP# I get: [razl@davey pyvnc2swf-0.8.2]$ ./edit.py -o /home/razl/test.swf /home/razl/test.vnc Using pygame 1.6.2 Reading vncrec file: /home/razl/test.vnc, version=3D'vncLog0.0'... VNC Screen: size=3D1228x996, name=3D"razl's razl-shared desktop (dtsrs2-90:= 99)" Output movie size: 1228x996 Traceback (most recent call last): File "./edit.py", line 234, in ? if __name__ =3D=3D "__main__": main(sys.argv[1:]) File "./edit.py", line 229, in main mp3seek=3Dmp3seek, mp3skip=3Dmp3skip) File "./edit.py", line 77, in reorganize movie.parse_vncrec(fname) File "/home/downloads/pyvnc2swf-0.8.2/movie.py", line 161, in parse_vncre= c parser.open(fname) File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 766, in open self.rfbparser.loop() File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 672, in loop while self.loop1(): File "/home/downloads/pyvnc2swf-0.8.2/rfb.py", line 451, in loop1 raise RFBProtocolError('Unsupported msg: %d' % ord(c)) rfb.RFBProtocolError: Unsupported msg: 4 (RAZ) |
From: Yusuke S. <yu...@cs...> - 2006-02-10 03:57:04
|
Hi folks, Finally I had a time to release pyvnc2swf-0.8.2... This is a bugfix release, including a small patch for the mouse pointer problems. http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf-0.8.2.tar.gz Thanks, Yusuke |
From: Yusuke S. <yu...@cs...> - 2006-02-10 01:28:46
|
Hi Bruce, Thanks for reporting. I think I fixed this bug, so I am going to release the next version soon. Very soon. If it still doesn't work, or can't wait the upcoming version, try adding -N option to make it handle the pointer in a traditional way. Yusuke Bruce Cadieux <bru...@ch...> wrote: > Ever since the efforts began to fix the pointers displaying badly for folks. > They have been broken for me. > > The last version of pyvnc2swf to work properly was 0.7.2, every version from > that point on has had weird pointer shapes for me. > > Is there something I can do to get these pointers working in the newer > versions the way they did in the older versions. > > I am using SuSE 10.0 with x11vnc. |
From: Yusuke S. <yu...@cs...> - 2006-02-10 01:26:10
|
Hi Albert, Albert Chang <alb...@co...> wrote: > Hi, > > I used pyvnc2swf to record a video tutorial. Initially it was too long > (1 hour), so I split it up into 4 chapters, and decided I could cut down > on the time by adding audio to it instead of using text. However, when > I did this: > > edit.py -o Chapter1.swf -a Raw1.mp3 Raw1.swf > (snip) > > So then I decided to split the mp3 file into 3 files (each 3-5 minutes > long). I ran this: No, you don't have to split the mp3 file. Instead, you could limit the frames to output into one file. Try: $ edit.py -f0-10000 -o Chapter1-1.swf -a Raw1.mp3 Raw1.swf $ edit.py -f10000-20000 -o Chapter1-2.swf -a Raw1.mp3 Raw1.swf $ edit.py -f20000-30000 -o Chapter1-3.swf -a Raw1.mp3 Raw1.swf ... Maybe creating some simple split utility in future might be good. Yusuke |
From: Yusuke S. <yu...@cs...> - 2006-02-10 01:19:10
|
I don't know how to send unix-like signals on Windows. Probably, on Windows, it may not suitable to call other processes as functions like Unix. If you could convert the graphical version of pyvnc2swf including Tkinter to an exe, it would be still great. Yusuke Andy Bueler <ab...@gm...> wrote: > Hi, > > I converted pyvnc2swf to a dos exe using py2exe. > Now I would like to create a windows GUI and use pyvnc2swf as command line > tool. > Starting the recording is no problem but I don't know how I could stop it > since it requires > me to manually press "Ctr-C" in the dos window to do that. > > Any idea how this could be achieved? > Does anybody know if there is a command I could send to the dos window to > simulate "Ctr-C" key press? > > > Thanks for helping : ) > > Kind Regards, > Andy |
From: Bruce C. <bru...@ch...> - 2006-02-08 20:44:58
|
Ever since the efforts began to fix the pointers displaying badly for folks. They have been broken for me. The last version of pyvnc2swf to work properly was 0.7.2, every version from that point on has had weird pointer shapes for me. Is there something I can do to get these pointers working in the newer versions the way they did in the older versions. I am using SuSE 10.0 with x11vnc. |
From: Albert C. <alb...@co...> - 2006-02-07 23:03:40
|
Hi, I used pyvnc2swf to record a video tutorial. Initially it was too long (1 hour), so I split it up into 4 chapters, and decided I could cut down on the time by adding audio to it instead of using text. However, when I did this: edit.py -o Chapter1.swf -a Raw1.mp3 Raw1.swf After all the dots, it prints this: > (most recent call last): > File "C:\Documents and Settings\Albert\My > Documents\vnc2swf\pyvnc2swf-0.8.1\ed > it.py", line 229, in ? > if __name__ == "__main__": main(sys.argv[1:]) > File "C:\Documents and Settings\Albert\My > Documents\vnc2swf\pyvnc2swf-0.8.1\ed > it.py", line 224, in main > mp3seek=mp3seek, mp3skip=mp3skip) > File "C:\Documents and Settings\Albert\My > Documents\vnc2swf\pyvnc2swf-0.8.1\ed > it.py", line 82, in reorganize > builder.build(r) > File "C:\Documents and Settings\Albert\My > Documents\vnc2swf\pyvnc2swf-0.8.1\ou > tput.py", line 874, in build > self.stream.next_frame() > File "C:\Documents and Settings\Albert\My > Documents\vnc2swf\pyvnc2swf-0.8.1\ou > tput.py", line 544, in next_frame > self.add_object(self.screen.get_image(x0, y0, w, h), depth, x0, y0) > File "C:\Documents and Settings\Albert\My > Documents\vnc2swf\pyvnc2swf-0.8.1\ou > tput.py", line 511, in add_object > self.place_object2(self.define_shape(w, h, data), x, y, depth) > File "C:\Documents and Settings\Albert\My > Documents\vnc2swf\pyvnc2swf-0.8.1\ou > tput.py", line 405, in define_shape > shape_id = self.writer.newid() > File "C:\Documents and Settings\Albert\My > Documents\vnc2swf\pyvnc2swf-0.8.1\sw > f.py", line 428, in newid > assert self.objid < 65536, 'the number of objects exceeded the limit!' > AssertionError: the number of objects exceeded the limit! So then I decided to split the mp3 file into 3 files (each 3-5 minutes long). I ran this: edit.py -o Chapter1.swf -a Raw1_1.mp3 -a Raw1_2.mp3 -a Raw1_3.mp3 Raw1.swf However, I got the same results. Anybody got any ideas on how to fix this? Raw1.swf is 24.1 MB. Is it the swf file that's too big? |
From: Andy B. <ab...@gm...> - 2006-01-31 21:53:06
|
Hi, I converted pyvnc2swf to a dos exe using py2exe. Now I would like to create a windows GUI and use pyvnc2swf as command line tool. Starting the recording is no problem but I don't know how I could stop it since it requires me to manually press "Ctr-C" in the dos window to do that. Any idea how this could be achieved? Does anybody know if there is a command I could send to the dos window to simulate "Ctr-C" key press? Thanks for helping : ) Kind Regards, Andy |
From: Andy B. <ab...@gm...> - 2006-01-31 21:21:51
|
Any news regarding this feature? On 11/27/05, Andy Bueler <ab...@gm...> wrote: > > Hi, > > currently it not possible to scale recordings other then factor 0.5 > When I use a scale-factor 0.8 it looks ugly (this is already reported in > the documentation). > > I was just wondering if this is something that can be changed in the > future or is there no way to overcome this limitation? > > Scalling to a surtain sice would be great :-) > > > Kind Regards, > Andreas > |
From: Olivier B. <Bon...@in...> - 2006-01-31 20:25:22
|
Luis, > > This is a SWF (Flash) limit. > Try encondig as video instead of shape, this might solve your problem. Thanks for the suggestion, it works correctly. > I also suggest taking a look at > http://teleteaching.uni-trier.de/news.en.html for recording lectures. > By the way, the TeleTeaching Tool recordings are based on vnc with some > small changes to reduce the number of bytes and increase throughput. > Maybe pvnc2swf could be adapted to also read ttt files. I hope to find some time to have a look at this tool. A few years ago, one of the researchers of my team developped a tool called econf (econf.sourceforge.net) to also record courses based on Java Media Framework, but I stopped using it because it requires the installation of tools on the student's browser. Flash has the advantage of being installed almost everywhere. If someone has suggestions to reduce the number of bytes of a SWF file without affecting the quality, I'm interested. Best regards, Olivier |
From: <lfk...@ya...> - 2006-01-31 11:28:36
|
Hi, This is a SWF (Flash) limit. Try encondig as video instead of shape, this might solve your problem. I also suggest taking a look at http://teleteaching.uni-trier.de/news.en.html for recording lectures. By the way, the TeleTeaching Tool recordings are based on vnc with some small changes to reduce the number of bytes and increase throughput. Maybe pvnc2swf could be adapted to also read ttt files. Regards, Luis Fernando Olivier Bonaventure <Bon...@in...> escreveu: Hello, I'm trying to use vnc2swf to record the courses that I give to my students. A course is typically composed of two hours of audio and the slides are recorded by vnc2swf. When I use edit.py to record a small test, everything works perfectly and I can easily create a SWF file with the audio synchronised to the slides. However, when a use a two hours presentation, edit.py fails. File "./edit.py", line 229, in ? if __name__ == "__main__": main(sys.argv[1:]) File "./edit.py", line 224, in main mp3seek=mp3seek, mp3skip=mp3skip) File "./edit.py", line 82, in reorganize builder.build(r) File "/usr/local/src/pyvnc2swf-0.8.1/output.py", line 874, in build self.stream.next_frame() File "/usr/local/src/pyvnc2swf-0.8.1/output.py", line 544, in next_frame self.add_object(self.screen.get_image(x0, y0, w, h), depth, x0, y0) File "/usr/local/src/pyvnc2swf-0.8.1/output.py", line 511, in add_object self.place_object2(self.define_shape(w, h, data), x, y, depth) File "/usr/local/src/pyvnc2swf-0.8.1/output.py", line 405, in define_shape shape_id = self.writer.newid() File "/usr/local/src/pyvnc2swf-0.8.1/swf.py", line 428, in newid assert self.objid < 65536, 'the number of objects exceeded the limit!' Apparently, there is a 65536 limit to the number of objects that can be created by swf.py. What is the meaning of this magic number ? Best regards and thanks a lot for vnc2swf, Olivier Bonaventure -- CSE Dept. UCL, Belgium - http://www.info.ucl.ac.be/people/OBO/ ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Vnc2swf-users mailing list Vnc...@li... https://lists.sourceforge.net/lists/listinfo/vnc2swf-users --------------------------------- Yahoo! doce lar. Faça do Yahoo! sua homepage. |
From: Olivier B. <Bon...@in...> - 2006-01-30 20:45:27
|
Hello, I'm trying to use vnc2swf to record the courses that I give to my students. A course is typically composed of two hours of audio and the slides are recorded by vnc2swf. When I use edit.py to record a small test, everything works perfectly and I can easily create a SWF file with the audio synchronised to the slides. However, when a use a two hours presentation, edit.py fails. File "./edit.py", line 229, in ? if __name__ == "__main__": main(sys.argv[1:]) File "./edit.py", line 224, in main mp3seek=mp3seek, mp3skip=mp3skip) File "./edit.py", line 82, in reorganize builder.build(r) File "/usr/local/src/pyvnc2swf-0.8.1/output.py", line 874, in build self.stream.next_frame() File "/usr/local/src/pyvnc2swf-0.8.1/output.py", line 544, in next_frame self.add_object(self.screen.get_image(x0, y0, w, h), depth, x0, y0) File "/usr/local/src/pyvnc2swf-0.8.1/output.py", line 511, in add_object self.place_object2(self.define_shape(w, h, data), x, y, depth) File "/usr/local/src/pyvnc2swf-0.8.1/output.py", line 405, in define_shape shape_id = self.writer.newid() File "/usr/local/src/pyvnc2swf-0.8.1/swf.py", line 428, in newid assert self.objid < 65536, 'the number of objects exceeded the limit!' Apparently, there is a 65536 limit to the number of objects that can be created by swf.py. What is the meaning of this magic number ? Best regards and thanks a lot for vnc2swf, Olivier Bonaventure -- CSE Dept. UCL, Belgium - http://www.info.ucl.ac.be/people/OBO/ |