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