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