Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Record Your desktop
#1

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

 



Code:
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.

 



Code:
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

 



Code:
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

 



Code:
-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

 



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">




Reply
#2

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

Reply
#3

[/url]http://homer.meso.com/crap/demo.swf

 

Here it is embeded in html.. looks much better

 

[url=http://homer.meso.com/crap/test.html]http://homer.meso.com/crap/test.html

 

i'd have to re-size my vncserer's desktop in order for it to look better.

Reply
#4
will this howto work for fedora core release 3 ?
Reply
#5
it should
Reply
#6

nice!

 

got my mouse doing an act [img]<___base_url___>/uploads/emoticons/default_laugh.png[/img]

it worked on FC3!

Reply
#7
hijinks, how did you just get it to show a certian part of the screen not the whole thing?
Reply
#8

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

Reply
#9
Quote:
Code:
vncviewer.h:160: error: previous declaration of
Reply
#10
Another program you could use is called Wink: www.debugmode.com/wink
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)