Thread: [Vnc2swf-users] a possible issue that record for long time
Status: Alpha
Brought to you by:
euske
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: 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-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: 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-07-07 12:19:42
|
Yes, this article offer to us a method that linking some small flash file together. Could we set a file named method, the first file named file_01.swf, when reaching the limitation, vnc2swf can auto close the first file and continue recording to the second file file_02.swf... BTW: Yusuke, I noticed you said it can directly recording to mpeg format, would you please speci what's command and what other tools should be install, thanks! Best Regards Xudong On Fri, Jun 27, 2008 at 1:59 PM, Matthew Turner <ths...@ho...> wrote: > > 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 > > > > ------------------------------------------------------------------------- > 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-07-10 02:32:05
|
I set framerate=5, record would exit exception in 10 min, and swf file is 8.2M, nothing to record. The following is error info. [root@vt-px2 bin]# ./vnc2swf.py -n -o /root/test.swf -r 5 -P /root/.vnc/passwd l ocalhost:1 Using pygame 1.8.0release /usr/local/share/pyvnc2swf-0.9.3/pyvnc2swf/image.py:45: RuntimeWarning: use mixe r: No module named mixer pygame.mixer.quit() Connected: localhost:5901, protocol_version=3.8, preferred_encoding=(0, -232, -2 39) VNC Screen: size=1024x768, name='vt-px2:1 (root)' Output movie size: 1024x768 Creating movie: '/root/test.swf': version=5, size=1024x768, framerate=5, compres sion=None Traceback (most recent call last): File "./vnc2swf.py", line 581, in ? if __name__ == "__main__": main(sys.argv[1:]) File "./vnc2swf.py", line 569, in main merge=merge, debug=debug) File "./vnc2swf.py", line 421, in vnc2swf stream.close() File "/usr/local/share/pyvnc2swf-0.9.3/pyvnc2swf/output.py", line 502, in clos e self.writer.write_file(self.output_frames) File "/usr/local/share/pyvnc2swf-0.9.3/pyvnc2swf/swf.py", line 789, in write_f ile assert not self.fpstack, 'nonempty fpstack: %r' % self.fpstack AssertionError: nonempty fpstack: [<open file '/root/test.swf', mode 'wb' at 0xb 718b7b8>] On Mon, Jul 7, 2008 at 8:19 PM, Hao, Xudong <hao...@gm...> wrote: > Yes, this article offer to us a method that linking some small flash file > together. Could we set a file named method, the first file named > file_01.swf, when reaching the limitation, vnc2swf can auto close the first > file and continue recording to the second file file_02.swf... > > BTW: Yusuke, I noticed you said it can directly recording to mpeg format, > would you please speci what's command and what other tools should be > install, thanks! > > Best Regards > Xudong > > > On Fri, Jun 27, 2008 at 1:59 PM, Matthew Turner <ths...@ho...> > wrote: > >> >> 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 >> >> >> >> ------------------------------------------------------------------------- >> 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: Yusuke S. <yu...@cs...> - 2008-07-12 07:18:29
|
On Mon, 7 Jul 2008 20:19:50 +0800, "Hao, Xudong" <hao...@gm...> wrote: > > BTW: Yusuke, I noticed you said it can directly recording to mpeg format, > would you please speci what's command and what other tools should be > install, thanks! I forgot it's only an experimental feature I did locally and I haven't tested it much. Now I uploaded the changes to CVS, so here's the instruction: 1. Install a package called pymedia (www.pymedia.org). 2. do the following: $ cvs -d:pserver:ano...@vn...:/cvsroot/vnc2swf login $ cvs -d:pserver:ano...@vn...:/cvsroot/vnc2swf co pyvnc2swf 3. cd to pyvnc2swf/pyvnc2swf/ directory and you should be able to recording: $ ./pyvnc2swf.py -n -o out.mpeg :0 Again, this feature is still pretty much experimental. I don't have a time to test/check the correctness of the output right now... Yusuke |