Re: [Vnc2swf-users] Project Future
Status: Alpha
Brought to you by:
euske
From: Matthias S. <mat...@uz...> - 2009-04-17 11:11:12
|
hello, you could use the C library if it is found/built (check at startup), otherwise, just use the python code? :) matthias btw, I use it both under linux (home) & windows (work) > -----Oorspronkelijk bericht----- > Van: Yusuke Shinyama [mailto:yu...@cs...] > Verzonden: vrijdag 17 april 2009 1:16 > Aan: General discussion about vnc2swf > Onderwerp: Re: [Vnc2swf-users] Project Future > > Hi, > > To create a speed-efficient recorder, we really need faster > byte operations. > Probably the most expensive part in the current pyvnc2swf > implementation is > just to convert the whole bitmap into another format. > > More specifically, look at line 61 in image.py: > > def create_image_from_string_argb(w, h, data): > data = ''.join([ data[i+1]+data[i+2]+data[i+3]+data[i] for > i in xrange(0, len(data), 4) ]) > return pygame.image.fromstring(data, (w, h), 'RGBA') > > Now imagine a VNC server sends you a 1600x1200 bitmap (7.6MBytes) > That's a lot of data for doing this kind of operation for each frame. > > For some time I was thinking of writing some external > functions in C, which > would be hundred times faster to do this kinda stuff. But it breaks > the beauty of platform-independentness. This is the point > where I was stuck. > People would need to install a C compiler to build pyvnc2swf. > Perhaps it's not a big problem in Linux or *BSD, but I was > afraid it brings > some extra trouble. I certainly expect complaints from > Windows/Mac folks. > > So... how do you guys think? Maybe I should ask people what kind > of platform they are using. If cross-platform is not a concern, I > think this is the way to go. > > Yusuke > > > On Thu, 16 Apr 2009 22:33:16 +0200 (CEST), Olivier Hervieu > <oli...@wa...> wrote: > > Great, > > > > TheAmigo, i think that our needs are the same ... we have > to record several (more than 2!!) vnc session on the same computer... > > > > your idea to write a ffmeg plugin is great that might > interressed people who wants to have an authoring/transcoding > tool shipped with pyvnc2swf. > > > > So for the next week i propose that everybody interressed > in the project of a safe and fast vncrecorder to send on this > mailing list what should and shouldn't be the the vncrecorder. > > > > I propose the same for people who are interressed in an > authoring tool to send here what should be this vncauthoringtool. > > > > -------------------------------------------------------------- > ---------------- > Stay on top of everything new and different, both inside and > around Java (TM) technology - register by April 22, and save > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. > 300 plus technical and hands-on sessions. Register today. > Use priority code J9JMT32. http://p.sf.net/sfu/p > _______________________________________________ > Vnc2swf-users mailing list > Vnc...@li... > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > |