vnc2swf-users Mailing List for vnc2swf (Page 20)
Status: Alpha
Brought to you by:
euske
You can subscribe to this list here.
2005 |
Jan
|
Feb
(1) |
Mar
(11) |
Apr
(9) |
May
(2) |
Jun
(2) |
Jul
(7) |
Aug
(32) |
Sep
(22) |
Oct
(31) |
Nov
(54) |
Dec
(8) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(11) |
Feb
(14) |
Mar
(2) |
Apr
(6) |
May
(13) |
Jun
(10) |
Jul
(14) |
Aug
(12) |
Sep
(13) |
Oct
(62) |
Nov
(18) |
Dec
(12) |
2007 |
Jan
(13) |
Feb
(10) |
Mar
(27) |
Apr
(1) |
May
(10) |
Jun
(1) |
Jul
|
Aug
(10) |
Sep
(21) |
Oct
(15) |
Nov
(3) |
Dec
(4) |
2008 |
Jan
(4) |
Feb
(24) |
Mar
(1) |
Apr
(9) |
May
(7) |
Jun
(11) |
Jul
(10) |
Aug
(11) |
Sep
(4) |
Oct
|
Nov
(13) |
Dec
|
2009 |
Jan
(3) |
Feb
(4) |
Mar
(6) |
Apr
(37) |
May
|
Jun
(5) |
Jul
(1) |
Aug
(2) |
Sep
(1) |
Oct
|
Nov
(20) |
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2011 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
From: Yusuke S. <yu...@cs...> - 2005-11-27 00:06:06
|
Hi Andy, thanks for reporting. I have fixed this bug. Hopefully I'll release 0.8.1 in this weekend.. Yusuke Andy Bueler <ab...@gm...> wrote: > Hi, > > I used version 0.7.1 and 0.7.2 before and they where working fine. > With version the latest version 0.8 I get the following error. > > (Using RealVNC Server on Windows XP) > > ********************************************************************************************************** > Parameter: > -n -o "D:\Dev\FLASHW~1\IXOOL\bin\IXOOL\temp\temprec.swf" -C 685x464+30+30 -t > video -r 10 127.0.0.1 6969 > > Output: > Connected: 127.0.0.1:6969, protocol_version=3.8, preferred_encoding=(0, > -232, -239) > VNC Screen: size=1280x800, name='SHERIFF-VAIO' > Output movie size: 685x464 > Creating movie: 'D:\\Temp\\temprec.swf': version=7, size=685x464, > framerate=10, compression=None > Traceback (most recent call last): > File "vnc2swf.py", line 367, in ? > File "vnc2swf.py", line 360, in main > File "vnc2swf.py", line 253, in vnc2swf > File "rfb.pyc", line 438, in loop > File "rfb.pyc", line 396, in loop1 > ValueError: xrange() arg 3 must not be zero > > *********************************************************************************************************** > > Thank you > > Kind Regards > Andreas > |
From: Andy B. <ab...@gm...> - 2005-11-26 22:46:23
|
Hi, I used version 0.7.1 and 0.7.2 before and they where working fine. With version the latest version 0.8 I get the following error. (Using RealVNC Server on Windows XP) ***************************************************************************= ******************************* Parameter: -n -o "D:\Dev\FLASHW~1\IXOOL\bin\IXOOL\temp\temprec.swf" -C 685x464+30+30 -= t video -r 10 127.0.0.1 6969 Output: Connected: 127.0.0.1:6969, protocol_version=3D3.8, preferred_encoding=3D(0, -232, -239) VNC Screen: size=3D1280x800, name=3D'SHERIFF-VAIO' Output movie size: 685x464 Creating movie: 'D:\\Temp\\temprec.swf': version=3D7, size=3D685x464, framerate=3D10, compression=3DNone Traceback (most recent call last): File "vnc2swf.py", line 367, in ? File "vnc2swf.py", line 360, in main File "vnc2swf.py", line 253, in vnc2swf File "rfb.pyc", line 438, in loop File "rfb.pyc", line 396, in loop1 ValueError: xrange() arg 3 must not be zero ***************************************************************************= ******************************** Thank you Kind Regards Andreas |
From: <lfk...@ya...> - 2005-11-25 11:49:34
|
Yusuke, I had noticed the problem of not sending the pointer position with UltraVnc. I posted a message on their site about this and they've implemented it. It's available at: http://doc.uvnc.com/pointerpos/ http://forum.ultravnc.net/viewtopic.php?p=19438#19438 I also couldn't make Ultravnc work properly with pvnc2swf recording "shapes". I don't know why but UltraVnc makes my screen blink just after start recording so it sends my whole desktop twice as a raw image. Pvnc2swf just takes too long to process them. When I look at the swf file the screen is black for about 9 seconds. But it works right after that. If I record as "vnc" and use edit.py afterwards then it's ok. Luis Fernando _______________________________________________________ Yahoo! Acesso Grátis: Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ |
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/ |
From: <lfk...@ya...> - 2005-11-24 11:39:41
|
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 <ra...@ya...> 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/ |
From: Kraus B. <ra...@ya...> - 2005-11-23 22:25:03
|
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 ! |
From: Jimmy B. <ji...@dw...> - 2005-11-21 18:07:11
|
Thanks! Yusuke Shinyama wrote: >Jimmy Brake <ji...@dw...> wrote: > > >>Hi! >> >>I have a presentation I want to put online. The presentation is about 20 >>slides and each slide will have about 1 minute to 5 minutes of audio per >>slide. So maybe 40 minutes for the complete presentation. Will vnc2swf >>be able to handle a 40 minute presentation? I seem to recall that >>anything over 5 minutes was a little iffy since the movies are held in >>RAM when they are being recorded. >> >> > >Recording should be fine with the latest version of pyvnc2swf (or vnc2swf). >But browser might have a problem when playing a long movie. >So you can reencode it by using edit.py program to convert and compress >the movie into a long-is-still-safe format: > > $ ./edit.py -cV -o out.swf -a audio.mp3 in.swf > >This way I have created 20-minute movie which plays just fine. > >Yusuke > > |
From: Yusuke S. <yu...@cs...> - 2005-11-21 16:38:51
|
Jimmy Brake <ji...@dw...> wrote: > Hi! > > I have a presentation I want to put online. The presentation is about 20 > slides and each slide will have about 1 minute to 5 minutes of audio per > slide. So maybe 40 minutes for the complete presentation. Will vnc2swf > be able to handle a 40 minute presentation? I seem to recall that > anything over 5 minutes was a little iffy since the movies are held in > RAM when they are being recorded. Recording should be fine with the latest version of pyvnc2swf (or vnc2swf). But browser might have a problem when playing a long movie. So you can reencode it by using edit.py program to convert and compress the movie into a long-is-still-safe format: $ ./edit.py -cV -o out.swf -a audio.mp3 in.swf This way I have created 20-minute movie which plays just fine. Yusuke |
From: Jimmy B. <ji...@dw...> - 2005-11-21 14:28:12
|
Hi! I have a presentation I want to put online. The presentation is about 20 slides and each slide will have about 1 minute to 5 minutes of audio per slide. So maybe 40 minutes for the complete presentation. Will vnc2swf be able to handle a 40 minute presentation? I seem to recall that anything over 5 minutes was a little iffy since the movies are held in RAM when they are being recorded. Any guidance/help would be greatly apprciated. Thanks! Jimmy |
From: Matthias S. <mat...@uz...> - 2005-11-21 10:32:18
|
Hi > -----Oorspronkelijk bericht----- > Van: vnc...@li...=20 > [mailto:vnc...@li...] Namens=20 > Yusuke Shinyama > Verzonden: zondag 20 november 2005 12:37 > Does anyone has any preference or recommendation of > vnc servers for recording on Windows? I think on Unix > Xvnc is just fine, but am interested in the differences > between {Real,Tight,Ultra}Vnc. normally, I use Ultravnc on windows. It's a decision I made some time ago, so I don't know if it still holds; but the reason then, was that ultravnc seemed to have a much more active development than the other projects and it has some nice extra features like chat, file transfer, add-on modules for encryption etc. I also like the video driver they provide which lightens the load on the cpu especially when moving the cursor. Back then I was also looking for a vnc server which would be fast enough to demo a (Direct)3D system remotely and Ultravnc seemed to do this job just fine. I'm not sure whether any of my points are actually relevant to the vn2swf project though ;) regards matthias PS: thanks for the great project! You really made my day by releasing a python version ;) |
From: Ian F. <ian...@gm...> - 2005-11-21 07:06:15
|
I've been using tightvnc on both the windows and linux side and it works fine... lots of bandwidth required though... Ian On 11/20/05, Yusuke Shinyama <yu...@cs...> wrote: > > Dear folks, > > Does anyone has any preference or recommendation of > vnc servers for recording on Windows? I think on Unix > Xvnc is just fine, but am interested in the differences > between {Real,Tight,Ultra}Vnc. > > Yusuke > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=3D7628&alloc_id=3D16845&op=3Dclick > _______________________________________________ > Vnc2swf-users mailing list > Vnc...@li... > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > |
From: Yusuke S. <yu...@cs...> - 2005-11-21 04:53:13
|
Vincent, As I mentioned in the previous message, I couldn't run your MPEGVideoStream correctly, at least on my machine. But the patch was applied so that people can test it. I installed pymedia-1.3.5.0. It generated something playable with a certain duration so I guess the format is fine. I tried MPlayer-1.0pre7try2 (Linux, with default codecs) and QuickTime 6.0 (OSX) but both show a plain black screen. I'm not really familiar with mpeg encoders. I would appreciate if you can tell something from this. Thanks, Yusuke Vincent Pelletier <sub...@ya...> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Sun, 20 Nov 2005 04:10:43 -0500 > Yusuke Shinyama <yu...@cs...> wrote: > > I'll incorporate your changes into the next version. > > Thanks. > > > I think your coding style is okay. One thing I'd like to > > change is to make "import pymedia.video.vcodec" as optional, > > so that a user can still run the program without installing > > pymedia. > > I'm quite new to python, so I don't know much that kind of trick. > > > Also, we have cvs (although currently I'm only the person who're > > committing to it.) > > http://cvs.sourceforge.net/viewcvs.py/vnc2swf/ > > The reason why I asked was because I prefer checking out a cvs than > using tarball : you can update the cvs copy with a single command > instead of googling for that-url-I-always-forget for each tarball ;) . > > Vincent Pelletier > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (GNU/Linux) > > iD8DBQFDgI8jibN+MXHkAogRApp8AJ9u5c+mPcwR2Do+DrgcamDNVeHhXQCfX8BD > +FPSQ1sovG1r7/Fr7R5Wv7uIPwMFAUOAjyMURCgpFDKO1RECmnwAoLai5nZs16GO > /0tz8dlhl8EfsmNtAJ99TPmNc2EDKXqaL7u2ylvlPjNKkA== > =KRBp > -----END PGP SIGNATURE----- > |
From: Yusuke S. <yu...@cs...> - 2005-11-21 04:44:27
|
Hi, pyvnc2swf-0.8.0 is out. It includes Luis' pseudo encoding patch, and various VNC protocol errors are fixed. Now it should run on any vnc servers and display a mouse cursor correctly on OSX (with masking). http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf-0.8.0.tar.gz http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf-0.8.0.zip Although I added Vincent's MPEG patch, I couldn't make it work on my environment, so I didn't mention this as a feature enhancement for this version. But hopefully I will in the next version. Thanks Yusuke |
From: Vincent P. <sub...@ya...> - 2005-11-20 14:59:01
|
LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQ0KSGFzaDogU0hBMQ0KDQpPbiBTdW4s IDIwIE5vdiAyMDA1IDA0OjEwOjQzIC0wNTAwDQpZdXN1a2UgU2hpbnlhbWEgPHl1c3VrZUBjcy5u eXUuZWR1PiB3cm90ZToNCj4gSSdsbCBpbmNvcnBvcmF0ZSB5b3VyIGNoYW5nZXMgaW50byB0aGUg bmV4dCB2ZXJzaW9uLg0KDQpUaGFua3MuDQoNCj4gSSB0aGluayB5b3VyIGNvZGluZyBzdHlsZSBp cyBva2F5LiBPbmUgdGhpbmcgSSdkIGxpa2UgdG8NCj4gY2hhbmdlIGlzIHRvIG1ha2UgImltcG9y dCBweW1lZGlhLnZpZGVvLnZjb2RlYyIgYXMgb3B0aW9uYWwsDQo+IHNvIHRoYXQgYSB1c2VyIGNh biBzdGlsbCBydW4gdGhlIHByb2dyYW0gd2l0aG91dCBpbnN0YWxsaW5nDQo+IHB5bWVkaWEuDQoN CkknbSBxdWl0ZSBuZXcgdG8gcHl0aG9uLCBzbyBJIGRvbid0IGtub3cgbXVjaCB0aGF0IGtpbmQg b2YgdHJpY2suDQoNCj4gQWxzbywgd2UgaGF2ZSBjdnMgKGFsdGhvdWdoIGN1cnJlbnRseSBJJ20g b25seSB0aGUgcGVyc29uIHdobydyZQ0KPiBjb21taXR0aW5nIHRvIGl0LikNCj4gaHR0cDovL2N2 cy5zb3VyY2Vmb3JnZS5uZXQvdmlld2N2cy5weS92bmMyc3dmLw0KDQpUaGUgcmVhc29uIHdoeSBJ IGFza2VkIHdhcyBiZWNhdXNlIEkgcHJlZmVyIGNoZWNraW5nIG91dCBhIGN2cyB0aGFuDQp1c2lu ZyB0YXJiYWxsIDogeW91IGNhbiB1cGRhdGUgdGhlIGN2cyBjb3B5IHdpdGggYSBzaW5nbGUgY29t bWFuZA0KaW5zdGVhZCBvZiBnb29nbGluZyBmb3IgdGhhdC11cmwtSS1hbHdheXMtZm9yZ2V0IGZv ciBlYWNoIHRhcmJhbGwgOykgLg0KDQpWaW5jZW50IFBlbGxldGllcg0KLS0tLS1CRUdJTiBQR1Ag U0lHTkFUVVJFLS0tLS0NClZlcnNpb246IEdudVBHIHYxLjQuMiAoR05VL0xpbnV4KQ0KDQppRDhE QlFGRGdJOGppYk4rTVhIa0FvZ1JBcHA4QUo5dTVjK21QY3dSMkRvK0RyZ2NhbUROVmVIaFhRQ2ZY OEJEDQorRlBTUTFzb3ZHMXI3L0ZyN1I1V3Y3dUlQd01GQVVPQWp5TVVSQ2dwRkRLTzFSRUNtbndB b0xhaTVuWnMxNkdPDQovMHR6OGRsaGw4RWZzbU50QUo5OVRQbU5jMkVES1hxYUw3dTJ5bHZsUGpO S2tBPT0NCj1LUkJwDQotLS0tLUVORCBQR1AgU0lHTkFUVVJFLS0tLS0NCg== ___________________________________________________________________________ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com |
From: Yusuke S. <yu...@cs...> - 2005-11-20 11:37:32
|
Dear folks, Does anyone has any preference or recommendation of vnc servers for recording on Windows? I think on Unix Xvnc is just fine, but am interested in the differences between {Real,Tight,Ultra}Vnc. Yusuke |
From: Yusuke S. <yu...@cs...> - 2005-11-20 09:34:45
|
Luis, Thank you for your help. I realized I was wrong about the protocol handshaking. Now I tried to identify the server's version first and use the maximum available version. And I'll also add a stop action in the end. As for capturing mouse position or clicks directly, I don't know how to do it, I wish I could though. I have received another feature request for capturing key strokes, but I'm afraid there's no way to do these things in a platform independent way. Because I like the cross-platform portability so much (which is one of the reasons why I switch to Python), I'd like to defer implementing these features some time later. Yusuke |
From: Yusuke S. <yu...@cs...> - 2005-11-20 09:10:46
|
Hi, Vincent, Thank you for your patch! I'll incorporate your changes into the next version. I think your coding style is okay. One thing I'd like to change is to make "import pymedia.video.vcodec" as optional, so that a user can still run the program without installing pymedia. Also, we have cvs (although currently I'm only the person who're committing to it.) http://cvs.sourceforge.net/viewcvs.py/vnc2swf/ Yusuke Vincent Pelletier <sub...@ya...> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi. > > I've tweaked pyvnc2swf to be able to convert vnc saved sessions to mpeg > videos in addition to swf files. > > See the patches attached. > > 2005-11-17 Vincent Pelletier <sub...@ya...> > > * edit.py (from output import): Import MPEGVideoStream class. > (main): Add help message for new M switch. Handle that switch. > * output.py (import pymedia.video.vcodec): New import. > (MPEGVideoStream): New class. > > The side effect one can see in usual pyvnc2swf use is that it now also > requires pymedia. > > As I dno't have followed any particular coding style (actually, I > somewhat followed gnu coding style for C but I don't know if it > applies to python code :) ) or integration rules, please telle me if > there is anything I should change to have this patch accepted > "upstream" in the official tarball (btw, why no cvs ?). > > Vincent Pelletier > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2 (GNU/Linux) > > iD8DBQFDfCzxibN+MXHkAogRAodSAJ42Otw9/XQCdsOeg5pE5btBHTj0cgCeNicO > kk0TkKs/iKhABUBe1qADHISIPwMFAUN8LPEURCgpFDKO1RECh1IAn3v5GZCK60yX > ve3YxAyjtAQaiHYXAJ9wSQN0QBeVxe26/LE5KoON7tGmcg== > =tiip > -----END PGP SIGNATURE----- > |
From: Yusuke S. <yu...@cs...> - 2005-11-20 08:57:05
|
Carlo, Sorry I didn't respond so long time. And thanks to Rajesh for the followup. I still don't get why it caused errors, because it is simply comparing two tuples. It somewhat looks like Python or Pygame's bug, but anyway I will remove the assert statement in future releases. Thank you for reporting. Yusuke Carlo Gandolfi <ga...@sk...> wrote: > Just to close this thread. > To solve this problem just commented line 44 in image.py which is the > assert() stmt. > Thanks to Rajesh Menon, > Rajesh Menon <men...@gm...> wrote: > Hi, > I was coming across the same problem as Carlo. > I just commented line 44 in image.py which is the assert() stmt. It > works quite fine. > Hope that helps. > > > p.s: I've done a poor job of copying Carlo's and Yusuke's mails below > just for reference. > > |
From: Carlo G. <ga...@sk...> - 2005-11-19 10:25:06
|
Just to close this thread. To solve this problem just commented line 44 in image.py which is the assert() stmt. Thanks to Rajesh Menon, |
From: <lfk...@ya...> - 2005-11-18 13:23:43
|
Still needs to fix the protocol version handshake: I posted a message previously about it but here it goes again. First the client should read the maximum protocol version the server is able to understand. And then the client should send the protocol version it wants to use. The problem occurs with UltraVnc because the server sends version 3.6. The client should send version 3.3 and assume that the handshaked version is 3.3. But pvnc2swf is assuming 3.6 and it's not working! A few suggestions: - add a "Stop" action tag at the last frame my suggestion is to change the "close" method in "class SWFOutputStream" as follows: ################################# def close(self): #stop self.writer.start_action() self.writer.do_action(7) self.writer.end_action() #show frame self.writer.start_tag() self.writer.end_tag(1) MovieOutputStream.next_frame(self) MovieOutputStream.close(self) if self.writer: self.writer.start_tag() self.writer.end_tag(0) self.writer.write_file(self.output_frames) self.writer = None self.info.generate_html() return ###################################### - add a navigation bar with play, pause, rewind buttons and a slider to move quickly forward and backwards and show the elapsed time since the begining. - track the cursor separately - animate the cursor clicks Luis Fernando _______________________________________________________ Yahoo! Acesso Grátis: Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ |
From: <lfk...@ya...> - 2005-11-18 11:47:25
|
Hi, I was thinking a little more about the mouse movement feature. I'm currently using TightVnc. It has a pseudo-encoding for sending the server cursor position so it works great. Unfortunately UltraVnc and many others don't have it. They just send the cursor image to the client so it can be changed to match the server cursor but they never send the server cursor position. I guess they presume that the client will move the mouse and not the other way around. I sent a feature request to UltraVnc to include the same pseudo-encoding that the TightVnc has. Thinking about it I realized that pyvnc2swf doesn't show the server screen. I believe that most people just connect to the localhost. If this is the case why not just capture the mouse position from the screen directly using python? Could even catch mouse clicks and animate them in the swf file. These could be just a feature enabled through a command line arg. Luis Fernando --- Yusuke Shinyama <yu...@cs...> escreveu: > Thank you, Luis! I've received your files. It seems working > pretty good, and I will try to add alpha channel things, and > incorporate your changes into the next version. > > Yusuke > > lfk...@ya... wrote: > > Hi, > > > > I managed to make the cursor pseudo-encodings to work. > > It understands the messages and draws the cursor image at the right place. > > But it still needs to use the cursor mask to change the alpha channel to > make > > the background transparent. Unfortunetly I don't know Python very much. > > Maybe someone with Python knowlegde could make this part to work properly > in > > an > > easily manner. > > How can I send the files? I've been trying to send it but my message gets > > blocked everytime. > > Here's the problem I need to solve: I have one variable with the maskData > > (one > > bit for each pixel) and I have another variable with the image (4 bytes > per > > pixel - RGBA). How can I change the alpha channel? I really couldn't > > understand the types used and how to access each element. > > > > Luis Fernando > > > _______________________________________________________ Yahoo! Acesso Grátis: Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ |
From: Carlo G. <ga...@sk...> - 2005-11-17 19:56:57
|
Rajesh Menon <men...@gm...> on Martedì, 15 novembre 2005 at 19:23 +0100 wrote: >Hi, >I was coming across the same problem as Carlo. >I just commented line 44 in image.py which is the assert() stmt. It >works quite fine. >Hope that helps. Thanks a lot, now it works also for me. |
From: Vincent P. <sub...@ya...> - 2005-11-17 06:56:24
|
LS0tLS1CRUdJTiBQR1AgU0lHTkVEIE1FU1NBR0UtLS0tLQ0KSGFzaDogU0hBMQ0KDQpIaS4NCg0K SSd2ZSB0d2Vha2VkIHB5dm5jMnN3ZiB0byBiZSBhYmxlIHRvIGNvbnZlcnQgdm5jIHNhdmVkIHNl c3Npb25zIHRvIG1wZWcNCnZpZGVvcyBpbiBhZGRpdGlvbiB0byBzd2YgZmlsZXMuDQoNClNlZSB0 aGUgcGF0Y2hlcyBhdHRhY2hlZC4NCg0KMjAwNS0xMS0xNyAgVmluY2VudCBQZWxsZXRpZXIgIDxz dWJkaW5vMjAwNEB5YWhvby5mcj4NCg0KCSogZWRpdC5weSAoZnJvbSBvdXRwdXQgaW1wb3J0KTog SW1wb3J0IE1QRUdWaWRlb1N0cmVhbSBjbGFzcy4NCgkobWFpbik6IEFkZCBoZWxwIG1lc3NhZ2Ug Zm9yIG5ldyBNIHN3aXRjaC4gIEhhbmRsZSB0aGF0IHN3aXRjaC4NCgkqIG91dHB1dC5weSAoaW1w b3J0IHB5bWVkaWEudmlkZW8udmNvZGVjKTogTmV3IGltcG9ydC4NCgkoTVBFR1ZpZGVvU3RyZWFt KTogTmV3IGNsYXNzLg0KDQpUaGUgc2lkZSBlZmZlY3Qgb25lIGNhbiBzZWUgaW4gdXN1YWwgcHl2 bmMyc3dmIHVzZSBpcyB0aGF0IGl0IG5vdyBhbHNvDQpyZXF1aXJlcyBweW1lZGlhLg0KDQpBcyBJ IGRubyd0IGhhdmUgZm9sbG93ZWQgYW55IHBhcnRpY3VsYXIgY29kaW5nIHN0eWxlIChhY3R1YWxs eSwgSQ0Kc29tZXdoYXQgZm9sbG93ZWQgZ251IGNvZGluZyBzdHlsZSBmb3IgQyBidXQgSSBkb24n dCBrbm93IGlmIGl0DQphcHBsaWVzIHRvIHB5dGhvbiBjb2RlIDopICkgb3IgaW50ZWdyYXRpb24g cnVsZXMsIHBsZWFzZSB0ZWxsZSBtZSBpZg0KdGhlcmUgaXMgYW55dGhpbmcgSSBzaG91bGQgY2hh bmdlIHRvIGhhdmUgdGhpcyBwYXRjaCBhY2NlcHRlZA0KInVwc3RyZWFtIiBpbiB0aGUgb2ZmaWNp YWwgdGFyYmFsbCAoYnR3LCB3aHkgbm8gY3ZzID8pLg0KDQpWaW5jZW50IFBlbGxldGllcg0KLS0t LS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0NClZlcnNpb246IEdudVBHIHYxLjQuMiAoR05VL0xp bnV4KQ0KDQppRDhEQlFGRGZDenhpYk4rTVhIa0FvZ1JBb2RTQUo0Mk90dzkvWFFDZHNPZWc1cEU1 YnRCSFRqMGNnQ2VOaWNPDQprazBUa0tzL2lLaEFCVUJlMXFBREhJU0lQd01GQVVOOExQRVVSQ2dw RkRLTzFSRUNoMUlBbjN2NUdaQ0s2MHlYDQp2ZTNZeEF5anRBUWFpSFlYQUo5d1NRTjBRQmVWeGUy Ni9MRTVLb09ON3RHbWNnPT0NCj10aWlwDQotLS0tLUVORCBQR1AgU0lHTkFUVVJFLS0tLS0NCg== |
From: Rajesh M. <men...@gm...> - 2005-11-15 18:33:46
|
Hi, I was coming across the same problem as Carlo. I just commented line 44 in image.py which is the assert() stmt. It works quite fine. Hope that helps. p.s: I've done a poor job of copying Carlo's and Yusuke's mails below just for reference. From: Carlo Gandolfi <gand@sk...> I get this: $ /Applications/pyvnc2swf-0.7.0/vnc2swf.py Using pygame 1.7.0 /Applications/pyvnc2swf-0.7.0/image.py:44: RuntimeWarning: tp_compare didn't return -1 or -2 for exception assert (1,6) <= pygame.vernum, 'we need pygame 1.6 or newer.' Either Pygame or Python Imaging Library is required. I've installed from pytonmac.org: pygame-1.7.0-py2.3-macosx10.3.zip PIL-1.1.5-py2.3-macosx10.3.zip although I've OSX 10.4.3. Pytonmac lilst only pygame for OSX 10.3, not for 10.4 :( After that I've installed packages, I symlink both from /Library/Python/2.3/ to /System/Library/Frameworks/Python.framework/Versions/2.3/Extras/lib/ python. Yusuke Shinyama <yu...@cs...> on Luned, 31 ottobre 2005 at 5:01 +0100 wrote: >Carlo, > >It looks like you've installed a wrong version of Pygame, but >not sure. Type the following and tell me what happens. >If you get an ImportError, you probably did not install the package >correctly. > > > $ /Applications/pyvnc2swf-0.7.0/vnc2swf.py > >>> import pygame > >>> pygame.vernum > > >Thanks >Yusuke |
From: Karnowski, D. <dka...@et...> - 2005-11-11 16:52:07
|
I can confirm the "illegal encoding" error is now fixed for me with this 0.7.2 release (well at least I haven't experienced the error yet where normally I would have by now). Thanks Yusuke! David -----Original Message----- From: Yusuke Shinyama [mailto:yu...@cs...] Sent: Friday, November 11, 2005 12:54 AM To: vnc...@li... Cc: Karnowski, David Subject: pyvnc2swf-0.7.2 released! Folks, I released pyvnc2swf-0.7.2. http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf-0.7.2.tar.gz This version has a fix for the "illegal encoding" error (hopefully!), and a couple of other features. Thanks for those who made suggestions. New features include: * More efficient recording when a "clipping" option is used. * "recordwin.sh" script is brought from the original (C version) = vnc2swf. The cursor feature that Luis has pointed out will be put in the next (major?) version, probably 0.8.0. Thanks, Yusuke |