Jump to content
Sign in to follow this  
hijinks

Record Your desktop

Recommended Posts

I have used this to create video FAQs when I do a GUI app for clients that pay for my work. It adds that bit of professional touch

 

First we have to install the ming libraries. This lets us create flash movies. NOTE: vnc2swf does not work with ming v.3 at the time of writting this

 

wget http://unc.dl.sourceforge.net/sourceforge/ming/ming-0.2a.tgz
tar zxfv ming-0.2a.tgz 
cd ming-0.2a
make
make install
ldconfig -v

 

Now that our ming library is installed.. Lets download and compile vnc2swf which we will use to grab a vnc session and turn it into a flash movie file.

 

wget http://www.unixuser.org/~euske/vnc2swf/vnc2swf-0.4.2.tar.gz
tar zxfv vnc2swf-0.4.2.tar.gz 
cd vnc2swf-0.4.2
./configure --prefix=/usr
make
make install

 

Now that vncrec is installed. We have to start a vncserver. You can use any vncserver you want. I assume you have one up and running. So now we run the following command as the user that started the XServer

 

vnc2swf -truecolour -startrecording demo.swf localhost:1

 

Now you should have a demo.swf file in the same directory you ran that command in. NICE! You should be able to view that in a browser now or some flash viewer.

 

Now we can add some nice tags to improve our little flash file

 

-soundfile <mp3-to-play>  # That will loop a mp3 file while the demo is playing
-framerate <frames-per-sec> # will change the framerate to make it smoother or to conserve filesize

 

From there we can import it into a webpage by using the following code

 

<embed src="demo.swf" width="600" height="400" loop="false" quality="high"  pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash">

Share this post


Link to post
Share on other sites

totally cool Jy ! now all i gotta do is try it out, can you post a swf file you have created with this method here just to see what its like ?

 

cheers

 

anyweb

Share this post


Link to post
Share on other sites

will this howto work for fedora core release 3 ?

Share this post


Link to post
Share on other sites

tried in FC4 and got this error:

 

[root@js2 vnc2swf-0.4.2]# make

gcc -DHAVE_LIBZ=1 -DHAVE_LIBMING=1 -I. -DVNC_SOCKLEN_T=socklen_t -I/usr/X11R6/include -O2 -Wall -g -c argsresources.c

gcc -DHAVE_LIBZ=1 -DHAVE_LIBMING=1 -I. -DVNC_SOCKLEN_T=socklen_t -I/usr/X11R6/include -O2 -Wall -g -c colour.c

colour.c: In function

Share this post


Link to post
Share on other sites
vncviewer.h:160: error: previous declaration of 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...