vnc2swf-users Mailing List for vnc2swf (Page 4)
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: Arkaitz <ark...@gm...> - 2009-03-24 19:31:19
|
Hi list, I'm recording fast movements with the current Debian testing version of pyvnc2swf. I'd like to know if its possible to change the resulting flash to have a bar to modify the speed of the video playback. I'm aware that I may need to record at more fps to be able to slow the playback. Don't mind to write some lines of python if needed, any hints on this? Thanks Arkaitz |
From: Chas T. <cha...@gm...> - 2009-03-11 12:51:19
|
Hi, I love vnc2swf but have come across some strange behavior with certain vnc servers. When using it against VMware's built in VNC server colors appear to get inverted. Whites stay as white which kind of suggests to me this is an endianess type bug. By default VMware's VNC returns the following paramaters; width=1024, height=768, name='computer' pixelformat= (32, 24, 0, 1) rgbmax= (255, 255, 255) rgbshift= (16, 8, 0) Any help would be much appreciated! Thanks Chas |
From: Juazisco <haf...@gm...> - 2009-03-09 23:32:41
|
Hi (sorry for my english) I need that pyvnc2swf don't write a file, i need that the output send to stream media server(macromedia server, red5 o Icecast2 :D), looking this proyect i think that the solution is encoder to ogv and send to icecast2, but i don't know very well the pyvnc2swf, i need opinions and ideas. thanks -- ------------------------------- Jose Quiñones Enciso Blog: http://joseq.inkax.org ------------------------------- Apesol: http://www.apesol.org ------------------------------- |
From: red5 r. <red...@gm...> - 2009-03-05 05:50:32
|
hi, I treid with this command ./vnc2swf.py -n -o filename.flv -r 12 hostName:Port But again the same problem. If i play the file, but i cant play by seeking the navigation bar. *Is there any other way to record vnc with 12 keyframes/second?*.. So,i'm editing the file by command below. Edit command :- *edit.py -o "editedflv" -K 12 "withoutedited.flv*" If i use the above command,then the filv size will become large.But it plays the video perfectly when i navigate the seek bar. Is there any other way to reduce the file size after editing ? 2009/2/19 254463387 <254...@qq...> > Try this: > > ./vnc2swf.py -n -o vnc.flv -r 12 hostName:Port > > -r 12 means set fps to 12 > > Jerry > 2009-02-19 > > > ------------------ Original ------------------ > *From: * "red5 red5"<red...@gm...>; > *Date: * Wed, Feb 18, 2009 10:17 PM > *To: * "vnc2swf-users"<vnc...@li...>; > *Subject: * [Vnc2swf-users] how to record VNCsession with 12 > keyframes/second > > > hi all, > > I am recording a Vncscreen as vnc.flv using the command ./vnc2swf.py > -n -o vnc.flv hostName:Port & > > > But the above .flv file created with *500 keyframes per second*. So > i'm editing the above .flv using edit.py command but it takes too much time > to edit. > > > *How to record a vnc in .flv format with 12 keyframes per second?* i > want to change the default keyframe from 500 (recommended) to 12 keyframes > per second > > where should i change the default keyframe 500 to 12 keyframe/second? > > > > how to acheive this? > > thanks > > > > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, > CA > -OSBC tackles the biggest issue in open source: Open Sourcing the > Enterprise > -Strategies to boost innovation and cut costs with open source > participation > -Receive a $600 discount off the registration fee with the source code: > SFAD > http://p.sf.net/sfu/XcvMzF8H > _______________________________________________ > Vnc2swf-users mailing list > Vnc...@li... > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > > |
From: <a....@in...> - 2009-02-19 10:03:11
|
hi, i was recording flv files from vnc and ten tried to edit them in rich flv air editor but cant as there is just one keyframe. is there any way to add more keyframes? so then i could click on the progress bar to play from middle or rdit the movie? would appreciate help a lot! thanks Artur |
From: 2. <254...@qq...> - 2009-02-19 08:25:36
|
Try this: ./vnc2swf.py -n -o vnc.flv -r 12 hostName:Port -r 12 means set fps to 12 Jerry 2009-02-19 ------------------ Original ------------------ From: "red5 red5"<red...@gm...>; Date: Wed, Feb 18, 2009 10:17 PM To: "vnc2swf-users"<vnc...@li...>; Subject: [Vnc2swf-users] how to record VNCsession with 12 keyframes/second hi all, I am recording a Vncscreen as vnc.flv using the command ./vnc2swf.py -n -o vnc.flv hostName:Port & But the above .flv file created with 500 keyframes per second. So i'm editing the above .flv using edit.py command but it takes too much time to edit. How to record a vnc in .flv format with 12 keyframes per second? i want to change the default keyframe from 500 (recommended) to 12 keyframes per second where should i change the default keyframe 500 to 12 keyframe/second? how to acheive this? thanks |
From: red5 r. <red...@gm...> - 2009-02-18 13:47:53
|
hi all, I am recording a Vncscreen as vnc.flv using the command ./vnc2swf.py -n -o vnc.flv hostName:Port & But the above .flv file created with *500 keyframes per second*. So i'm editing the above .flv using edit.py command but it takes too much time to edit. * How to record a vnc in .flv format with 12 keyframes per second?* i want to change the default keyframe from 500 (recommended) to 12 keyframes per second where should i change the default keyframe 500 to 12 keyframe/second? how to acheive this? thanks |
From: Cheung S. <che...@gm...> - 2009-02-06 14:48:43
|
hi, yusuke shinyama I downloaded the resource code of the vnc2swf Screen Recorder. Oct 29, 2005 I dowloaded the sample movies also, # Windows 2000 (2.2MBytes, with audio) # SLIME on Linux (1.3MBytes, with audio) These samples built as Flash Screen Video v1 format. I'm developing a product with the Flash Screen Video v2. I have read the pdf (swf-file-format-spec-v10.pdf) which was opened by Adobe. I have trid to generate the video, but I failed. Can you give more information about it? Thanks |
From: <a....@in...> - 2009-01-29 12:44:29
|
Hi all i love the vnc2swf but im not sure if its bug or my misuse. Sound - I have it on vista and can record video perfectly. Not sure though how to record sound .... gui does not record it for me can i turn it on? Edit flv - i found richflv tool on air framework that is pretty amazing and would let me to edit my recording without data loss. Problem is the flv that i get from recording seems to have just one keyframe. And thats why i cant cut anything there. I also tried one open source recoder but it makes the process difficult nor i can force how frequently key frames should be added. It makes movie bigger and degrades quality a bit as well. Is there any way to record with sound (if not i can add soundtrack with richflv) and then cut parts out to get rid of beginning, end and bad parts? Thanks a million Artur |
From: Maulin <mnr...@gm...> - 2009-01-26 15:35:55
|
Hi All, I am using java wrapper to start and stop recording. Recording >From java I have created process which calls vnc2swf.py to start recording. To stop recording I am killing recording process from Java. It generates .swf file. I can play generated .swf using play.py provided with vnc2swf. But I can't play .swf in IE or any other player. Any help in this regards would be greatly appreciated. Regards, Maulin |
From: Edouard T. <edo...@lo...> - 2009-01-07 23:01:11
|
Dear Yusuke, dear vnc2swf-users. Attached is a script I use to make some pyvnc2swf based screencasts, that follow mouse cursor. Once you have recorded a "in.swf" with great screen size, you can use this script to generate a smaller movie, following mouse cursor : # generate the Makefile that calls edit.py python track_mouse.py in.swf out.swf 640x480 > Makefile # invoke make (use -j N with N your count of CPUs) make -j 2 all # remove temporary files make clean This script is not as elegant as it should : - It does generate Makefile instead of directly calling movie.py and output.py stuff directly, in some separate threads. - Some better algorithm could be found to decide clipping region according to mouse moves. The one currently used only tries to minimize count of chunks. I also tried to use python-cluster with no real success. I will certainly not find time for those enhancements, as it just fit my need for the moment. Please feel free... Best regards, and Happy New Year ! Edouard -- LOLITech - TBI sarl 24, rue Pierre Evrat 88100 Saint-Dié des Vosges tel: +33 6 10 49 76 41 fax: +33 3 29 58 93 16 edo...@lo... <mailto:edo...@lo...> http://www.lolitech.fr <http://www.lolitech.fr> |
From: Michael H. <vnc...@go...> - 2008-11-20 23:32:00
|
I have updated the Win32 distribution of vnc2swf to v0.9.5 its available from the VNCed website http://vnced.sourceforge.net/ <http://vnced.sourceforge.net/> The file you need is pyvnc2swf-py2exe 1.1 <http://prdownloads.sourceforge.net/vnced/pyvnc2swf-py2exe.1.1.zip?download> under the downloads section I have tested it out and everything seems to record fine. Any problems just let me know. |
From: Oscar U. <osc...@pr...> - 2008-11-17 00:07:22
|
Folks, Comparing the performance shows that the new version is 7x faster! I converted a 1.2G vnc to flv, timing both the new and old versions as follows. The new took about 22 minutes vs 2.6hrs for the previous ver. One footnote is the file size for the new stream based version is slightly larger (~2%). Thanks, OSC [osc@rt-ee ~]$ ls -l log.vnc -rw-rw-r-- 1 osc osc 1141316527 Nov 14 11:20 log.vnc [osc@rt-ee ~]$ du --si log.vnc 1.2G log.vnc [osc@rt-ee ~]$ time cat log.vnc | ./vnc2swf.py -n -z -o log.flv -V Reading vncrec file: <open file '<stdin>', mode 'r' at 0xb7f9b020>, version='vncLog0.0'... VNC Screen: size=800x600, name='test desktop' Output movie size: 800x600 real 22m47.792s user 5m2.525s sys 16m37.765s [osc@rt-ee ~]$ ls log.* -rw-rw-r-- 1 osc osc 224835981 Nov 16 12:37 log.flv -rw-rw-r-- 1 osc osc 1141316527 Nov 14 11:20 log.vnc [osc@rt-ee ~]$ rm log.flv [osc@rt-ee ~]$ ./edit.py -z -o log.flv log.vnc ... real 161m2.601s user 50m44.976s sys 101m2.179s [osc@rt-ee swf]$ ls -l log.* -rw-rw-r-- 1 osc osc 220375003 Nov 16 15:32 log.flv -rw-rw-r-- 1 osc osc 1141316527 Nov 14 11:20 log.vnc [osc@rt-ee swf]$ > ----- Original Message ----- > From: "Yusuke Shinyama" <yu...@cs...> > Subject: [Vnc2swf-users] pyvnc2swf-0.9.5 is out > Date: Sun, 16 Nov 2008 06:23:21 -0500 > > I took a time this weekend, and now I can announce a new release: > > zip: http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf-0.9.5.zip > tgz: http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf-0.9.5.tar.gz > > This version of vnc2swf.py can take a vncLog file input as stream > with -V option: > > $ cat log.vnc | ./vnc2swf.py -n -o log.flv -V -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com |
From: Yusuke S. <yu...@cs...> - 2008-11-16 11:23:28
|
Hello, I took a time this weekend, and now I can announce a new release: zip: http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf-0.9.5.zip tgz: http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf-0.9.5.tar.gz This version of vnc2swf.py can take a vncLog file input as stream with -V option: $ cat log.vnc | ./vnc2swf.py -n -o log.flv -V Furthermore, it can generate a flv stream directly: $ ./vnc2swf.py -n -t flv -o - | send_somewhere With this and a web server combined, you can now broadcast your live desktop on the web! $ tcpserver -vRHl0 localhost 10000 sh -c 'x11vnc -quiet -bg -nopw -viewonly -localhost -cursor -wait 10 -defer 10 >/dev/null 2>&1 && echo HTTP/1.0 200 OK && echo Content-Type: video/x-flv && echo && ./vnc2swf.py -n -t flv -s 0.5 -o -' (Okay, I know this is just a crazy idea, and hope no one is gonna take this very seriously... anyway) Enjoy! Yusuke On Fri, 14 Nov 2008 11:36:11 -0500, Yusuke Shinyama <yu...@cs...> wrote: > Hi, > > On Thu, 13 Nov 2008 12:01:38 -0600, "The Amigo" <the...@gm...> wrote: > > > > Also, how complicated would it be to revise this to use a stream based > > > system? I have not yet dive into the source to really know but I see this > > > work would be useful if I knew it would pan out. Do you have a sense of the > > > how hard this would be? > > > > > > I suspect it's doable, but I haven't looked into that either... I don't know > > Python, so that'd slow me down a bit. > > Actually, it is not that hard, as pyvnc2swf already has a mechanism > to handle streams. But over years I've almost forgotten the internal > structure of the program, so I have to re-study my own code. > I'll post a patch here when I have a time. > > Because the original intention of this program was to create a > short (10mins or so) tutorial movie, I never imagined that someone > wants to record hours of video for logging purpose. I'm just unaware > how popular this tool is, but is this kind of demand large now? > > Yusuke > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Vnc2swf-users mailing list > Vnc...@li... > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > |
From: Oscar U. <osc...@pr...> - 2008-11-15 04:13:36
|
Yusuke, Thank you for writing this code. It has be come the defacto standard as far as I know. If you could please add stream based conversion, and improve performance, a great deal of projects that build on the output would greatly benefit. OSC > ----- Original Message ----- > From: "Yusuke Shinyama" <yu...@cs...> > To: "General discussion about vnc2swf" <vnc...@li...> > Subject: Re: [Vnc2swf-users] How to record withOUT audio > Date: Fri, 14 Nov 2008 11:36:11 -0500 > > > Hi, > > On Thu, 13 Nov 2008 12:01:38 -0600, "The Amigo" <the...@gm...> wrote: > > > > Also, how complicated would it be to revise this to use a stream based > > > system? I have not yet dive into the source to really know but I see this > > > work would be useful if I knew it would pan out. Do you have a sense of the > > > how hard this would be? > > > > > > I suspect it's doable, but I haven't looked into that either... I don't know > > Python, so that'd slow me down a bit. > > Actually, it is not that hard, as pyvnc2swf already has a mechanism > to handle streams. But over years I've almost forgotten the internal > structure of the program, so I have to re-study my own code. > I'll post a patch here when I have a time. > > Because the original intention of this program was to create a > short (10mins or so) tutorial movie, I never imagined that someone > wants to record hours of video for logging purpose. I'm just unaware > how popular this tool is, but is this kind of demand large now? > > Yusuke > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Vnc2swf-users mailing list > Vnc...@li... > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com |
From: Yusuke S. <yu...@cs...> - 2008-11-14 17:05:07
|
Hubert, Actually pyvnc2swf does work without audio device. (These are just warning messages, not errors.) You just gave a wrong command line here. In the non-GUI mode, you need to give the server's address and/or a port number. (pyvnc2swf doesn't look into the DISPLAY variable.) I should've elaborated this in the documents... So try: /usr/share/pyvnc2swf/vnc2swf.py -n -o test.swf -p ~/.vnc/passwd :2 HTH, Yusuke On Mon, 10 Nov 2008 14:32:56 +0100, "Plaschke, Hubert" <pla...@gg...> wrote: > Hello, > we want to use a virtual machine as a gateway for vnc-sessions which > includes recording them using the nice pyvnc2swf-tool. > The problem is: the machine has no (virtual) audio-hardware, so the > start of vnc2swf.py fails. > > Does anybody know, how to disable the use of audio and only stream the > video to a file ? > > Thannks in advance > Hubert Plaschke > > ----------------------------- > plaschke@vncconnect:~$ DISPLAY=":2" /usr/share/pyvnc2swf/vnc2swf.py -n > -o test.swf -p ~/.vnc/passwd > Using pygame 1.7.1release > ALSA lib confmisc.c:768:(parse_card) cannot find card '0' > ALSA lib conf.c:3513:(_snd_config_evaluate) function > snd_func_card_driver returned error: No such file or directory > ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings > ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat > returned error: No such file or directory > ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name > ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer > returned error: No such file or directory > ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or > directory > ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default > usage: vnc2swf.py [-d] [-n] [-o filename] [-t {shape|video|vnc}] [-e > encoding] [-N] [-C clipping] [-r framerate] [-z] [-m] [-a] [-S > subprocess] [-P pwdfile] [host[:display] [port]] > ----------------------------- > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Vnc2swf-users mailing list > Vnc...@li... > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > |
From: Yusuke S. <yu...@cs...> - 2008-11-14 16:36:15
|
Hi, On Thu, 13 Nov 2008 12:01:38 -0600, "The Amigo" <the...@gm...> wrote: > > Also, how complicated would it be to revise this to use a stream based > > system? I have not yet dive into the source to really know but I see this > > work would be useful if I knew it would pan out. Do you have a sense of the > > how hard this would be? > > > I suspect it's doable, but I haven't looked into that either... I don't know > Python, so that'd slow me down a bit. Actually, it is not that hard, as pyvnc2swf already has a mechanism to handle streams. But over years I've almost forgotten the internal structure of the program, so I have to re-study my own code. I'll post a patch here when I have a time. Because the original intention of this program was to create a short (10mins or so) tutorial movie, I never imagined that someone wants to record hours of video for logging purpose. I'm just unaware how popular this tool is, but is this kind of demand large now? Yusuke |
From: Reid E. <ra...@tn...> - 2008-11-13 19:01:24
|
I don't think it's quite what your asking, but I wrote an X11-less version of vnc2swf a while back, and recently updated it to the latest version of vnc2swf: http://rae.tnir.org/vnc2swf/vnc2swf-nw It's a pretty simple stripping of all things Tk from the script, obviously. Ideally, it would be nice to use, say, Qt, since that's available on all platforms without X11 being necessary. Not quite what you were asking for, but hey. Reid On Thu Nov 13, 2008, at 1:01 PM, The Amigo wrote: > On Thu, Nov 13, 2008 at 11:18 AM, Oscar Usifer <osc...@pr... > > wrote: > I saw that vncrec requires Xvfb to run in script mode. Would > eliminating X11 in code be difficult? > > Not sure, it'd be quite helpful because taking what looks like an > easy way out: > Xvfb :1 & > export DISPLAY=:1 > vncrec -record - ip.ad.dre.ss:0 -shared -viewonly -encodings raw > | gzip -c9 > logfile.vnc.gz > means that the script needs to be smart enough to find a unique > (available) display number for each simultaneous instance. Cutting > the X11 requirement out of vncrec would make scripting much easier. > > Also, how complicated would it be to revise this to use a stream > based system? I have not yet dive into the source to really know but > I see this work would be useful if I knew it would pan out. Do you > have a sense of the how hard this would be? > > I suspect it's doable, but I haven't looked into that either... I > don't know Python, so that'd slow me down a bit. > > If you do manage to make that enhancement, that'd be cool. Although > I've since changed jobs and no longer have need for vncrec at all, > but others may find it quite helpful. > > -- > The Amigo |
From: The A. <the...@gm...> - 2008-11-13 18:01:43
|
On Thu, Nov 13, 2008 at 11:18 AM, Oscar Usifer <osc...@pr...>wrote: > I saw that vncrec requires Xvfb to run in script mode. Would eliminating > X11 in code be difficult? > Not sure, it'd be quite helpful because taking what looks like an easy way out: Xvfb :1 & export DISPLAY=:1 vncrec -record - ip.ad.dre.ss:0 -shared -viewonly -encodings raw | gzip -c9 > logfile.vnc.gz means that the script needs to be smart enough to find a unique (available) display number for each simultaneous instance. Cutting the X11 requirement out of vncrec would make scripting much easier. Also, how complicated would it be to revise this to use a stream based > system? I have not yet dive into the source to really know but I see this > work would be useful if I knew it would pan out. Do you have a sense of the > how hard this would be? I suspect it's doable, but I haven't looked into that either... I don't know Python, so that'd slow me down a bit. If you do manage to make that enhancement, that'd be cool. Although I've since changed jobs and no longer have need for vncrec at all, but others may find it quite helpful. -- The Amigo |
From: Oscar U. <osc...@pr...> - 2008-11-13 17:19:05
|
> ----- Original Message ----- > From: "The Amigo" <the...@gm...> > Date: Thu, 13 Nov 2008 09:40:30 -0600 > > On Wed, Nov 12, 2008 at 6:48 PM, Oscar Usifer <osc...@pr...>wrote: > > > This is indeed a good work around, but converting to a streaming flash > > video is slow, (as you pointed) out using pyvnc2swf's edit.py. Is there a > > faster version or another converter that can be used? > > > > vncrec can be used to play the raw vnc stream right away, but it has no > playback controls. When reviewing a 4 hour session and looking for a short I saw that vncrec requires Xvfb to run in script mode. Would eliminating X11 in code be difficult? > Complicating this is the way pyvnc2swf is written... it can't process the > vnc file as a stream, so you can't just zcat the compressed file. Also, how complicated would it be to revise this to use a stream based system? I have not yet dive into the source to really know but I see this work would be useful if I knew it would pan out. Do you have a sense of the how hard this would be? Thanks! OSC -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com |
From: The A. <the...@gm...> - 2008-11-13 15:40:34
|
On Wed, Nov 12, 2008 at 6:48 PM, Oscar Usifer <osc...@pr...>wrote: > This is indeed a good work around, but converting to a streaming flash > video is slow, (as you pointed) out using pyvnc2swf's edit.py. Is there a > faster version or another converter that can be used? > I haven't yet found a better way. vncrec can be used to play the raw vnc stream right away, but it has no playback controls. When reviewing a 4 hour session and looking for a short piece in the middle, it's nearly useless. So far, using pyvnc2swf to convert the entire thing to flash is the only way I've found to get plaback controls and a time counter. Complicating this is the way pyvnc2swf is written... it can't process the vnc file as a stream, so you can't just zcat the compressed file. Instead you need a lot of temp disk space to uncompress the entire vnc stream first. The temp file gets even larger because vncrec can't record compressed vnc streams (e.g. tight, copyrect) so I have to use raw encoding to get vncrec to work. I'm just glad that I very rarely have to review vnc logs, and leaving the (relatively small) log.vnc.gz files around isn't bad. -- The Amigo |
From: Oscar U. <osc...@pr...> - 2008-11-13 15:36:41
|
Vncrec is indeed much faster at capturing the vnc session to file, but converting to FLV using edit.py is still very slow. Is there another utility can be recommended for this purpose? Thanks Sent out an email on this before, but did not see it got thru for some reason. > ----- Original Message ----- > From: "The Amigo" <the...@gm...> > Date: Mon, 10 Nov 2008 15:00:36 -0600 > > > I wanted to do something similar, but found that pyvnc2swf takes way too > much CPU time. Instead, I tried running vncrec and piping the output to > gzip. It uses about 80 times less CPU cycles than pyvnc2swf! I also found > that "gzip -9" is both stronger compression AND less CPU time than "bzip > -1". > > Since my goal was to use the recordings as logs, not for frequent playback, > it doesn't bother me too much that the files I have are raw VNC streams, and > would benefit from running through pyvnc2swf for playback (a tedious > process, but only for use on rare occations). > -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com |
From: The A. <the...@gm...> - 2008-11-10 21:00:47
|
On Mon, Nov 10, 2008 at 7:32 AM, Plaschke, Hubert < pla...@gg...> wrote: > Hello, > we want to use a virtual machine as a gateway for vnc-sessions which > includes recording them using the nice pyvnc2swf-tool. > I wanted to do something similar, but found that pyvnc2swf takes way too much CPU time. Instead, I tried running vncrec and piping the output to gzip. It uses about 80 times less CPU cycles than pyvnc2swf! I also found that "gzip -9" is both stronger compression AND less CPU time than "bzip -1". Since my goal was to use the recordings as logs, not for frequent playback, it doesn't bother me too much that the files I have are raw VNC streams, and would benefit from running through pyvnc2swf for playback (a tedious process, but only for use on rare occations). To get vncrec working as a script, I had to modify it a bit: http://aur.archlinux.org/packages.php?ID=16265 As for your audio issue, I can't help... I'm recording from VMs that don't have sound cards and never had any audio issues. -- The Amigo |
From: Plaschke, H. <pla...@gg...> - 2008-11-10 13:47:25
|
Hello, we want to use a virtual machine as a gateway for vnc-sessions which includes recording them using the nice pyvnc2swf-tool. The problem is: the machine has no (virtual) audio-hardware, so the start of vnc2swf.py fails. Does anybody know, how to disable the use of audio and only stream the video to a file ? Thannks in advance Hubert Plaschke ----------------------------- plaschke@vncconnect:~$ DISPLAY=":2" /usr/share/pyvnc2swf/vnc2swf.py -n -o test.swf -p ~/.vnc/passwd Using pygame 1.7.1release ALSA lib confmisc.c:768:(parse_card) cannot find card '0' ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default usage: vnc2swf.py [-d] [-n] [-o filename] [-t {shape|video|vnc}] [-e encoding] [-N] [-C clipping] [-r framerate] [-z] [-m] [-a] [-S subprocess] [-P pwdfile] [host[:display] [port]] ----------------------------- |
From: Oscar U. <osc...@pr...> - 2008-09-17 17:43:57
|
Folks, Is there a way for us to update the documentation with this and other important information? Also I would like to add source code updates to improve the software, but AFAIK there is no way presently to do this. Thanks, OSC ----- Original Message ----- From: lfk...@ya... To: "General discussion about vnc2swf" Subject: [Vnc2swf-users] Res: Res: AssertionError limits recording time Date: Wed, 27 Aug 2008 05:59:30 -0700 (PDT) Hi. Just for information: -t shape -> creates rectangular objects similar to updates sent by vnc server. Object limit can be a problem. By default mouse pointer movements doesn't create new objects but just moves it. Creates a swf file. -t video -> creates a video stream inside a swf file. Doesn't use rectangular objects. Uses a screen record/playback codec which basically splits the screen in small areas and writes the updates for each area on every frame. Object limit is not a problem since it doesn't create objects. Mouse pointer movements are treated as regular screen updates. Creates a swf file. -t flv -> creates a video stream in a flv file. Same as -t video except that the container is FLV. Sound hasn't been implemented in pvnc2swf for this. Vnc2swf tries to remove updates that get totally covered by other updates between frames (updated rectangle ends up totally behind other rectangles). This is just a basic optimization. Maybe there could be implemented a better optimization that tries to reduce the number of objects created but this could be complex. Regards, Luis Fernando ----- Mensagem original ---- De: Nitin Chandrachoodan <ni...@ee...> Para: General discussion about vnc2swf <vnc...@li...> Enviadas: Domingo, 24 de Agosto de 2008 1:55:09 Assunto: Re: [Vnc2swf-users] Res: AssertionError limits recording time Thanks for the informative replies. As pointed out by you, I think the problem was that writing using a tablet creates too many small objects, causing the limit to be exceeded independent of the frames. I then tried recording to .vnc format and then converting to .swf with vnc2swf-edit, and when I use the -V option (video) it seems to work well. I had not realized that the -t video would still result in .swf, I thought it meant it would create .flv. I assume this means that directly recording to .swf with -t video will give the same effect - namely size limited by number of frames, not objects? Thanks very much, Nitin On Thu, Aug 21, 2008 at 7:35 PM, <lfk...@ya...> wrote: > Hi, > > VNC protocol uses rectangles to send screen updates to the client. > When you record or transform into shape format (not video), vnc2swf creates > a swf object for each rectangle. Usually there are many rectangles in each > screen update when the screen changes often but there may be none when the > screen is not updated. > One thing many people don't realize is that any icon or label that changes > very often (such as network connection icon or even the clock with seconds > or even msn) and is not related to the recording may be increasing the size > of the recording and the number of objects created. > So anything that changes on screen causes a rectangle update. The size of > the rectangle depends on the area changed. It the small areas far apart > change, there will be two rectangle updates. If they are close, there may > be just one. > I suggest removing icons that are not necessary while recording. > What I want to say is that frame count is not the only limiting factor. > I think that object count is even more important and it is probably what's > been limiting the recordings. > You could try converting to video format, or even to flv (audio not > supported yet). > They won't have the object count limit (I think). > Good luck! > > Luis Fernando > > > ----- Mensagem original ---- > De: Nitin Chandrachoodan <ni...@ee...> > Para: vnc...@li... > Enviadas: Quinta-feira, 21 de Agosto de 2008 1:19:54 > Assunto: [Vnc2swf-users] AssertionError limits recording time > > Hello, > > I am using pyvnc2swf 0.9.2 (from Debian testing) to record lectures in > class (I write on a tablet using Xournal in VNC and record the VNC > session along with audio using the -S option). > > After about 30-45 minutes, the program crashes with an error > > File "/usr/share/pyvnc2swf/swf.py", line 784, in newid > assert self.objid < 65536, 'the number of objects exceeded the limit!' > AssertionError: the number of objects exceeded the limit! > > I tried reducing the framerate as suggested in other messages, but > even with a framerate of 3 it still crashed before the end of the > lecture (<50 minutes). > > I then tried recording to .vnc format, and it records the whole > lecture, but if I try converting to swf with vnc2swf-edit.py, it again > crashes with the same AssertionError. > > One of the previous messages mentioned a maximum of 16000 frames, > which should still give > 5000s at 3fps. Is the above error to do with > frames, or are the VNC changes recorded as objects, which would maybe > make it crash if I wrote too much in one session? > > Thanks, > > Nitin -- Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com |