Re: [Vnc2swf-users] pyvnc2swf-0.8.2 is released
Status: Alpha
Brought to you by:
euske
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 > |