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