[Vnc2swf-users] size of SWF files
Status: Alpha
Brought to you by:
euske
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/ |