Re: [Vnc2swf-users] VNC Timestamp to SWF FrameRate
Status: Alpha
Brought to you by:
euske
From: <lfk...@ya...> - 2005-11-24 17:17:49
|
Hi, First I would like to tell you that I'm not a developer of vnc2swf. I'm just a user trying to help the project. Do you know anything about Flash or the swf file? Well, the framerate tells how many changes per second you can have. Movies for cinema are recorded at 24 frames/sec. Most Flash animations are built with 12 frames/sec (or close to it). Usually this gives smooth movements. Unlike movies that have a still image on each frame, flash animations work with objects on stage. Think of them as actors. You only have to tell when to place it on stage, when to move it around and when to step it out. No extra information is needed to keep an actor (object) on stage. So if you use 10 frames/sec then you can only make 10 changes on a second. What happens to the changes in between? The updates between frames are grouped and placed on the next frame. This means that if the mouse has moved 5 times between frames than the next frame will show the mouse only at its last position. It's just as if the screen were recorded at the framerate. The only difference is that vnc2swf doesn't take a screenshot everytime. It register on the swf only the updates. Luis Fernando --- Kraus Blaise <ra...@ya...> escreveu: > Hi, > thank you for the explantion. I did not understand the conversion of the > time stamps to the frame rate very well. If I have for example a frame rate > of 10 fps and have olnly 2 Update with time stamps 120 ms and 760 ms within > a second, how can I synchronise the timestamp with the framerate? > > -The movement of the mouse pointers is very fast and one can get sometimes > within a second more than 35 update (messages) for the mouse pointer. How > is it handled in VNC2SWF? (assuming the framerate is smaller than the > number of Update) > > -Wich value can I give to the framerate if I record a Power-Point > Presentation for instance? > - I also want to know how the mouse pointer is represented, as picture? > rectangular area...? > > I would look forward to an answer > > > lfk...@ya... a écrit : Hi, > > The RFB protocol used by VNC is based on framebuffer update messages. These > messages basically contain rectangle areas from the remote screen that have > changed. > Theses messages are sent uppon request and contain the areas that need to be > updated since the last request. > The SWF file is based on objects on the stage, frames and a framerate. The > objects are placed on the stage in a frame and stay on stage (showing) until > they are removed in another frame. > Pvnc2swf converts the RFB messages into rectangle objects on the stage in > SWF. > The framerate is used to sync the movie with the timestamp of the updates. > This > is done by adding the necessary empty frames (without new objects) on the swf > file (time elapsed/framerate). The objects are placed on the stage in a > frame > that represents that elapsed time. > The objects on stage that are completely covered (by other objects) are also > removed during an update. > Hope it helps. > > Luis Fernando > > --- Kraus Blaise escreveu: > > > Hello, > > > > VNC use timestamp for each message. I want to now how this timestamp and > > Message are adapt to SWF-Frame and the fix SWF-framerate. > > > > Thank u. > > > > Regard > > > > Ranrul > > > > > > > > --------------------------------- > > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger > > Téléchargez le ici ! > > > > > > > > > > _______________________________________________________ > Yahoo! Acesso Grátis: Internet rápida e grátis. > Instale o discador agora! > http://br.acesso.yahoo.com/ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Vnc2swf-users mailing list > Vnc...@li... > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > > > > > --------------------------------- > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger > Téléchargez le ici ! _______________________________________________________ Yahoo! Acesso Grátis: Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ |