vnc2swf-users Mailing List for vnc2swf (Page 6)
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: Barry R C. <br...@ea...> - 2008-06-29 22:04:56
|
Ian, Just an FYI, The presentation played fine on my EL5 thin client running Firefox3.The seek bar was there BTW. You might try and teach yourself to not say "uh" so often:). I do the same,,so I know how annoying that gets. Not trying to be crude,,,just a thought:).. Take Care, Barry Cisna On Sun, 2008-06-29 at 16:51 -0400, Ian Ward wrote: > Hello, > > I have recorded a presentation using vnc2swf and I nam having trouble > with playback on some browsers, some of the time. > > I have posted the .swf files here: > > http://excess.org/kernel-walkthrough/2008-06-26-pres/ > http://excess.org/kernel-walkthrough/2008-06-26-code1/ > http://excess.org/kernel-walkthrough/2008-06-26-code2/ > > The current issue I'm having is with seeking. On FF3 the seek bar > donesn't appear at all, on Galeon they appear but sometimes don't allow > the position to be adjusted properly (they work for me one day, not the > next). Is there anything I'm doing that looks incorrect? > > > Some other issues I was able to work around/ignore: > > The first file had major problems after I recorded it: It would stop > playing after about 22 minutes, I could seek past but the video would be > frozen. I worked around that issue by reducing the frame rate to 4 > frames/second (swf-edit -r 4 -R 3 ...) > > The second and third files did not have the same problem but when I > tried reducing the frame rate on the third one it would produce a file > that was truncated for some reason. > > If I include an <img> in the HTML below the swf file the seek bar would > not appear some of the time. I (partially) worked around that issue by > putting the images in separate page and including the video HTML in an > <iframe>. > > I seem to get two seek bars when I try to open the above pages in Safari > on a Mac (and seeking doesn't work properly). > > The pyvnc2swf script seems to consume more and more memory as it is > recording. This is the reason I broke the presentation up into 3 parts. > > > Kind regards, > Ian Ward > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Vnc2swf-users mailing list > Vnc...@li... > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users |
From: Ian W. <ia...@ex...> - 2008-06-29 20:51:18
|
Hello, I have recorded a presentation using vnc2swf and I nam having trouble with playback on some browsers, some of the time. I have posted the .swf files here: http://excess.org/kernel-walkthrough/2008-06-26-pres/ http://excess.org/kernel-walkthrough/2008-06-26-code1/ http://excess.org/kernel-walkthrough/2008-06-26-code2/ The current issue I'm having is with seeking. On FF3 the seek bar donesn't appear at all, on Galeon they appear but sometimes don't allow the position to be adjusted properly (they work for me one day, not the next). Is there anything I'm doing that looks incorrect? Some other issues I was able to work around/ignore: The first file had major problems after I recorded it: It would stop playing after about 22 minutes, I could seek past but the video would be frozen. I worked around that issue by reducing the frame rate to 4 frames/second (swf-edit -r 4 -R 3 ...) The second and third files did not have the same problem but when I tried reducing the frame rate on the third one it would produce a file that was truncated for some reason. If I include an <img> in the HTML below the swf file the seek bar would not appear some of the time. I (partially) worked around that issue by putting the images in separate page and including the video HTML in an <iframe>. I seem to get two seek bars when I try to open the above pages in Safari on a Mac (and seeking doesn't work properly). The pyvnc2swf script seems to consume more and more memory as it is recording. This is the reason I broke the presentation up into 3 parts. Kind regards, Ian Ward |
From: Matthew T. <ths...@ho...> - 2008-06-27 05:59:05
|
Hi, Yusuke is correct, what you are seeing is a limitation of the swf format. 16,000 frames is the limit after this limit playback will stop. You can set the framerate to as low as you want but eventually you will hit 16,000 frames and playback will end. see this kb article for more information on the swf specifications: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14437&sliceId=2 Regards, Matt ________________________________ Date: Wed, 18 Jun 2008 17:15:35 +0800 From: hao...@gm... To: vnc...@li... Subject: Re: [Vnc2swf-users] a possible issue that record for long time Thanks for your clear comments, however, I set the framerate to 5, but it still exit unusually before three hours. Best Regards Xudong On 6/17/08, Yusuke Shinyama> wrote: Due to the limitation of frames in swf file, pyvnc2swf cannot record movies that are more than 1.5 hours (assuming the recording rate is 12 frames/sec, 65536/12 = 5461 seconds maximum.) You should chop the recording into separate sessions. Recording it into another format directly, such as mpeg or flv, could create a longer movie, but I didn't test the program with a recording more than 30 min. Yusuke On Tue, 17 Jun 2008 15:48:11 +0800, "Hao, Xudong"> wrote: > hi, all > I used python version vnc2swf to record screen for long time(about sevral > hours), but vnc2swf would exit unusually, and can not record anything. does > anyone else met this issue? > BTW: my OS is 64bits RHEL5. > > Best Regards > Xudong > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Vnc2swf-users mailing list > Vnc...@li... > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Vnc2swf-users mailing list Vnc...@li... https://lists.sourceforge.net/lists/listinfo/vnc2swf-users |
From: Hao, X. <hao...@gm...> - 2008-06-18 09:15:28
|
Thanks for your clear comments, however, I set the framerate to 5, but it still exit unusually before three hours. Best Regards Xudong On 6/17/08, Yusuke Shinyama <yu...@cs...> wrote: > > Due to the limitation of frames in swf file, pyvnc2swf cannot > record movies that are more than 1.5 hours (assuming the recording > rate is 12 frames/sec, 65536/12 = 5461 seconds maximum.) You > should chop the recording into separate sessions. > > Recording it into another format directly, such as mpeg or flv, > could create a longer movie, but I didn't test the program with a > recording more than 30 min. > > Yusuke > > On Tue, 17 Jun 2008 15:48:11 +0800, "Hao, Xudong" <hao...@gm...> > wrote: > > hi, all > > I used python version vnc2swf to record screen for long time(about sevral > > hours), but vnc2swf would exit unusually, and can not record anything. > does > > anyone else met this issue? > > BTW: my OS is 64bits RHEL5. > > > > Best Regards > > Xudong > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Vnc2swf-users mailing list > > Vnc...@li... > > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Vnc2swf-users mailing list > Vnc...@li... > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > |
From: Oscar U. <osc...@pr...> - 2008-06-17 22:11:32
|
Found this is an issue with the server and polling options. When "Poll Full Screen" is set, movie is complete, without blank areas. Thanks > ----- Original Message ----- > From: "Oscar Usifer" <osc...@pr...> > To: vnc...@li... > Subject: [Vnc2swf-users] Recording is blank until refresh (remote host) > Date: Tue, 17 Jun 2008 16:24:33 -0500 > > > Folks, > > When initially connecting to remote host VNC Server with > vnc2swf.py, the screen is blank until the remote host begins > processing WM_PAINT events on windows (e.g. moving the mouse across > the desktop, dragging windows, etc). The resulting SWF output has > black areas, and is filled in gradually while user interacts with > the desktop. I have tried recording using encoding type shape, > movie, and vnc, but all has the same result. Is there any way to > force a refresh event from the recorder after connecting? I > installed Python Imaging Library, Tkinter, and pyvnc2swf-0.9.3 on > the client side with server side running TightVNC on Xp. > > Thanks, > -OSC > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Vnc2swf-users mailing list > Vnc...@li... > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users -- See Exclusive Videos: 10th Annual Young Hollywood Awards http://www.hollywoodlife.net/younghollywoodawards2008/ |
From: Oscar U. <osc...@pr...> - 2008-06-17 21:26:04
|
Folks, When initially connecting to remote host VNC Server with vnc2swf.py, the screen is blank until the remote host begins processing WM_PAINT events on windows (e.g. moving the mouse across the desktop, dragging windows, etc). The resulting SWF output has black areas, and is filled in gradually while user interacts with the desktop. I have tried recording using encoding type shape, movie, and vnc, but all has the same result. Is there any way to force a refresh event from the recorder after connecting? I installed Python Imaging Library, Tkinter, and pyvnc2swf-0.9.3 on the client side with server side running TightVNC on Xp. Thanks, -OSC -- See Exclusive Videos: 10th Annual Young Hollywood Awards http://www.hollywoodlife.net/younghollywoodawards2008/ |
From: Yusuke S. <yu...@cs...> - 2008-06-17 15:52:09
|
Due to the limitation of frames in swf file, pyvnc2swf cannot record movies that are more than 1.5 hours (assuming the recording rate is 12 frames/sec, 65536/12 = 5461 seconds maximum.) You should chop the recording into separate sessions. Recording it into another format directly, such as mpeg or flv, could create a longer movie, but I didn't test the program with a recording more than 30 min. Yusuke On Tue, 17 Jun 2008 15:48:11 +0800, "Hao, Xudong" <hao...@gm...> wrote: > hi, all > I used python version vnc2swf to record screen for long time(about sevral > hours), but vnc2swf would exit unusually, and can not record anything. does > anyone else met this issue? > BTW: my OS is 64bits RHEL5. > > Best Regards > Xudong > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Vnc2swf-users mailing list > Vnc...@li... > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users |
From: Hao, X. <hao...@gm...> - 2008-06-17 07:48:03
|
hi, all I used python version vnc2swf to record screen for long time(about sevral hours), but vnc2swf would exit unusually, and can not record anything. does anyone else met this issue? BTW: my OS is 64bits RHEL5. Best Regards Xudong |
From: Maulin R. <mnr...@gm...> - 2008-06-13 08:04:20
|
I am using Vnc2swf for recording. I want to record particular active window functionality using vnc. -Both server and client are running on window xp machine. -I am using Tight VNC server on window XP Is there any utility (like recordwin.sh) available to record active window in window xp? |
From: Jeremy S. <je...@gm...> - 2008-06-01 22:17:37
|
It would probably help if you specified what it was you wanted added... On Sun, May 4, 2008 at 1:34 PM, David Makalsky <dma...@gm...> wrote: > Hi, > > I was wondering if anyone on this list would be able to develop a few > features that I need added to VNC2SWF. Please email me if you're able > / interested. > > Thanks, > > -- > David > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Vnc2swf-users mailing list > Vnc...@li... > https://lists.sourceforge.net/lists/listinfo/vnc2swf-users > |
From: David M. <dma...@gm...> - 2008-05-04 20:34:30
|
Hi, I was wondering if anyone on this list would be able to develop a few features that I need added to VNC2SWF. Please email me if you're able / interested. Thanks, -- David |
From: Yusuke S. <yu...@cs...> - 2008-05-03 00:09:12
|
On Fri, 2 May 2008 14:23:11 -0500, "Lukasz Szybalski" <szy...@gm...> wrote: > > I installed lame codec but I am not sure how to tell ffmpeg about a new codec? > Does ffmpeg need to be precompiled or can I modify some config file or > tell ffmpeg to use my codec? > "lame" is the command name I use. I don't know how to use it with ffmpeg. Yusuke |
From: Lukasz S. <szy...@gm...> - 2008-05-02 22:45:11
|
I started using this program and I was wondering about following options. Size of screen: - My screen is 1280x800 I tried on edit do a -s 0.65 and that made it big enough to fit on a website. The only thing was that letters on the actual screen don't look the right size. Is there a different setting I could use. I use: x11vnc -localhost -viewonly -wait 10 -defer 10 & python ~/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/vnc2swf.py -o in.swf -N -S 'arecord -c 2 -fcd -t wav voice.wav' localhost:0 - How can I make the final swf file not to start automatically in the browser and not to do the loop. Lucas |
From: Lukasz S. <szy...@gm...> - 2008-05-02 19:23:06
|
On Fri, May 2, 2008 at 5:44 AM, Yusuke Shinyama <yu...@cs...> wrote: > On Thu, 1 May 2008 16:36:47 -0500, "Lukasz Szybalski" <szy...@gm...> wrote: > > Attached... > > > > also: > > apt-cache policy x11vnc > > x11vnc: > > Installed: 0.9.3.dfsg.1-1 > > > > apt-cache policy ffmpeg > > ffmpeg: > > Installed: 0.cvs20070307-6 > > Now I know, this was not an MP3. It is MP2. > Actually, your log says it: > > > FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al. > configuration: --enable-gpl --enable-pp --enable-swscaler > --enable-pthreads --enable-libvorbis --enable-libtheora > --enable-libogg --enable-liba52 --enable-libdts --enable-libgsm > --enable-dc1394 --disable-debug --enable-shared --prefix=/usr > libavutil version: 1d.49.3.0 > libavcodec version: 1d.51.38.0 > libavformat version: 1d.51.10.0 > built on Jul 9 2007 22:27:18, gcc: 4.1.3 20070601 (prerelease) > (Debian 4.1.2-12) > Input #0, wav, from 'voice.wav': > Duration: 00:00:06.3, start: 0.000000, bitrate: 1411 kb/s > Stream #0.0: Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s > Output #0, mp2, to 'voice.mp3': > Stream #0.0: Audio: mp2, 22050 Hz, stereo, 64 kb/s > ^^^^ > Stream mapping: > Stream #0.0 -> #0.0 > Press [q] to stop encoding > size= 49kB time=6.3 bitrate= 64.0kbits/s > video:0kB audio:49kB global headers:0kB muxing overhead 0.000000% > > > I guess you need to install a package called "lame", which may not be > in your distro by default, due to the mp3 patent issues. > Then re-encode the wav file. Meanwhile, I'll make it > report an error in a less confusing manner... Thanks. That solved my problem. Also, I installed lame codec but I am not sure how to tell ffmpeg about a new codec? Does ffmpeg need to be precompiled or can I modify some config file or tell ffmpeg to use my codec? ffmpeg -i voice.wav -ar 22050 voice.mp3 tried ffmpeg -i voice.wav -ar 22050 -acodec mp3 voice.mp3 but still writes mp2 Unless there is a different command? Please list any that might appropriate. Thanks, Lucas |
From: Yusuke S. <yu...@cs...> - 2008-05-01 13:25:44
|
On Wed, 30 Apr 2008 22:56:41 -0500, "Lukasz Szybalski" <szy...@gm...> wrote: > > Still the same. There was no id3. It prints blank. I then removed the > Title using xmms and I got hex code. But the code still gives the same > error. > Hmmm, could you send me the mp3 file off the list? I might take a look into it. Yusuke |
From: Lukasz S. <szy...@gm...> - 2008-05-01 03:56:41
|
On Wed, Apr 30, 2008 at 5:32 PM, Yusuke Shinyama <yu...@cs...> wrote: > Hello, > > > On Wed, 30 Apr 2008 12:58:47 -0500, "Lukasz Szybalski" <szy...@gm...> wrote: > > Any idea why I might be getting: > > > Traceback (most recent call last): > (snip) > > > > File "/home/lucas/pyvnc2swf/mp3.py", line 83, in needsamples > > > return int(self.sample_rate * t) + self.initial_skip > > > TypeError: unsupported operand type(s) for *: 'NoneType' and 'int' > > I wonder if the generated mp3 file is corrupted. > Did it play okay? What does it shows with the folloing command line? > > $ python mp3.py voice.mp3 > > If it does not show anything, try removing the ID3 tags with > some existing mp3 tools. > Still the same. There was no id3. It prints blank. I then removed the Title using xmms and I got hex code. But the code still gives the same error. Traceback (most recent call last): File "/home/lucas/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/edit.py", line 244, in ? if __name__ == "__main__": sys.exit(main(sys.argv[1:])) File "/home/lucas/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/edit.py", line 239, in main mp3seek=mp3seek, mp3skip=mp3skip) File "/home/lucas/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/edit.py", line 86, in reorganize builder.build(r) File "/home/lucas/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/output.py", line 999, in build self.start() File "/home/lucas/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/output.py", line 941, in start self.movie.info.mp3.seek_frame(0) File "/home/lucas/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/mp3.py", line 116, in seek_frame needsamples = self.needsamples(t) File "/home/lucas/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/mp3.py", line 83, in needsamples return int(self.sample_rate * t) + self.initial_skip TypeError: unsupported operand type(s) for *: 'NoneType' and 'int' lucas@delldebian:~$ python ./Desktop/pyvnc2swf-0.9.3/pyvnc2swf/mp3.py voice.mp3 #Remove name lucas@delldebian:~$ python ./Desktop/pyvnc2swf-0.9.3/pyvnc2swf/mp3.py voice.mp3 TAG '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff' lucas@delldebian:~$ vi rec.sh lucas@delldebian:~$ python ~/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/edit.py -o out.swf -a voice.mp3 in.swf Using pygame 1.7.1release Reading mp3 file: voice.mp3... Input movie: version=5, size=1280x800, framerate=12fps, frames=86, duration=7.2s. Output movie size: 1280x800 Scanning source swf file: in.swf... Traceback (most recent call last): File "/home/lucas/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/edit.py", line 244, in ? if __name__ == "__main__": sys.exit(main(sys.argv[1:])) File "/home/lucas/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/edit.py", line 239, in main mp3seek=mp3seek, mp3skip=mp3skip) File "/home/lucas/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/edit.py", line 86, in reorganize builder.build(r) File "/home/lucas/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/output.py", line 999, in build self.start() File "/home/lucas/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/output.py", line 941, in start self.movie.info.mp3.seek_frame(0) File "/home/lucas/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/mp3.py", line 116, in seek_frame needsamples = self.needsamples(t) File "/home/lucas/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/mp3.py", line 83, in needsamples return int(self.sample_rate * t) + self.initial_skip TypeError: unsupported operand type(s) for *: 'NoneType' and 'int' xmms plays the mp3 with no problem. voice.mp3 mpeg 2, layer 2 bitrate 64kb/s samplerate 22050hz stereo 290 frames 60732B Lucas |
From: Yusuke S. <yu...@cs...> - 2008-05-01 00:24:10
|
Hello, On Wed, 30 Apr 2008 12:58:47 -0500, "Lukasz Szybalski" <szy...@gm...> wrote: > Any idea why I might be getting: > > Traceback (most recent call last): (snip) > > File "/home/lucas/pyvnc2swf/mp3.py", line 83, in needsamples > > return int(self.sample_rate * t) + self.initial_skip > > TypeError: unsupported operand type(s) for *: 'NoneType' and 'int' I wonder if the generated mp3 file is corrupted. Did it play okay? What does it shows with the folloing command line? $ python mp3.py voice.mp3 If it does not show anything, try removing the ID3 tags with some existing mp3 tools. Yusuke |
From: David K. <dav...@gm...> - 2008-04-30 20:10:19
|
I share all this, not as a final solution, but rather a "how to read the error message" and only respond because no one else had anything for you. I don't use pyvnc2swf, this is just general python/linux troubleshooting. It looks like self.sample_rate is not set, according to the error. The first thing is to make sure that I am using it correctly, checking all the command-line parameters, especially those related to MP3s. I found all the parameters in edit.py: usage: edit.py [-d] [-c] [-t type] [-V] [-f|-F frames] [-a mp3file] [-r framerate] [-S mp3sampleskip] [-C WxH+X+Y] [-B blocksize] [-K keyframe] [-R framestep] [-s scaling] -o outfile.swf file1 file2 ... Specify one output filename from the following: *.swf: generate a SWF movie. *.flv: generate a FLV movie. *.mpg: generate a MPEG movie. *.png|*.bmp: save snapshots of given frames as "X-nnn.png" -d: debug mode. -c: compression. -t {shape,video,mpeg,png,bmp}: specify the output movie type. -V: equivalent to -t video. (Flash version7 or above only) -f(-F) frames: frames to extract. e.g. 1-2,100-300,310,500- -F disables seeking audio. -R framestep: frame resampling step (default: 1) -s scaling: scale factor (default: 1.0) -a filename: attach MP3 file(s). (multiple files can be specified) -r framerate: override framerate. -B blocksize: (Video mode only) blocksize of video packet (must be a multiple of 16) -K keyframe: keyframe interval -S N[s]: skip the first N samples (or N seconds) of the sound when the movie starts. -C WxH+X+Y: crop a specific area of the movie. -b: disable seekbar. -l: disable loop. -z: make the movie scalable. So, it seems like some important things are these: [-a mp3file] [-S mp3sampleskip] So, if those didn't solve the problem, I would move on to the code. The error message is saying that on line 83, None and and integer are being multiplied (which is not supported, in python None and 0 are different types of things. NoneType is for things that are not defined) On Ubuntu I did a search for mp3 related python modules (to see if there might be a missing dependency) like this: apt-cache search mp3|grep python It came up with this list: python-eyed3 - Python module for id3-tags manipulation python-mutagen - audio metadata editing library python-hachoir-metadata - Program to extract metadata using Hachoir library python-id3 - Python module for id3-tags manipulation python-kaa-metadata - Media Metadata for Python python-mmpython - Media Metadata for Python python-musicbrainz - Second generation incarnation of the CD Index - python bindings python-osd - Python bindings for X On-Screen Display library python-pykaraoke - free CDG/MIDI/MPEG karaoke player python-pymad - Python wrapper to the MPEG Audio Decoder library python-pynjb - python wrapper for libnjb python-pysnmp-se - speed enhanced Python SNMP library for agents and managers python-tagpy - Python module for manipulating tags in music files python-tksnack - Sound functionality extension to Tcl/Tk and Python/Tkinter - Python library python-tunepimp - Python bindings for MusicBrainz tagging library Since the error appears to be related to getting info about the MP3s, or creating the MP3s in the first place, you may want to try this on the command-line (on Ubuntu): sudo apt-get install python-eyed3 python-mmpython python-pymad python-tagpy python-id3 python-mmpython Just to make sure all the stuff that works with MP3s is installed. Again, I don't use pyvnc2swf, so this isn't related to actually looking at it's dependencies, or some intimate knowledge of pyvnc2swf, specifically, just a step I might take to get it working quickly. Also, if you are using linux, I might recommend using the C version at http://www.unixuser.org/~euske/vnc2swf/ I use it on Ubuntu, with really great results. It's fast, and worked right away for me. It says on the main page that it's not as actively developed, or have as many features, but I really just want a fast, low-overhead screencast maker, and it works perfectly for that. On Wed, 2008-04-30 at 12:58 -0500, Lukasz Szybalski wrote: > Any idea why I might be getting: > > Traceback (most recent call last): > > File "/home/lucas/pyvnc2swf/edit.py", line 244, in ? > > if __name__ == "__main__": sys.exit(main(sys.argv[1:])) > > File "/home/lucas/pyvnc2swf/edit.py", line 239, in main > > mp3seek=mp3seek, mp3skip=mp3skip) > > File "/home/lucas/pyvnc2swf/edit.py", line 86, in reorganize > > builder.build(r) > > File "/home/lucas/pyvnc2swf/output.py", line 999, in build > > self.start() > > File "/home/lucas/pyvnc2swf/output.py", line 941, in start > > self.movie.info.mp3.seek_frame(0) > > File "/home/lucas/pyvnc2swf/mp3.py", line 116, in seek_frame > > needsamples = self.needsamples(t) > > File "/home/lucas/pyvnc2swf/mp3.py", line 83, in needsamples > > return int(self.sample_rate * t) + self.initial_skip > > TypeError: unsupported operand type(s) for *: 'NoneType' and 'int' > |
From: Lukasz S. <szy...@gm...> - 2008-04-30 17:58:42
|
Any idea why I might be getting: > Traceback (most recent call last): > File "/home/lucas/pyvnc2swf/edit.py", line 244, in ? > if __name__ == "__main__": sys.exit(main(sys.argv[1:])) > File "/home/lucas/pyvnc2swf/edit.py", line 239, in main > mp3seek=mp3seek, mp3skip=mp3skip) > File "/home/lucas/pyvnc2swf/edit.py", line 86, in reorganize > builder.build(r) > File "/home/lucas/pyvnc2swf/output.py", line 999, in build > self.start() > File "/home/lucas/pyvnc2swf/output.py", line 941, in start > self.movie.info.mp3.seek_frame(0) > File "/home/lucas/pyvnc2swf/mp3.py", line 116, in seek_frame > needsamples = self.needsamples(t) > File "/home/lucas/pyvnc2swf/mp3.py", line 83, in needsamples > return int(self.sample_rate * t) + self.initial_skip > TypeError: unsupported operand type(s) for *: 'NoneType' and 'int' Thanks, Lucas |
From: Lukasz S. <szy...@gm...> - 2008-04-30 03:48:15
|
I downloaded the current version of pyvnc2swf and I keep getting this error: ############################################################### #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@# #@ @# #@ ** WARNING ** WARNING ** WARNING ** WARNING ** @# #@ @# #@ YOU ARE RUNNING X11VNC WITHOUT A PASSWORD!! @# #@ @# #@ This means anyone with network access to this computer @# #@ will be able to view and control your desktop. @# #@ @# #@ >>> If you did not mean to do this Press CTRL-C now!! <<< @# #@ @# #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@# Using pygame 1.7.1release #@ @# #@ You can create an x11vnc password file by running: @# #@ @# #@ x11vnc -storepasswd password /path/to/passfile @# #@ or x11vnc -storepasswd /path/to/passfile @# #@ or x11vnc -storepasswd @# #@ @# #@ (the last one will use ~/.vnc/passwd) @# #@ @# #@ and then starting x11vnc via: @# #@ @# #@ x11vnc -rfbauth /path/to/passfile @# #@ @# #@ an existing ~/.vnc/passwd file from another VNC @# #@ application will work fine too. @# #@ @# #@ You can also use the -passwdfile or -passwd options. @# #@ (note -passwd is unsafe if local users are not trusted) @# #@ @# #@ Make sure any -rfbauth and -passwdfile password files @# #@ cannot be read by untrusted users. @# #@ @# #@ Use x11vnc -usepw to automatically use your @# #@ ~/.vnc/passwd or ~/.vnc/passwdfile password files. @# #@ (and prompt you to create ~/.vnc/passwd if neither @# #@ file exists.) Under -usepw, x11vnc will exit if it @# #@ cannot find a password to use. @# #@ @# #@ @# #@ Even with a password, the subsequent VNC traffic is @# #@ sent in the clear. Consider tunnelling via ssh(1): @# #@ @# #@ http://www.karlrunge.com/x11vnc/#tunnelling @# #@ @# #@ Or using the x11vnc SSL options: -ssl and -stunnel @# #@ @# #@ Please Read the documention for more info about @# #@ passwords, security, and encryption. @# #@ @# #@ http://www.karlrunge.com/x11vnc/#faq-passwd @# #@ @# #@ You are using the -localhost option and that is a good @# #@ thing!! Especially if you ssh(1) into this machine and @# #@ use port redirection. Nevertheless, without a password @# #@ other users could possibly do redirection as well to @# #@ gain access to your desktop. @# #@ @# #@ To disable this warning use the -nopw option, or put @# #@ the setting in your ~/.x11vncrc file. @# #@ @# #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@# ############################################################### 29/04/2008 22:42:15 x11vnc version: 0.9.3 lastmod: 2007-09-30 29/04/2008 22:42:15 Using X display :0.0 29/04/2008 22:42:15 29/04/2008 22:42:15 ------------------ USEFUL INFORMATION ------------------ 29/04/2008 22:42:15 X DAMAGE available on display, using it for polling hints. 29/04/2008 22:42:15 To disable this behavior use: '-noxdamage' 29/04/2008 22:42:15 29/04/2008 22:42:15 Wireframing: -wireframe mode is in effect for window moves. 29/04/2008 22:42:15 If this yields undesired behavior (poor response, painting 29/04/2008 22:42:15 errors, etc) it may be disabled: 29/04/2008 22:42:15 - use '-nowf' to disable wireframing completely. 29/04/2008 22:42:15 - use '-nowcr' to disable the Copy Rectangle after the 29/04/2008 22:42:15 moved window is released in the new position. 29/04/2008 22:42:15 Also see the -help entry for tuning parameters. 29/04/2008 22:42:15 You can press 3 Alt_L's (Left "Alt" key) in a row to 29/04/2008 22:42:15 repaint the screen, also see the -fixscreen option for 29/04/2008 22:42:15 periodic repaints. 29/04/2008 22:42:15 29/04/2008 22:42:15 XFIXES available on display, resetting cursor mode 29/04/2008 22:42:15 to: '-cursor most'. 29/04/2008 22:42:15 to disable this behavior use: '-cursor arrow' 29/04/2008 22:42:15 or '-noxfixes'. 29/04/2008 22:42:15 using XFIXES for cursor drawing. 29/04/2008 22:42:15 GrabServer control via XTEST. 29/04/2008 22:42:15 29/04/2008 22:42:15 Scroll Detection: -scrollcopyrect mode is in effect to 29/04/2008 22:42:15 use RECORD extension to try to detect scrolling windows 29/04/2008 22:42:15 (induced by either user keystroke or mouse input). 29/04/2008 22:42:15 If this yields undesired behavior (poor response, painting 29/04/2008 22:42:15 errors, etc) it may be disabled via: '-noscr' 29/04/2008 22:42:15 Also see the -help entry for tuning parameters. 29/04/2008 22:42:15 You can press 3 Alt_L's (Left "Alt" key) in a row to 29/04/2008 22:42:15 repaint the screen, also see the -fixscreen option for 29/04/2008 22:42:15 periodic repaints. 29/04/2008 22:42:15 29/04/2008 22:42:15 XKEYBOARD: all 28 "must have" keysyms accounted for. 29/04/2008 22:42:15 Not automatically switching to -xkb mode. 29/04/2008 22:42:15 If some keys still cannot be typed, try using -xkb. 29/04/2008 22:42:15 Also, remember "-remap DEAD" for accenting characters. 29/04/2008 22:42:15 X FBPM extension not supported. 29/04/2008 22:42:15 X display is capable of DPMS. 29/04/2008 22:42:15 -------------------------------------------------------- 29/04/2008 22:42:15 29/04/2008 22:42:15 Default visual ID: 0x23 29/04/2008 22:42:15 Read initial data from X display into framebuffer. 29/04/2008 22:42:15 initialize_screen: fb_depth/fb_bpp/fb_Bpl 16/16/2560 29/04/2008 22:42:15 29/04/2008 22:42:15 X display :0.0 is 16bpp depth=16 true color 29/04/2008 22:42:15 29/04/2008 22:42:15 Autoprobing TCP port 29/04/2008 22:42:15 Autoprobing selected port 5900 29/04/2008 22:42:15 29/04/2008 22:42:15 Xinerama is present and active (e.g. multi-head). 29/04/2008 22:42:15 Xinerama: enabling -xwarppointer mode to try to correct 29/04/2008 22:42:15 Xinerama: mouse pointer motion. XTEST+XINERAMA bug. 29/04/2008 22:42:15 Xinerama: Use -noxwarppointer to force XTEST. 29/04/2008 22:42:16 fb read rate: 4 MB/sec 29/04/2008 22:42:16 screen setup finished. 29/04/2008 22:42:16 29/04/2008 22:42:16 WARNING: You are running x11vnc WITHOUT a password. See 29/04/2008 22:42:16 WARNING: the warning message printed above for more info. 29/04/2008 22:42:16 The VNC desktop is: localhost:0 PORT=5900 ****************************************************************************** Have you tried the x11vnc '-ncache' VNC client-side pixel caching feature yet? The scheme stores pixel data offscreen on the VNC viewer side for faster retrieval. It should work with any VNC viewer. Try it by running: x11vnc -ncache 10 ... more info: http://www.karlrunge.com/x11vnc/#faq-client-caching 29/04/2008 22:42:18 Got connection from client 127.0.0.1 29/04/2008 22:42:18 other clients: 29/04/2008 22:42:18 check_access: client 127.0.0.1 matches host 127.0.0.1 Connected: localhost:5900, protocol_version=3.8, preferred_encoding=(0,) 29/04/2008 22:42:18 created xdamage object: 0x360002c 29/04/2008 22:42:18 Client Protocol Version 3.8 29/04/2008 22:42:18 Protocol version sent 3.8, using 3.8 29/04/2008 22:42:18 rfbProcessClientSecurityType: executing handler for type 1 29/04/2008 22:42:18 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8 VNC Screen: size=1280x800, name='delldebian:0.0'29/04/2008 22:42:18 Pixel format for client 127.0.0.1: 29/04/2008 22:42:18 32 bpp, depth 8, big endian 29/04/2008 22:42:18 true colour: max r 255 g 255 b 255, shift r 24 g 16 b 8 Output movie size: 1280x800 Creating movie: 'tutorial.swf': version=5, size=1280x800, framerate=12.0, compression=None 29/04/2008 22:42:18 Using raw encoding for client 127.0.0.1 Recording WAVE 'voice.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo 29/04/2008 22:42:19 client 1 network rate 100000.0 KB/sec (660410.5 eff KB/sec) 29/04/2008 22:42:19 client 1 latency: 117.9 ms 29/04/2008 22:42:19 dt1: 0.0061, dt2: 0.0001 dt3: 0.1179 bytes: 4096012 29/04/2008 22:42:19 link_rate: LR_BROADBAND - 117 ms, 100000 KB/s Aborted by signal Interrupt... 29/04/2008 22:42:25 rfbSendUpdateBuf: write: Broken pipe 29/04/2008 22:42:25 client_count: 0 29/04/2008 22:42:25 viewer exited. 29/04/2008 22:42:25 deleted 40 tile_row polling images. Writing: /home/lucas/tutorial.html... FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-liba52 --enable-libdts --enable-libgsm --enable-dc1394 --disable-debug --enable-shared --prefix=/usr libavutil version: 1d.49.3.0 libavcodec version: 1d.51.38.0 libavformat version: 1d.51.10.0 built on Jul 9 2007 22:27:18, gcc: 4.1.3 20070601 (prerelease) (Debian 4.1.2-12) Input #0, wav, from 'voice.wav': Duration: 00:00:06.3, start: 0.000000, bitrate: 1411 kb/s Stream #0.0: Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s Output #0, mp2, to 'voice.mp3': Stream #0.0: Audio: mp2, 22050 Hz, stereo, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding size= 49kB time=6.3 bitrate= 64.0kbits/s video:0kB audio:49kB global headers:0kB muxing overhead 0.000000% Using pygame 1.7.1release Reading mp3 file: voice.mp3... Input movie: version=5, size=1280x800, framerate=12fps, frames=73, duration=6.1s. Output movie size: 1280x800 Scanning source swf file: tutorial.swf... Traceback (most recent call last): File "/home/lucas/pyvnc2swf/edit.py", line 244, in ? if __name__ == "__main__": sys.exit(main(sys.argv[1:])) File "/home/lucas/pyvnc2swf/edit.py", line 239, in main mp3seek=mp3seek, mp3skip=mp3skip) File "/home/lucas/pyvnc2swf/edit.py", line 86, in reorganize builder.build(r) File "/home/lucas/pyvnc2swf/output.py", line 999, in build self.start() File "/home/lucas/pyvnc2swf/output.py", line 941, in start self.movie.info.mp3.seek_frame(0) File "/home/lucas/pyvnc2swf/mp3.py", line 116, in seek_frame needsamples = self.needsamples(t) File "/home/lucas/pyvnc2swf/mp3.py", line 83, in needsamples return int(self.sample_rate * t) + self.initial_skip TypeError: unsupported operand type(s) for *: 'NoneType' and 'int' I am following: http://wolphination.com/linux/2006/06/30/how-to-record-videos-of-your-desktop/ and I record stuff using this script: #!/bin/sh #aptitude install python-pyvncswf x11vnc x11vnc -localhost -viewonly -wait 10 -defer 10 & python ~/pyvnc2swf/vnc2swf.py -o tutorial.swf -N -S 'arecord -c 2 -fcd -t wav voice.wav' localhost:0 ffmpeg -i voice.wav -ar 22050 voice.mp3 python ~/pyvnc2swf/edit.py -o tutorial1.swf -a voice.mp3 tutorial.swf mv ~/tutorial1.swf ~/tutorial.swf rm ~/voice.wav rm ~/voice.mp3 rm ~/tutorial1.html Any idea why I keep getting this error? Lucas |
From: David K. <dav...@gm...> - 2008-04-14 19:03:21
|
Hi, I'm on Ubuntu Gutsy (7.10) and I couldn't get recordwin to work correctly. It was clipping the window wrong (seemed to be the right size, but offset by the difference between top-corner, and screen-corner, so unusable) and the syntax for x11vnc was wrong (-mouse is deprecated) so it wouldn't start the vnc server. Also the wait time for the vnc server didn't work for me, so I increased it. I wrote a GUI version that asks you for a filename, if not set, and uses a slightly different method to capture one window, which works better for me. It requires zenity (included on Ubuntu) for the file-selection dialog and the "Click Ok when you are finished capturing" , but you can just set it to a string, or comment it out, and remove the dialog, to make it behave more like recordwin. This method also allows you to move the window, and have it be tracked (It doesn't just clip, it parents the VNC server to the window.) It will end the capture if you resize, though. I added a launcher to my menubar, and it works really well, for my purposes. You can see a demo of it's output here: http://jetboystudio.com/downloads/vnc2swf.html |
From: John F. L. <jf...@ro...> - 2008-04-10 07:22:29
|
Hello, I've been reading about vnc2swf for years but just tried it out now. My test .swf has just the grey x server screen with the immobile xserver x in the middle. I think I need to initialize the x11 server for the vnc session, but I've forgotten how to do that. Can anyone help me? Thanks in any case. -- -- John Francis Lee 261/3 Thanon Sonkhongluang Soi 12 Mueang Chiangrai 57000 |
From: <lfk...@ya...> - 2008-04-09 16:09:53
|
Hi, You don't have to move any *.py to python's folder. If you're using Windows, then you should have an associotion of python executable with with the extension *.py. If you don't, click with the right mouse button and select Open with... and then select the python executable. Also select the check box to make windows remember it. If the video files are not in the current folder then you must include the path with the filenames. The command line seems right. Try to include the -t mpeg option. Regards, Luis Fernando ----- Mensagem original ---- De: Christopher Vickers <chv...@ho...> Para: vnc...@li... Enviadas: Quarta-feira, 9 de Abril de 2008 7:56:02 Assunto: [Vnc2swf-users] clipping swf / edit.py .hmmessage P { margin:0px;padding:0px;} body.hmmessage { FONT-SIZE:10pt;FONT-FAMILY:Tahoma;} Greetings, clipping: I love vbc2swf but when i use clipping, and go for like 960x508+7+147 with a total screen of 1280x800 it does the clipping, but the swf file is as big as the total screen, so I get a lot of white background. Did anybody have the same problems? edit.py and I still haven't figured out how to use edit.py. I guess I have to use the python command line, but if I enter $ edit.py -o out.mpg 11.swf it tells me that I get: FILE "<stdin>", line 1 Syntax error, invalid syntax. So what did I write wrong? and do I have to move the edit.py and out and in files to a certain folder within the python24 folder? Or can they be anywhere on the hard disk? Greetings from Helsinki Explore the seven wonders of the world Learn more! Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! http://br.mail.yahoo.com/ |
From: Christopher V. <chv...@ho...> - 2008-04-09 10:56:02
|
Greetings, clipping:I love vbc2swf but when i use clipping, and go for like 960x508+7+147 with a total screen of 1280x800 it does the clipping, but the swf file is as big as the total screen, so I get a lot of white background. Did anybody have the same problems? edit.pyand I still haven't figured out how to use edit.py. I guess I have to use the python command line, but if I enter $ edit.py -o out.mpg 11.swf it tells me that I get: FILE "<stdin>", line 1 Syntax error, invalid syntax. So what did I write wrong? and do I have to move the edit.py and out and in files to a certain folder within the python24 folder? Or can they be anywhere on the hard disk? Greetings from Helsinki _________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE |
From: <lfk...@ya...> - 2008-04-07 12:21:09
|
Hi edit.py doesn't have a user interface. It's a command line program. Open the prompt and just run edit.py to see the command options. Also check http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf.html#edit Regards, Luis Fernando ----- Mensagem original ---- De: Christopher Vickers <chv...@ho...> Para: vnc...@li... Enviadas: Segunda-feira, 7 de Abril de 2008 7:16:07 Assunto: [Vnc2swf-users] edit .hmmessage P { margin:0px;padding:0px;} body.hmmessage { FONT-SIZE:10pt;FONT-FAMILY:Tahoma;} Hello, vnc2swf is great stuff und I got it up and running, the only problem is edit.py it just wont open. I wanted to see if i could add an mp3 file, but if I double click on edit.py I can see a black screen appear but the window just closes itself, so I have no chance of working with it. I am using pyvnc2swf-0.9.3. any ideas? Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it! Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! http://br.mail.yahoo.com/ |